+ Reply to Thread
Results 1 to 3 of 3

Thread: Installation Folder

Hybrid View

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

    Default Installation Folder

    I'm playing with SB5 here, and I want to set the installation folder before the dialogue window appears, based on the feature installed.

    My loop wizard is as such:

    LOOP WIZARD
    WIZARD AUTOBREAK
    IF FEATURE "SERVER" SELECTED THEN
    SET VARIABLE %_SB_INSTALLDIR% to C:\[PRODUCTNAME]
    ELSE
    SET VARIABLE %_SB_INSTALLDIR% to %PROGRAMFILESDIR%\[PRODUCTNAME]
    END
    END

    But when it shows the destination dialogue it shows the correct folder when the first Setup Type selected, but if you choose back and select a different Setup Type the destination dialogue doesnt change, yet if you continue the Ready to Install dialogue shows the correct setting.

    Any ideas on solving this or is it a bug? It's probably me I know lol

  2. #2

    Default Re: Installation Folder

    Sorted, in the script I added an IF %SB_DIALOGID% EQUALS 2, then set the value I wanted and jsut before the END I added a REFRESH NEXT DIALOG

    But was this the correct way to do this???

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

    Default Re: Installation Folder

    Yes, this is the correct way

    Thanks,

+ 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. Installation Folder
    By slimboywynn in forum SetupBuilder
    Replies: 5
    Last Post: 07-15-2005, 11:06 AM
  2. Firebird Silent install
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 4
    Last Post: 04-19-2005, 09:39 AM
  3. SB5: Remember Installation Folder Between Installs??
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 14
    Last Post: 02-05-2005, 09:29 AM
  4. Remember Installation Folder Between Installs?
    By dblayout in forum SetupBuilder 'How Do I' Questions
    Replies: 1
    Last Post: 02-02-2005, 01:41 PM
  5. Remember Installation Folder Between Installs?
    By dblayout in forum SetupBuilder 'How Do I' Questions
    Replies: 0
    Last Post: 02-02-2005, 01:11 PM

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
  •