' Get the property that contains the value of the folder to delete. Here is the entire script that I am using: So what else can cause this error as I use this code in a different project and it seems to work correclty?Īlso if there is a better way to handle the deletion of folders and files created by the app then let me know about them. MsgBox "The folder " & oFolder & " should now be deleted.", vbInformation MsgBox "The folder " & oFolder & " exists so now to delete it.", vbInformation Now it states that the Path is not found, but I do not think that is the exact error as my code does a check for the existance of the folder before deleting it. Custom action DeleteFolderCA script error -2146828212, Microsoft VBScript runtime error: Path not found Line 26, Column 2." Contact your support personnel or package vendor. A script required for this install to complete could not be run. "There is a problem with this Windows Install package. When I run the custom actions I get the following 1720 error: So I figured that I would simply create a quick VBScript that will check for the existance of these folders and have them deleted on uninstall. I have an install that will an app that when run will generate a bunch of new folders and files under it main install directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |