Browse Dialogs

For all your non-technical questions.
jimprow
Posts: 4
Joined: Mon Jun 26, 2006 5:17 pm

Browse Dialogs

Postby jimprow » Tue Jun 27, 2006 6:57 am

I'm developing an install for a 3rd party product to run on top of AutoCAD. This requires me to prompt fo a destination directory for our software and then prompt for the location of AutoCAD.

I copied the Destination Directory dialog and modified the text but is is still trying to tag the Product name to the end of the path defined by the browse button. How can I disable that extra info being tagged on to the end of the path?

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

Postby CandiceJones » Tue Jun 27, 2006 11:40 am

Just dissociate the control from the TARGETDIR variable, and assign it to another variable.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

jimprow
Posts: 4
Joined: Mon Jun 26, 2006 5:17 pm

Postby jimprow » Tue Jun 27, 2006 2:16 pm

I did that when I copied the diialg and renamed the text on the dialog. I can't find the TARGETDIR defined on the of the object properties or characteristics. It shoould now be using a variable named AcadFolder.

casic
Posts: 259
Joined: Thu Mar 17, 2005 4:02 am
Location: Germany
Contact:

Postby casic » Tue Jun 27, 2006 3:52 pm

You can also use the File Dialog Plugin which offers a path selector dialog too. More information can be found here:

http://www.installaware.com/forum/viewtopic.php?t=503

cu

Markus
Markus Diettrich
InstallAware MVP
If it can't be done with InstallAWARE then you are not using Windows

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

Postby CandiceJones » Tue Jun 27, 2006 5:48 pm

When you say it should, did you correctly enter that variable in the "Writes Values to Variable" field?
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

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

jimprow
Posts: 4
Joined: Mon Jun 26, 2006 5:17 pm

Postby jimprow » Mon Jul 03, 2006 5:01 pm

I was able to get it working using the File Dialog Plugin method (thanks Markus). I would like to understand the other mathod also. I did enter the AcadFolder variable in the Writes Values to Variable" field for the edit control.

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

Postby CandiceJones » Mon Jul 03, 2006 5:09 pm

Great. Did you also pre-declare this variable before calling the dialog?
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

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

jimprow
Posts: 4
Joined: Mon Jun 26, 2006 5:17 pm

Postby jimprow » Wed Jul 05, 2006 7:45 am

Yes I set it $PROGRAMFILES$ early in the script (after the globals were defined). I figured this would be a good starting point when browsing.

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

Postby CandiceJones » Wed Jul 05, 2006 9:06 am

If you don't mind uploading your project (dialogs, MIA script, MPR project), I'll have this taken a look at, and let you know what the problem was!
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

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


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 18 guests