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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Use a condition of REMOVE~="ALL" for the custom action that will execute the BOB.EXE file.
Answered 09/18/2008 by: AngelD
Red Belt

Please log in to comment
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
Answered 09/19/2008 by: vijaykodali
Senior Yellow Belt

Please log in to comment
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.
Answered 09/19/2008 by: kiptek
Second Degree Green Belt

Please log in to comment
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.
Answered 09/21/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity