|
|
#1 |
|
Junior Member
Join Date: Apr 2001
Posts: 6
|
Is there a way to disable the Custom install type?
What I need is for each InstType to only be allowed to have specific sections. For example: InstType "Typical" InstType "Typical w/ Eval Server" InstType "Typical w/ Stage Server" Section "Kenamea Desktop Software" SectionIn 1,2,3 ... Section "Eval Server Support" SectionIn 2 ... Section "Stage Server Support" SectionIn 3 ... Where "Typical" can only have "Kenamea Desktop Software" selected, OR "Typical w/ Eval Server" can only have "Kenamea Desktop Software" and "Eval Server Support" selected, OR "Typical w/ Stage Server" can only have "Kenamea Desktop Software" and "Eval Server Support" selected. thanks a lot, mike rizzi |
|
|
|
|
|
#2 |
|
Banned
Join Date: Jul 2000
Posts: 11,361
|
?
Shouldn't what you have work anyway? |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2001
Posts: 6
|
Sadly, no.
Ideally, I was looking for a way to *only* allow one of the Installation Types. In other words, disallow the user from selecting more than the sections associated with that InstType. In my case, I didn't want to allow the user to select both "Eval Server" and "Stage Server," it needed to be one or the other. After looking at the source code, I couldn't find a way to disable the "Custom" InstType, so I created a workaround that involved inserting some custom C++ code into main.c of exehead and writing a conditional NSI file. Unfortunately, it isn't generic enough code to submit to Jason for possible inclusion in the main NSIS code path. I'll need to think of a better approach for that. thanks, mike rizzi p.s. FYI, y'all can add Kenamea (www.kenamea.com) to your list of companies that is using NSIS. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Apr 2001
Posts: 6
|
I just noticed that rev 1.2g has
* Added /NOCUSTOM switch for InstType Cool! Thanks Jason, et al. mike |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|