safl
15th October 2005 20:25 UTC
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
kichik
15th October 2005 21:47 UTC
Use InstallOptions. See Examples\InstallOptions and Docs\InstallOptions.
safl
15th October 2005 22:00 UTC
Is there no way to do this with the standard components?
kichik
15th October 2005 22:05 UTC
No, not two in one page. You can use two directory pages, but not two directories in one page.
safl
15th October 2005 23:12 UTC
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?
kichik
15th October 2005 23:29 UTC
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.