/build/static/layout/Breadcrumb_cap_w.png

Where to place a custom action

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

Answers (6)

Posted by: mekaywe 10 years ago
Brown Belt
0
Sequence it before AppSearch with Condition REMOVE="ALL"
Posted by: robtk 10 years ago
Senior Purple Belt
0
That gives me a Internal Error 2732.
Posted by: robtk 10 years ago
Senior Purple Belt
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?
Posted by: anonymous_9363 10 years ago
Red Belt
0
You had the CA in the wrong position. As ever, AppDeploy has the answers.
Posted by: john.pirvu 10 years ago
Senior Yellow Belt
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.
Posted by: mayur_mak 10 years ago
Senior Purple Belt
-2
hello,

u can try placing it after installfinalize in the InstallExecuteSequence with condition 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