Second destination

For all your non-technical questions.
Post Reply
JLavalley
Posts: 6
Joined: Fri Jan 16, 2009 11:54 am

Second destination

Post 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 ?
CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Post by CandiceJones »

With a custom dialog that contains fields for both paths or two custom dialogs which allow you to enter them individually.
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
JLavalley
Posts: 6
Joined: Fri Jan 16, 2009 11:54 am

Post 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.
CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Post by CandiceJones »

You don't need Admin, you can do this with Studio as well.

Let me know if you need instructions still.
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
JLavalley
Posts: 6
Joined: Fri Jan 16, 2009 11:54 am

Post by JLavalley »

Instructions would be great.

Thanks
CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Post by CandiceJones »

I can provide these, along with a sample project actually which contains everything built-in, immediately after your Studio purchase.
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
anumo
Posts: 12
Joined: Mon Jul 12, 2010 6:30 am

Re: Second destination

Post 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 ...
Evaluating InstallAware ...
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Second destination

Post 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.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply