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

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
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!
Answered 01/08/2008 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
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.
Answered 01/09/2008 by: VBScab
Red Belt

Please log in to comment
0
Copy it to the EI or ED sequence.
Just to clarify Ian's abbreviation;
EI = Execute Immediate
ED = Execute Deferred
Answered 01/09/2008 by: AngelD
Red Belt

Please log in to comment
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
Answered 01/10/2008 by: Inabus
Second Degree Green Belt

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