Archive: How to set default InstType


How to set default InstType
Is there a way to override which Installation Type is selected by default?

usually, it's the first one, but I would like to control that depending on the user's previous selection.

E.g. if they have a choice to install an Oracle, MS SQL Server or Sybase version of an app, the second time around I want to select by default the same installation type.

Any suggestions? I'm testing on 02.00 alpha 0


You can disable sections at runtime. This way you can adapt the sections that are selected depending on previous installations (e.g. by writing setting to the registry). The installer will automatically adjust the InstType selected to the sections selected. If the selected sections do not form an InstType, custom will be selected.

-Hendri.


Yeah, but I don't want to disable them, I just want to select a different one as a default.

It's quite normal for example for a client who was once on Sybase to move on to Oracle during an upgrade. If the registry settings would force them to only select Sybase, that wouldn't work too well...

Also, I disable custom using
InstType /NOCUSTOM

BTW, I noticed a small bug in 02.00 with this. Even though I have no custom, all the un-selected sections for each InstType do not show using disabled bitmaps. Therefore, the user thinks he/she can click on them, even though they can't.