View Full Version : Getting Setup Type

08-26-2005, 08:56 AM
I have an InstallShield 11 Basic MSI project. In the OnEnd function, I need to retrieve the Setup Type that was selected by the user, and based on that Setup Type, perform some logic. How can I retrieve the Setup Type?

08-27-2005, 08:15 AM
Part of the problem is that the property used to store the setup type (_IsSetupTypeMin, I think) is a private property, meaning its value will be discarded when execution switches from the UI sequence to the Execute sequence. You could perhaps change that property throughout the project, or make up your own new public property based on the user's setup type selection.

Another issue you might run into is that it's difficult to get property values during deferred execution; this tip might help: http://www.installshield.com/news/newsletter/0308-articles/CustomActionData.asp.