I am trying to run a custom action on uninstall. I am running an executable that was installed as part of the installation. I do not see the executable to run when I uninstall my application. Here is the screen shot of my setting:
Attachments
Screen Shot 2012-10-15 at 2.55.25 PM.png (98.97 KiB) Viewed 2254 times
Thank you for your interest in Advanced Installer.
Please keep in mind that on Windows Vista or above the related custom action may require elevation rights in order to run. So, you may encounter this behavior if you are running your package on a Windows Vista or above operating system and the custom action is set as immediate.
Can you schedule your custom action after "Install Execution Stage" -> "Preparing" action group and set it as "Deferred with no impersonation" and tell us if the behavior still persist?
Also, please keep in mind that in the "Command" field, from "Custom Action Properties" right pane, you should set only the command line parameters (i.e. -uninstall) without the path of your exe file.
FOLLOW US
Get the latest news in Application Packaging