Results 1 to 3 of 3

Thread: Exit installation on condition

Hybrid View

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

    Default Exit installation on condition

    Hi,

    sb5

    I need to get some Windows registry key and
    if something is there - continue installation
    else
    show a message and stop (halt) installation.

    What script I can use for do this?


    --
    Best regards,
    Ingasoftplus

  2. #2

    Default Re: Exit installation on condition

    >I need to get some Windows registry key and
    >if something is there - continue installation
    >else
    >show a message and stop (halt) installation.
    >
    >What script I can use for do this?

    Like this?

    Use Get Registry Key Value to get the value into a variable.

    if ( % SB ERRORCODE% ) = 0
    // GetReg() failed

    MessageBox()
    Exit Installation

    end

    That does a drop dead exit of the install if the GetReg() call fails.

    --
    Best regards,

    Mark

    -------------------------------------------------------------------
    Why waste time learning when ignorance is instantaneous?
    We do email right!
    Rock solid hosting services at http://www.lanbytes.net

  3. #3

    Default Re: Exit installation on condition

    Hi Mark,

    > >I need to get some Windows registry key and
    > >if something is there - continue installation
    > >else
    > >show a message and stop (halt) installation.
    > >
    > >What script I can use for do this?
    >
    > Like this?
    YES! Thanks!!!

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. #00002: What is iDeploy Web Installation?
    By FAQ in forum SetupBuilder FAQs, Tips and Techniques
    Replies: 0
    Last Post: 01-18-2006, 09:33 AM
  4. Firebird Silent install
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 4
    Last Post: 04-19-2005, 09:39 AM
  5. iDeploy
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 03-18-2005, 02:44 AM

Posting Permissions

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