+ Reply to Thread
Results 1 to 2 of 2

Thread: Detect a silent or test run?

  1. #1
    Unregistered Guest

    Default Detect a silent or test run?

    Is the scripting language in SetupBuilder 5 powerful enough to detect a silent or test mode run and then act accordingly? For example, I would like display a "Installer cannot be run in silent mode" (and then exit) if the user tries to execute the installer in silent mode.

    Regards,
    Torben

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

    Default Re: Detect a silent or test run?

    Torben,

    Yes, SetupScript gives you access to internal installer flags. The following is possible:

    If %_SB_INSTALLERFLAG% Equals "1" on Position $SB_SILENTMODEFLAG$ Then
    Display Message Box "YaddaYadda"
    Exit Installation
    End If

    HTH,

+ 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. silent install skips features with "install by default"
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 3
    Last Post: 10-04-2006, 03:34 AM
  2. #00012: How to detect and uninstall previous version?
    By FAQ in forum SetupBuilder FAQs, Tips and Techniques
    Replies: 0
    Last Post: 02-13-2006, 08:57 AM
  3. #00009: How to detect if setup.exe is run in silent mode?
    By FAQ in forum SetupBuilder FAQs, Tips and Techniques
    Replies: 0
    Last Post: 02-08-2006, 12:53 AM
  4. SB5 / Atomic Clock Time Test
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 21
    Last Post: 07-27-2005, 10:25 AM
  5. Script changes, Compile -- Test Vs Run
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 9
    Last Post: 06-13-2005, 08:40 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
  •