mruno
13th October 2001 16:07 UTC
suggestion and question
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
DuaneJeffers
13th October 2001 16:25 UTC
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
Pomflain
14th October 2001 05:25 UTC
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?
mruno
14th October 2001 16:56 UTC
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 :confused:
justin
15th October 2001 18:45 UTC
There is an easy solution:
instead of doing:
InstallDir "C:\ircN"
do:
InstallDir "C:\ircN\"
The trailing slash tells the installer not to stick anything on the end!
Enjoy,
Justin
mruno
16th October 2001 03:29 UTC
thanx justin!
:cool: