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!

EllosGroup
Posts: 8
Joined: Thu Jul 24, 2014 4:19 pm

Execute script during uninstall

Hello,

I need to execute a script only during uninstall but I can't find a way to do so. Is it possible?

Regards,
Carl
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Execute script during uninstall

Hi Carl,

In order to achieve that, you can add your script in the Custom Actions page using the predefined Launch attached file custom action with sequence. Using this type of custom action you can execute an application (EXE or DLL) or run a script (VB or Java script) which is not among your project files.

Since you want to execute this custom action only on the Uninstall process, you can select this from the Custom Actions Properties.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”