Results 1 to 3 of 3

Thread: "Refreshing" CustomSetup dialog's Location text control

  1. #1
    randyp Guest

    "Refreshing" CustomSetup dialog's Location text control

    Hi,

    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.

  2. #2
    Join Date
    Jan 2002
    Location
    somewhere in the vicinity of Betelgeuse
    Posts
    1,088
    Use the SetTargetPath action on the Next-button of the first dialog.

    Regards,


    Rene
    October 11th - Amsterdam - Free Event ->>PackagingEvent.nl


    Visit: Professional Development Systems
    Supplier of Macrovision, Madcap Flare, VMware, Leadtools & Sitraka for the Benelux

    Training information

  3. #3
    randyp Guest

    Thumbs up

    That worked!!! Thanks!!!

    I think I tried everything but that!

    regards,
    Randy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •