This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- It Works!
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 21, 2012
12:34 PM
BASIC MSI - Check If SILENTMODE
Hello,
I created a Basic MSI package using IS 2012.
I am unable to test silent install with the following statement:
if (MODE = SILENTMODE) then 😞
Can you please provide an easy way to check for SILENTMODE.
Thank you.
I created a Basic MSI package using IS 2012.
I am unable to test silent install with the following statement:
if (MODE = SILENTMODE) then 😞
Can you please provide an easy way to check for SILENTMODE.
Thank you.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 22, 2012
08:48 AM
You could check the UILevel property; since it's a property it can be used in a condition on something, or can be checked from code.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 23, 2012
02:05 PM
Thank you.
To test for silent install for BASIC MSI I did the following:
1. Go to:
2. Select Custom Action you wish run only on silent install
Use condition UILevel <> 2 if you wish to run the custom action during interactive mode only (skip action during silent mode).
To test for silent install for BASIC MSI I did the following:
1. Go to:
Behavior and Logic
--> Custom Actions and Sequences
2. Select Custom Action you wish run only on silent install
In my case I used Install Exec Sequence
Add or append to the Condition:
UILevel = 2
Use condition UILevel <> 2 if you wish to run the custom action during interactive mode only (skip action during silent mode).