How to suppress unneeded InstallShield InstallScript MSI dialogs?
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? 开发者_StackOverflow Under 'User Interface', the 'All Dialogs' tree lists those dialogs, but they are all grayed out, and cannot be disabled or changed.
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
.
Namely - you can not to delete a dialogue. But you can to hide it
For this, in the perameters of visibility of whole of unwanted dialogue window you need to change it from "visible" to "hidden".
Profit!
精彩评论