Initial Folder for Select Custom Folder

Got a problem you cannot solve? Try here.
Post Reply
Ron San Martino
Posts: 5
Joined: Tue May 20, 2008 7:08 pm

Initial Folder for Select Custom Folder

Post by Ron San Martino »

When using the Select Custom Folder action for a button, I would like to be able to set the initial folder when the Browse for Folder dialog is displayed. Currently it starts in Desktop\My Documents.

For example, I have a variable called IMPORT_FOLDER set to C:\Test. On my dialog, I have named the browse button IMPORT_FOLDER and set its action to Select Custom Folder. During the install, when the button is pressed and the Browse for Folder is displayed, I would like it to start in C:\Test.

Is there a way to do this?
chintanpatel7
Posts: 21
Joined: Thu Feb 16, 2012 11:02 pm

Initial Folder for Select Custom Folder

Post by chintanpatel7 »

I also have same question.

Whenever I click on Browse button with the property “Perform Action = Select Custom Folder” it always starts browsing from Desktop folder.
How can I select another initial folder to start browsing for destination folder?

For example I have default value for target directory is C:\Program Files\Test.
Now when I click on Browse button, the select custom folder window should show my current target directory as the initial selected folder.

Again, is there a way to do this?

One more question: what is the difference between Perform Action Select Custom Folder and Select Target Folder?

Thanks
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Initial Folder for Select Custom Folder

Post by FrancescoT »

Dear User,

Unfortunately, actually you can not do that unless that you create a dialog and call it externally as could be done with a dll.

One more question: what is the difference between Perform Action Select Custom Folder and Select Target Folder?
The former is for a custom variable whereas the latter is for $TARGETDIR$

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply