Dizzy007
29th October 2002 13:45 UTC
Changing "Install-dir text"
NSIS 1.98
=========
Hi All,
is it possible to change the following textsting (found in build.cpp - line 1139)
wsprintf(buf,"Select the directory to install %s in:",build_strlist.get()+build_header.common.name_ptr);
to "whatever i want" without recompiling NSIS ???
See the screen ..
Thanks
Dizzy
:)
kichik
29th October 2002 14:17 UTC
That's what you have DirText for ;)
Dizzy007
29th October 2002 15:14 UTC
Yes - you're right ...
Originally posted by kichik
That's what you have DirText for ;)
Yes - clear ...:confused:
I thought about a possibility to use this function to select a directory to fill with other files ...
Example :
- search all *.bat files and store it in THIS dir .. and i want to browse my hd for a dir or share ...
Any idea?
:)
Thanks Dizzy
kichik
29th October 2002 15:28 UTC
Do you want the DirText to be dyanamic? DirText "bla $0 bla" for example? That's not possible in your version of NSIS.
Dizzy007
30th October 2002 08:02 UTC
OK - kick my first question away...
I want to have the same funtionality as in the "install section".
I want to have the "browse" function to choose a directory for other actions.
Sorry for the chaos
Dizzy
:cool:
kichik
30th October 2002 14:11 UTC
Then you will have to create an InstallPage with a browse button.
Dizzy007
31st October 2002 08:28 UTC
Originally posted by kichik
Then you will have to create an InstallPage with a browse button.
Sorry - i haven't found any command for a "browse"-button :(
Can you help me with a pice of code ?? :)
Thanks
Dizzy
kichik
31st October 2002 13:18 UTC
I am sorry, I meant InstallOptions page. You can find some documentation about InstallOptions in Contrib\InstallOptions.