/build/static/layout/Breadcrumb_cap_w.png

Execute program during uninstall only

Hi, How can I run an executable file during the uninstall process only?

for example I want to run BOB.EXE at the end of the uninstall but not during the install process?

easy ?

thks a lot.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: vijaykodali 15 years ago
Senior Yellow Belt
2
U can write a custom action for this

"Execute the program from installed files" and select the exe to be executed and give the command line arguments if any

the condition for this custom action should be "If Installed"

u should place the custom action in execute deferred before the Standard action that removes the installed files
Posted by: AngelD 15 years ago
Red Belt
0
Use a condition of REMOVE~="ALL" for the custom action that will execute the BOB.EXE file.
Posted by: kiptek 15 years ago
Second Degree Green Belt
0
the condition for this custom action should be "If Installed"

This will also run on repair...
Use Kim's suggestion of REMOVE~="ALL" so that it only runs on uninstall.
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
vijay you didnt read the question properly that will not work.

I want to run BOB.EXE at the end of the uninstall

yours will run it during and it doesnt really only run on uninstall either.
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