Page 1 of 1

Can I suppress InstallAware Wizard prep dialogs

Posted: Wed Jul 15, 2009 11:26 am
by cmwallace
When running an IA installer, two small dialogs pop up before the first line of MSIcode is even reached. They are both named InstallAware Wizard, and have some text about preparing the installer. Is there any way to suppress these?

On a related note, the first of these dialogs has the custom icon I specified for the project, but the second has the IA icon. I would expect both of the dialogs to have the custom icon. Is this a bug or by design?

Posted: Wed Jul 15, 2009 11:53 am
by MichaelNesmith
You can change the text using the localization tool. One of the icons cannot be changed, however.

Posted: Wed Jul 15, 2009 11:58 am
by cmwallace
But they cannot be suppressed/hidden short of making the entire installer silent with /S?

Posted: Wed Jul 15, 2009 12:32 pm
by MichaelNesmith
Of course, a silent install suppresses everything; you could even start silent and then set the pre-defined SILENT variable to FALSE on the first line of your script to "de-cloak", so to speak.

SILENT: Initial value set on the command line. TRUE if a silent install should be performed, and FALSE if not. Set the value of this variable from the script to change silent installation mode.

Posted: Wed Jul 15, 2009 12:42 pm
by cmwallace
Unfortunately, that requires passing /S manually on the command-line. We want those two dialogs to be silent without doing anything more than double-clicking the installer.

Is there any way to set silent mode in the project, or at build time, so that double-clicking the installer will hide those dialogs, and then I can de-cloak in the first line of MSIcode, as you suggest?

Posted: Wed Jul 15, 2009 3:12 pm
by MichaelNesmith
Not really, other than writing your own bootstrapper?

Posted: Wed Jul 15, 2009 3:13 pm
by cmwallace
That's what I thought. Thank you for your time and help. :)

Posted: Wed Jul 15, 2009 3:18 pm
by MichaelNesmith
A batch file could also work, BTW. :)