How to detect if in silent mode?

Got a problem you cannot solve? Try here.
Post Reply
Shmulik28
Posts: 21
Joined: Sun Jan 28, 2007 10:33 am

How to detect if in silent mode?

Post by Shmulik28 »

How can I have my Installer detect whether it is running in silent mode or not?

I want to have a checkbox ("Reboot Now") on the finish page that is preset to "true" IF the user is running the installer normally. If the installer is being pushed out the user's computer (silent installation), I do not want to have my installer reboot (as my application my be one of a series of installations occurring and the firm should control when/if to reboot).

Is there a method that my installer can check / test for that would let me know if it is being run in silent mode?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to detect if in silent mode?

Post by giaviv »

Absolutely - the SILENT variable will be set to TRUE by the InstallAware engine when a silent setup is run.

Please read the Pre-defined Variables InstallAware F1 help file for many more useful such variables!
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply