Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th June 2002, 17:40   #1
Zaraza
Junior Member
 
Join Date: Jan 2002
Posts: 30
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
Zaraza is offline   Reply With Quote
Old 5th June 2002, 06:45   #2
Smile2Me
Guest
 
Posts: n/a
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.
  Reply With Quote
Old 5th June 2002, 16:05   #3
Zaraza
Junior Member
 
Join Date: Jan 2002
Posts: 30
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.
Zaraza is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump