/build/static/layout/Breadcrumb_cap_w.png

Calling a CA in Defered/Immediate

Can anyone tell me the way how to call a Custom action which is there in the UI should run if it is installed through the /qn command line

0 Comments   [ + ] Show comments

Answers (4)

Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
ORIGINAL: premnath_p_r

Can anyone tell me the way how to call a Custom action which is there in the UI should run if it is installed through the /qn command line


Premanth, if I understand your question correctly, you want to condition a custom action based on UI level. Investigate the UILevel property, which is a built-in Windows Installer property.

Good luck!
Posted by: anonymous_9363 16 years ago
Red Belt
0
I read the post as 2 questions:
- does a CA in the UI sequence if the command-line switch '/QN' is used
No. That's what the 'N' means - no UI
- how do I get a CA which is ONLY in the UI sequence to run if the command-line switch '/QN' is used
Copy it to the EI or ED sequence. If using Wise, it will add a number to the end of the CA name.

What does the CA do? Where it's best placed depends on what it does.
Posted by: AngelD 16 years ago
Red Belt
0
Copy it to the EI or ED sequence.
Just to clarify Ian's abbreviation;
EI = Execute Immediate
ED = Execute Deferred
Posted by: Inabus 16 years ago
Second Degree Green Belt
0
Having a custom action solely in the InstallUISequance would not run under /qn conditions as the UI sequance is not run at all.

If you wanted this custom action to run under /qn conditions you would have to put it under the InstallExecuteSequance, I looked around at the back end of last year for something similar as I wanted to show a dialog box to the user asking for information during a /qn install, of course this wouldnt work as the UISequance isnt initiated.

P
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