Page 1 of 1

make an empty folder

Posted: Wed Dec 22, 2010 1:44 am
by jwendell
I do not see an easy way to create a new, empty folder. Do I need to use the system->commands section?
Thanks!

Re: make an empty folder

Posted: Wed Dec 22, 2010 5:22 am
by Leo
To create an empty folder you just need to add the following command on the System/Commands tab:

Code: Select all

Command: <SystemDir>\cmd.exe
Parameters: /C mkdir "<InstallDir>\New Folder"
Show: Normal
Timing: After Installation

Re: make an empty folder

Posted: Wed Dec 22, 2010 7:12 am
by jwendell
Very similar to what I implemented, I used "md" instead of "mkdir". I just wanted to make sure that I wasn't missing something easier.

Now, making this a little harder...
Is there a technique where I can request the data location from the installer? I know I can use dialogs->user information->custom field. But this requires that the installer type the location, which could lead to errors. Is there a simple way to include an open dialog to point to an existing location as a base path? I'm thinking that I will need to use a windows script to accomplish this. Any ideas?

Thanks much.

Re: make an empty folder

Posted: Sat Dec 25, 2010 10:13 am
by Leo
Unfortunately, this feature is not supported.