Second destination

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

Second destination

Postby JLavalley » Fri Jan 23, 2009 5:48 pm

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:

Postby CandiceJones » Sat Jan 24, 2009 6:41 am

With a custom dialog that contains fields for both paths or two custom dialogs which allow you to enter them individually.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

JLavalley
Posts: 6
Joined: Fri Jan 16, 2009 11:54 am

Postby JLavalley » Mon Jan 26, 2009 12:24 pm

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:

Postby CandiceJones » Mon Jan 26, 2009 4:49 pm

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

Let me know if you need instructions still.
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

JLavalley
Posts: 6
Joined: Fri Jan 16, 2009 11:54 am

Postby JLavalley » Wed Jan 28, 2009 2:04 pm

Instructions would be great.

Thanks

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

Postby CandiceJones » Thu Jan 29, 2009 10:54 am

I can provide these, along with a sample project actually which contains everything built-in, immediately after your Studio purchase.
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

anumo
Posts: 12
Joined: Mon Jul 12, 2010 6:30 am

Re: Second destination

Postby anumo » Wed Jul 14, 2010 2:03 am

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

Postby mills » Wed Jul 14, 2010 5:08 pm

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.


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 29 guests