cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JoeGuzman10
Level 3

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.
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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.
0 Kudos
JoeGuzman10
Level 3

Thank you.

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).
0 Kudos