+ Reply to Thread
Results 1 to 4 of 4

Thread: Selecting a Feature on a script

  1. #1

    Default Selecting a Feature on a script

    Hi again,

    I'm currently using the following code to select (i.e. turn on) a feature after returning from a checkbox window:

    If %CHECKBOXRESULT% Equals "1" on Position "1" Then
    Set Variable %_SB_FEATURESID% to "_0008_|"
    End

    Afterwards, I can do:
    If Feature "ASA" selected Then
    Display Message Box "ASA OK\n" -- "ASA"
    End

    And it works! However, it appears that the feature is not actually getting installed.

    Could you please confirm if this is the proper way to turn on a feature under script control?
    Thanks,
    Edgard

  2. #2

    Default Re: Selecting a Feature on a script

    I forgot to say that "8" is the ordinal number of the ASA feature... As confirmed by the fact that the message box does display saying the feature is selected....

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

    Default Re: Selecting a Feature on a script

    Edgard,

    Please don't do this! This is from the script:

    Warning: It is not recommended to manually modify the %SB_FEATURESID% variable!

    It's not possible to enable/disable features from within the script!

  4. #4

    Default Re: Selecting a Feature on a script

    Hi Friedrich,
    Thanks for the feedback. I hope you add this feature soon!!

    I don't want to use If statements to install files because I don't want to have to manually edit these when I add new files to the install....

    Edgard

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SetupBuilder 5.5 Developer Edition is released!
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 13
    Last Post: 08-30-2006, 12:09 AM
  2. SetupBuilder 5.5 Developer Edition is released!
    By linder in forum Lindersoft Announcements
    Replies: 0
    Last Post: 08-14-2006, 04:36 AM
  3. SetupBuilder 5.5 Update Information [July 11, 2006]
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 07-13-2006, 07:04 AM
  4. SB5 Professional Edition (build# 1020)
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 01-22-2005, 09:03 AM
  5. SetupBuilder 5 Beta (build #883)
    By linder in forum SetupBuilder
    Replies: 1
    Last Post: 09-04-2004, 05:56 AM

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
  •