Page 1 of 1

How do you link the action of a 'browse' button to variable?

Posted: Mon Aug 27, 2007 9:34 pm
by soeinz
I have 2 separate paths that need to be selected in the destination dialog of my installer. I have duplicated the edit and browse button for the TARGETDIR and modified the edit control to link to a different variable. My question is how do I make the second browse button action change the new variable. I've tried setting its action to 'Select Custom Folder' but I cannot see where you set what the custom folder is and when I do this the second browser button does nothing (and the first, oddly enough, modifies both edit controls)

Posted: Tue Aug 28, 2007 12:44 pm
by Alex_Ronquillo
This is accomplished by setting the "Writes values to Variable" to the name of the button you pasted. See attached screenshot for an example.

File Attached:

dialog.JPG

Posted: Tue Aug 28, 2007 9:51 pm
by soeinz
Great thanks, worked perfectly