Old 15th October 2005, 19:25   #1
safl
Junior Member
 
Join Date: Oct 2005
Posts: 13
Multiple directories in page directory

Hello!

I'm quite new to NSIS. I would like to be able to add multiple destination directories to my installer is this possible using the standard directory page or the MUI directory page?

I would like for it to display two directory boxes in one page.

Regards,
Simon
safl is offline   Reply With Quote
Old 15th October 2005, 20:47   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Use InstallOptions. See Examples\InstallOptions and Docs\InstallOptions.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 15th October 2005, 21:00   #3
safl
Junior Member
 
Join Date: Oct 2005
Posts: 13
Is there no way to do this with the standard components?
safl is offline   Reply With Quote
Old 15th October 2005, 21:05   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
No, not two in one page. You can use two directory pages, but not two directories in one page.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 15th October 2005, 22:12   #5
safl
Junior Member
 
Join Date: Oct 2005
Posts: 13
k, thx.
I'm doing it in two pages now. Since i don't want to write it from scratch... but i guess at some point i will be forced to do it.
Thx for the fast response.
Is it possible to see the InstallOptions that MUI directory uses? So i could clone it and simply add a couple of things. Or is it hardcoded in some way?
safl is offline   Reply With Quote
Old 15th October 2005, 22:29   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The InstallOptions INI file the MUI uses is in Contrib\Modern UI. But that's just for the welcome and finish page, there's no InstallOptions INI file for the directory page. The directory page is built-in.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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