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!

dexter_v
Posts: 23
Joined: Sat Nov 22, 2014 5:25 pm

Adding custom action for uninstallation

Hello,

I've an installer which installs the below files to the system.
For eg: abc.exe, x1.dll, x2.dll, x3.dll, uninstallcleanup.exe

For Uninstallation I've added uninstallcleanup.exe to the custom action, which has got reference to x3.dll.

After installation when I'm trying to uninstall the app, I'm getting error and the uninstallation stops, can you please guide me with the right steps
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Adding custom action for uninstallation

Hello,

If you are trying to launch during uninstall an installed file using a custom action, then please make sure that the custom action was added before the "Install Execution Stage -> Remove Resources" action group. Otherwise, the target file (i.e. uninstallcleanup.exe) won't be available when the custom action is triggered.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”