Announcement

Collapse
No announcement yet.

Packages: Exclusive Seletion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Packages: Exclusive Seletion

    Hi folks!

    I did some research but could not find a solution. I really hope you can help me.

    I have a "Selected Packages" dialog in my installation, containing three packages.
    How can I figure out which packages is selected (immediately after a selection has been made by the user)?

    I want to use this information to uncheck the package again, when the user checks one of the other two packages.

    Just a simple exclusive selection.
    How can I solve it with my current concept?

    Thank you in advance!

  • #2
    Hello,

    Please check SetupData.GetPackageProperties() for details... There is a field named "Install" which determines if the package is marked for installation. You can also verify which package was changed/clicked using the e_Details event variable of the On Ctrl Message script.

    However, if you have three options, and only one can be selected, then using a Radio Button screen would probably make more sense.

    Ulrich
    Last edited by Ulrich; 12-19-2014, 06:17 PM.

    Comment


    • #3
      A basic demo project is attached. It will allow the selection of a single package. As I mentioned earlier - the use of a Radio Button screen would probably be more intuitive for the end user. Using check boxes should allow multiple selections.

      Ulrich
      Attached Files

      Comment


      • #4
        Hello Ulrich!

        Thank you for your help. I will try it.
        BTW: I was not able to download the suf file. By clicking it I was redirected to the sign in page of the forum (which was successful)

        Comment


        • #5
          Originally posted by AutoPlayUser View Post
          I was not able to download the suf file. By clicking it I was redirected to the sign in page of the forum (which was successful)
          Please try again using a different browser. I just downloaded the project file successfully here, using Chrome.

          Ulrich

          Comment


          • #6
            Ulrich,

            Thank you very much! Your demo.suf works as desired for my purposes! Perfect! :-)

            Comment

            Working...
            X