+ Reply to Thread
Results 1 to 8 of 8

Thread: Problem with Set Feature State (v8.1.4227)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Unregistered Guest

    Default Problem with Set Feature State (v8.1.4227)

    Hello,
    I am trying to have 2 different setup types. (User, IT)
    I want to have different features based on the setup type defaulted in the custom box.
    (i.e. I have 10 features, 5 desktop, 5 server) A user can have all 10 if they want, but we want to default the custom install dialog box based on their choice. In my example below I changed it to 2 features to keep it simple.


    So in my script I have the below

    Loop Wizard (Abort Dialog Active)
    If %_SB_DIALOGID% Equals "4" Then
    If %_SB_SETUPTYPEID% Equals "VFCLIENTSETUP" Then
    Display Message Box "%CUSTOM_PLATFORMTYPE%" -- "test"
    Set Feature State(Enable: "VF_CLIENTAPP") [Global Reset]
    Set Feature State(Disable: "VF_DBMANAGER") [Global Reset]
    Refresh Next Dialog
    End
    If %_SB_SETUPTYPEID% Equals "VFSERVERSETUP" Then
    Display Message Box "%_SB_SETUPTYPEID%" -- "test2"
    Set Feature State(Enable: "VF_DBMANAGER") [Global Reset]
    Set Feature State(Disable: "VF_CLIENTAPP") [Global Reset]
    Refresh Next Dialog
    End
    End
    End


    So the script works correctly, as I hit next on my setup type dialog depending on my choice the correct "default" selections are made in my custom install dialog box. However if I back up, and change the type, the changes are not reflected in the custom install dialog (I do get the messages) and the %_SB_FEATURESID% does change (I am not changing it directly, but I was message boxing them out and it does seem to change), but the program doesn't seem to apply the changes since the components are not installed, file sizes in the ready to install dialog still reflect the original choice etc.

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

    Default Re: Problem with Set Feature State (v8.1.4227)

    Hello,

    Would it be possible to send a simple .sb8 demo project to support [at] lindersoft [dot] com? Unfortunately, we can't reproduce the issue here.

    Thanks,
    Friedrich

  3. #3
    Unregistered Guest

    Default Re: Problem with Set Feature State (v8.1.4227)

    Quote Originally Posted by linder View Post
    Hello,

    Would it be possible to send a simple .sb8 demo project to support [at] lindersoft [dot] com? Unfortunately, we can't reproduce the issue here.

    Thanks,
    Friedrich

    Thanks Freidrich!!!, its been sent from kconner.

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

    Default Re: Problem with Set Feature State (v8.1.4227)

    Received, thank you !!! IMO, it's a bug in the SB installer runtime. Item in review and I'll keep you posted.

    Friedrich

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

    Default Re: Problem with Set Feature State (v8.1.4227)

    As far as we can see, the Custom Setup dialog does not receive the update event. But we still don't understand what causes it. Item still in review.

    Friedrich

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

    Default Re: Problem with Set Feature State (v8.1.4227)

    I think we have fixed it. It was caused by a multiple bug issue in the runtime. Doing regression testing of the affected modules now.

    Thank you for bringing this to our attention!

    Friedrich

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

    Default Re: Problem with Set Feature State (v8.1.4227)

    Currently running more stress tests. We'll make a new test version available tomorrow.

    Friedrich

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

    Default Re: Problem with Set Feature State (v8.1.4227)

    Ken,

    We have uploaded a new test version. Does this fix the issue?

    http://www.lindersoft.com/sb8/sb81_4363_Dev.exe

    Thank you for your help!

    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
  •