I'm writing an installer which need to get two directories from the user, one for the program and another for the data files. From the prievious post http://forums.winamp.com/showthread.php?threadid=112788 I have been able to achieve this. 🙂
However i would like to specify a diffrent default path for the second dialog.
On another note would someone be able to provide a sample script on how to use the GetDlgItem and SendMessage functions to modify the descriptions on the second dialog.
Thanks,
Vytautas
Default path setting for second dir
7 posts
I've figured out the main problem 😁 , see attached script if you have a similar need, however I could not figure out how to change the header Title & Subtitle texts.
Also if there is a better way of modifying these properties could you let me know.
Also if there is a better way of modifying these properties could you let me know.
That's a great example nsi script!
Could you please post it on the NSIS Archive (nsis.sourceforge.net)under Examples.
-Stu
Could you please post it on the NSIS Archive (nsis.sourceforge.net)under Examples.
-Stu
Thanxs Afrow UK. I've now added the script to the examples page of the archive.
Vytautas
Vytautas
To change the header use the MUI_HEADER_TEXT macro in the show function of the page.
Thanxs Joost Verburg, I tried using MUI_HEADER_TEXT macro initially without much success, however I was using it in the pre function of the page, it works a lot better in the right place.
You can find the full script here
I will also attach the modified version here.
You can find the full script here
I will also attach the modified version here.
Just a note that an updated script file is available at this thread.
It deals with a minor problem with the data directory selection & UNC network paths.
Vytautas
It deals with a minor problem with the data directory selection & UNC network paths.
Vytautas