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)
Please log in to answer
Posted by:
aogilmor
16 years ago
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
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.
- 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
Posted by:
Inabus
16 years ago
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
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.
so that the conversation will remain readable.