![]() Inaccessible logs: Security.Īt (String source, String machineName, Boolean readOnly)Īt (String source, String machineName)Īt (String sourceName, String currentMachineName)Īt (String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte rawData)Īt (String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte rawData)Īt (String source, String message) > : The source was not found, but some or all event logs could not be searched. : Exception has been thrown by the target of an invocation. While if I run command prompt as administrator and then using "msiexec /i Setup.msi" command, it deletes those files and folder.Īnd when using Directory.Delete(path,true) I am getting this as exception Exception thrown by custom action: ![]() ![]() It gives this error Access to the path 'CodeCreate.aspx' is denied.Īt System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)Īt System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)Īt System.IO.DirectoryInfo.Delete(Boolean recursive)Īt (Session session) But it is unable to delete the files and folder. On selecting Yes, the installer will call the method to delete existing files and folder. When the user clicks on install, the installer prompts for UAC. I have created installer which needs to delete some files and folder if they already exists and replace with new one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |