Page 1 of 1

Second destination

Posted: Fri Jan 23, 2009 5:48 pm
by JLavalley
I have an application that requires the installer to enter 2 paths - one for the application code, and one for the resulting data... how can I prompt for the data path ?

Posted: Sat Jan 24, 2009 6:41 am
by CandiceJones
With a custom dialog that contains fields for both paths or two custom dialogs which allow you to enter them individually.

Posted: Mon Jan 26, 2009 12:24 pm
by JLavalley
Can you point me to the instructions on how to do this?

Actually... If I need the Admin version for this forget it. Too expensive.

Posted: Mon Jan 26, 2009 4:49 pm
by CandiceJones
You don't need Admin, you can do this with Studio as well.

Let me know if you need instructions still.

Posted: Wed Jan 28, 2009 2:04 pm
by JLavalley
Instructions would be great.

Thanks

Posted: Thu Jan 29, 2009 10:54 am
by CandiceJones
I can provide these, along with a sample project actually which contains everything built-in, immediately after your Studio purchase.

Re: Second destination

Posted: Wed Jul 14, 2010 2:03 am
by anumo
I have the same problem/issue to solve:

I will have an application that requires the installer to enter two paths - one for the application and one for the data ... how can I prompt for the data path including to display Remaining Disk Space correctly?

Is it possible to receive instructions and/or sample code/projekt? Thx in advance ...

Re: Second destination

Posted: Wed Jul 14, 2010 5:08 pm
by mills
For each path you want to allow users to choose:

  • Add an edit (textbox) control and a button control.
  • Double-click on the button and set its Performs Action property to Select Custom Folder.
  • Choose the associated edit control from the Control drop-down or double-click on it on the dialog editor.
  • For the edit control's Receives Information property, choose [Written Variable Value].
  • For the edit control's Writes Value to Variable property, choose <name of associated button>. So if Button1 and Edit1 are associated, then you would put "Button1" (less quotes).

Now, when the user clicks on the buttons, the paths they choose will be set to the appropriate edit controls. You can make as many of these as you like.

Note that it's best to set the text of the edit controls to blank by default.