Browse Dialogs

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

Browse Dialogs

Post by jimprow »

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:

Post by CandiceJones »

Just dissociate the control from the TARGETDIR variable, and assign it to another variable.
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jimprow
Posts: 4
Joined: Mon Jun 26, 2006 5:17 pm

Post by jimprow »

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: 260
Joined: Thu Mar 17, 2005 4:02 am
Location: Germany
Contact:

Post by casic »

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
Install[b]Aware[/b] MVP
[i]If it can't be done with InstallAWARE then you are not using Windows[/i]
CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Post by CandiceJones »

When you say it should, did you correctly enter that variable in the "Writes Values to Variable" field?
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jimprow
Posts: 4
Joined: Mon Jun 26, 2006 5:17 pm

Post by jimprow »

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:

Post by CandiceJones »

Great. Did you also pre-declare this variable before calling the dialog?
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jimprow
Posts: 4
Joined: Mon Jun 26, 2006 5:17 pm

Post by jimprow »

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:

Post by CandiceJones »

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
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply