Hi,
Most likely the uninstaller needs another file next to it. In order to launch it successfully you can follow these steps:
- go to the
Install Parameters page and create the UNINSTALLER_FOLDER property (the value doesn't matter)
- go to the
Files and Folders page and create a property-based folder using UNINSTALLER_FOLDER
- go to the
Search page and create a search for the Uninstaller
- name the search UNINSTALLER
- go to the "Custom Actions" page and under "InstallExecuteSequence" -> "AppSearch" create a
custom action which gets the parent folder of the file
- this custom action can use the "Session.Property" method to set the UNINSTALLER_FOLDER property to the path of the folder which contains the uninstaller; for example:
Code: Select all
Session.Property("UNINSTALLER_FOLDER")=fso.GetParentFolderName(Session.Property("UNINSTALLER"))
- under the "RemoveExistingProducts" standard action create an "EXE with working Dir" custom action which is configured like this:
- Working Dir: UNINSTALLER_FOLDER
- Full Path: UNINSTALLER
- Execution Properties: Synchronous execution, check return code
- Execution Options: Immediate execution
- Scheduling Options: Always execute
- Expression: NOT Installed
Let me know if the problem persists when using this approach.
Regards,
Cosmin