views:

702

answers:

1

I have an InstallShield 2009 'InstallScript MSI' project which shows 2 dialogs which are not necessary in my installation:

Customer Information
  Setup Type

How can I disable those 2 dialogs? Under 'User Interface', the 'All Dialogs' tree lists those dialogs, but they are all grayed out, and cannot be disabled or changed.

+4  A: 

For InstallScript MSI (and for that matter, InstallScript) setups, you control which dialogs are shown by going to the InstallScript view. Insert the OnFirstUIBefore event by fiddling with the dropdowns at the top. Then figure out the pattern of gotos and which dialogs are shown, and rewire it to skip these dialogs. Generally the functions that show dialogs are named with the prefix Sd.

Michael Urman
Any idea how to disable dialogs on a Basic MSI proyect type?
Alonso
Basic MSI works completely differently. To disable everything use `/qn` or `/qb` on the command-line. For single dialogs, go into the surrounding dialogs' behavior nodes. Change the `NewDialog` events on the `Next` and `Back` buttons to refer to the following (or preceding) dialog instead of the one you want to remove. Note that sometimes there's more than one each preceding and following dialog to modify.
Michael Urman

related questions