cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ken2007
Level 3

Setup Types during uninstall problem

In our installation project. The Setup Types are immediately displayed during a first-time installation. This setup type dialog also is displayed first, after the user has already installed the application but launches the install.exe. So in effect, to uninstall the application, they have to first select the installation type, again.

Is there any way to skip the Setup Type dialog screen if the application has already been installed?

If so could you please guide me in the right direction.

Thanks.

Ken

PS: The project type is an InstallScript project.
Labels (1)
0 Kudos
(2) Replies
esiemiat
Level 9

The code that displays the dialogs in maintenance mode can be found in OnFirstMainUIBefore. You can change the code in this event so that this dialog is not shown.
0 Kudos
ken2007
Level 3

Sorry Eric, I'm a newbie to InstallShield.

I'm working with a large installshield installscript another developer designed.

I couldn't find the OnFirstMainUIBefore mentioned. I did see a Before Move Data -> OnMaintUIBefore. Perhaps this is the method? Our logic to call this Setup Type was located in the Before Move Data -> OnBegin Method.

I just had to put a
if !MAINTENANCE then
around the call.

Thanks for the help.
0 Kudos