Update the TargerDir Memvar via a drop down box

Got a problem you cannot solve? Try here.
Doron
Posts: 20
Joined: Mon Nov 27, 2006 4:36 pm
Location: USA

Update the TargerDir Memvar via a drop down box

Postby Doron » Wed Feb 14, 2007 7:20 pm

Hi Mike,

I am trying to let the user to choose a different drive but still keep the installation folder. So I copied the Destination dialog to a new name and added a drop down list that will allow the user to select only a different drive.

For the Drop Down List I have the following:
The Receives Information says: Installation Folder
Write value to Variable is empty.

The Problem is that the TargetDir variable can not be updated via the combo box and it needs to be displayed into the Folder Text control where Enabled is False.

The strange thing that my friend is using the same dialog box with the combo and in his computer it works.

How can I make the TargetDir memvar to be updated when ever the combo box change the drive and not to loose the installation folder name?

Like to change the drive so it will be as: D:\\ABC9 and not only as D:\\
It works fine when ever I select Drive C via the combo and it is C:\\ABC9

To set up the TargetDir I do as follows:
SET Variable TARGETDIR TO $BootDrive$$MAIN_PROJECT_NAME$


Thanks,

Doron

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 235 guests