+ Reply to Thread
Results 1 to 4 of 4

Thread: Default to "upgrade" radiobutton in Setup?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Question Default to "upgrade" radiobutton in Setup?

    Hi,

    we have a setup that, if started with a path as argument to the OurSetup.exe, should set the Upgrade radiobutton as the default choice instead of New.

    First I tried to set the %_SB_SetuptypeID% based on controlling the argument by using the Get System Info(CommandLine) - function. This doesn't work since it looks like this ID is automatically set to "New" when entering the "acceptloop". By making my own "Select Setup Type - dialog" containing two radiobuttons I finally managed to do what I wanted.

    But, the standard dialog for this sure looks greater and I would definitely want to use this instead if possible. Another issue is that the summary on the last page of the wizard now doesn't say if the user runs New or Update.

    So, is there any way of controlling the SetupTypeID? Any help is very appreciated!

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Default to "upgrade" radiobutton in Setup?

    Hello,

    Just use the "Set Active Setup Type..." script function and you are done. For example, to set the default to the "Minimal" type (2nd radio button) you only add:

    Set Active Setup Type to "Minimal"

    See attached screenshot.

    Does this help?

    Friedrich
    Attached Images Attached Images  

  3. #3

    Thumbs up Re: Default to "upgrade" radiobutton in Setup?

    That did it! Thanks a lot!

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Default to "upgrade" radiobutton in Setup?

    You are welcome

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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