FrodoH
Posts: 14
Joined: Thu Jul 21, 2011 9:39 am

How to determine if script running with no UI

I use a custom action to launch an executable. Is there a way to determine if the custom action is running silently (/qn on command line)?
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to determine if script running with no UI

Hi,

In order to determine if a MSI package is running silently, you can use the UILevel = 2 condition.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”