I'm trying to place a custom action (Execute Program From Destination) in the Execute Immediate sequence to kill a process to avoid the "Close the following applications before continuing the install" prompt. The CA only runs on uninstall and the process it kills is one the installation installed. I haven't been successful. Can someone help?
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
Sequence it before AppSearch with Condition REMOVE="ALL"
Answered 06/08/2010 by: mekaywe
Brown Belt

Please log in to comment
0
That gives me a Internal Error 2732.
Answered 06/08/2010 by: robtk
Senior Purple Belt

Please log in to comment
0
I got it to work. Instead of using the custom action (Execute Program From Destination), I used a Wisescript right before AppSearch. Thanks mekaywe.

That brings up the question - Why didn't the built-in CA work?
Answered 06/08/2010 by: robtk
Senior Purple Belt

Please log in to comment
0
You had the CA in the wrong position. As ever, AppDeploy has the answers.
Answered 06/09/2010 by: VBScab
Red Belt

Please log in to comment
-2
hello,

u can try placing it after installfinalize in the InstallExecuteSequence with condition REMOVE="ALL"
Answered 06/09/2010 by: mayur_mak
Senior Purple Belt

Please log in to comment
0
You can use a regular custom action if you want. The dialog you want to avoid is shown by InstallValidate action:
http://msdn.microsoft.com/en-us/library/aa369546(VS.85).aspx

So simply move your custom action right before InstallValidate, for example after CostFinalize.
Answered 06/12/2010 by: john.pirvu
Senior Yellow Belt

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