Reply to Thread

Post a reply to the thread: How to Programmatically Select a Feature for the User

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 04-20-2011, 05:54 AM
    linder

    Re: How to Programmatically Select a Feature for the User

    Nick,

    This functionality is not available yet, but on the ToDo list.

    Friedrich
  • 04-19-2011, 03:42 PM
    NickGood

    How to Programmatically Select a Feature for the User

    Hi,

    In my SetupBuilder program I several features that can be installed. All are visable, not required, or installed by default.
    I'm trying to conditionally select a feature to be installed if one of the other features is installed.
    i.e.
    If Feature A is selected, and Feature B is not already selected, then select Feature B for the user.

    Is there a way to do this? I see that I'm not supposed to modify %_SB_FEATURESID%. So far all that I have seen are old posts stating that this functionality will be available in version 7.2+. I am currently using 7.3.3228

    Here's a sample of my code:

    If %_SB_DIALOGID% Equals "3" Then
    If Feature "A" selected Then
    If Feature "B" not selected Then
    ???Programmatically make Feature "B" selected???
    End
    End
    End

    Thanks for any help you can provide!

    Nick

Posting Permissions

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