Custom Action on Uninstall - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

santhosh2386
Posts: 2
Joined: Mon Oct 15, 2012 11:00 pm

Custom Action on Uninstall

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
Screen Shot 2012-10-15 at 2.55.25 PM.png (98.97 KiB) Viewed 2256 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom Action on Uninstall

Hello and welcome to Advanced Installer forums,

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.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
santhosh2386
Posts: 2
Joined: Mon Oct 15, 2012 11:00 pm

Re: Custom Action on Uninstall

Thanks for your help. Your suggestions worked for me.

Return to “Common Problems”