PDA

View Full Version : Select a folder



slimboywynn
12-13-2004, 01:26 PM
I would like to know how to go about forcing the user to select a folder, not a folder to install into but just select a folder, which is then stored in a variable and written to an ini file. Any suggestions anyone???

Colin.

linder
12-14-2004, 01:32 AM
Colin,

1. Create a new variable, e.g. Set Variable %SERVERPATH% to [NULL] (use Set Variable script item)
2. Create a Select Install Folder dialog and store folder in variable %SERVERPATH% (use Wizard Dialog: Define script item)
3. Write %SERVERPATH% to your INI file (use Edit INI File script item)

That's it ;) Does this help?

slimboywynn
12-14-2004, 04:59 AM
Looking good :)