"Refreshing" CustomSetup dialog's Location text control
In my Basic MSI installer, I have a dialog containing a RadioButton group. When the user selects one of the Radio buttons and presses the Next button, I set a system-wide variable called CLIENTPATH as an event of the Next PushButton. This CLIENTPATH variable is the destination of a feature called "Sample Applications" in my installer.
For the next dialog, I bring up the CustomSetup dialog. But when I select the "Sample Applications" feature, the Location text control displays "C:\". (In the Property Manager, CLIENTPATH is set to nothing.)
But when I select the "Sample Applications" feature and press the "Change..." button on the CustomSetup dialog, the InstallChangeFolder dialog opens up with the correct path in CLIENTPATH.
This tells me that CLIENTPATH is being set properly, but the Location text control is not being "updated" properly even though it's subscribed to SelectionPath.
How can I get the Location text control to subscribe to when I change the CLIENTPATH variable?
I also tried creating a Custom Action that calls MsiSetTargetPath for the CLIENTPATH property, but my installer hangs at that call.
Any help is appreciated. Thanks in advance.
Use the SetTargetPath action on the Next-button of the first dialog.
That worked!!! Thanks!!!
I think I tried everything but that!