|
|
#1 |
|
Junior Member
Join Date: Nov 2004
Posts: 5
|
Do I need a custom page for this ?
Hi, this is probably a newbie question and admittedly in NSIS I'm quiete new:
I use the modern ui. I'd like to permit the installer to - let the user choose where to install the main components - let the user choose whether or not he/she likes to install additional components - If additional components are selected for installation the path where to install them should be again selected by the user. With my little knowledge about NSIS/MUI I got the impression that the installer default pages (no custom pages) have the ability just... - to let the user choose one install path (e.g. for the main components). - to permit the user to (de-)select additional components for installation. So do I really need a custom page to query the install paths for the other components or did I overlook a MUI_PAGE... macro ? |
|
|
|
|
|
#2 |
|
Member
Join Date: Jan 2003
Posts: 83
|
You can insert more than one directory page.
And you can define MUI_DIRECTORYPAGE_VARIABLE (and use it later with SetOutPath). code: |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Nov 2004
Posts: 5
|
Feature request
Quote:
Are the other directory pages always shown or is there a way to show them only if the sections are chosen by the user ? If it is not possible and/or the MUI_PAGE_COMPONENTS is not able to permit the user to define different paths for each component the following feature request might be reasonable: - add a MUI_PAGE_COMPONENTS_EX which provides an edit field and a button for a "browse folders" dialog to permit the user to change the predefined outpath for the components. As a suggestion for the design: Each component in the component page is shown as an item of a tree view which has a check box next to it to permit the component to be selected for installation or not. (Exactly like in MUI_PAGE_COMPONENTS). Moreover when the user selects an item a button "Advanced Settings" gets enabled which, when pressed, opens another page which comprises the settings for the component (this might be a custom page). The "Advanced Settings" settings dialog for each component is then closed either by "OK" or "Cancel". What do you think ? |
|
|
|
|
|
|
#4 | |
|
Member
Join Date: Jan 2003
Posts: 83
|
Re: Feature request
Quote:
Like this... code: |
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Nov 2004
Posts: 5
|
Thank you very much for your reply.
The answer helped me very much. Rating: Best Does this forum support rating the answers of the users ? |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: May 2005
Location: Taranaki, New Zealand
Posts: 400
|
No, it dosen't.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|