/build/static/layout/Breadcrumb_cap_w.png

Running exe during uninstall

Hello, I simply need to run an exe ONLY during the uninstall of the MSI. I have a condition set " If Installed and Remove=ALL to allow it to run only during the uninstall. I then use the Exceute program from destination with the [INSTALLDIR] exename.exe Defualt Directory Program Files etc.... I can get it to run once if the defualt dir is choosen but not if a custom dir. is selected by the user. What am i missing?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: AngelD 15 years ago
Red Belt
0
Set the exename.exe file as keypath for its component and then use [#exename.exe] instead.
To execute the custom action only during uninstall you should use REMOVE~="ALL".
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ