Fisrt of all I want to say NSIS is the best installer system out there. I've been using it since v1.0h.
When I specify the installdir, c:\ircN, and the user browses to their ircN directory, c:\stuff\ircN, the installer then points to c:\stuff\ircN\ircN. How can I change it from doing that?
As for the suggestion can you add the ability to change the install button's text?
Thanks in advance,
-mruno
suggestion and question
6 posts
Well, don't create a new folder. In the user specified installdir, use C:\ircN, but don't create a new folder. Then just use the $INSTDIR function when in the section.
-Duane
-Duane
Hmm...
I think it sounds like you just want to change the directory to something else, perhaps to install files? If that's the case then you can do the following:
SetOutPath "$INSTDIR\Images" ;Creates a directory under whatever the user specified called "Images"
Then you can install files there just like normal.
Does that help at all?
I think it sounds like you just want to change the directory to something else, perhaps to install files? If that's the case then you can do the following:
SetOutPath "$INSTDIR\Images" ;Creates a directory under whatever the user specified called "Images"
Then you can install files there just like normal.
Does that help at all?
I want it not to add the 'ircN' directory when a user points to their ircN directory, but I do want to have c:\ircN specified as the installdir since that is the default path for ircN. If you still don't understand then make an installer with c:\ircN as the installdir and choose browse and select another directory like c:\program files\. It makes the path c:\program files\ircN which I do not want it to add the installdir as a new folder. Maybe make a default install dir variable so it won't try to make a new dir?
bleh now I've confused myself 😕
bleh now I've confused myself 😕
There is an easy solution:
instead of doing:
Enjoy,
Justin
instead of doing:
do:
InstallDir "C:\ircN"
The trailing slash tells the installer not to stick anything on the end!
InstallDir "C:\ircN\"
Enjoy,
Justin
thanx justin!
😎
😎