Reply to Thread

Post a reply to the thread: Can't get detect application code to work

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 01-29-2011, 11:22 AM
    linder

    Re: Can't get detect application code to work

    I see that you have figured it out. Yes, you have to use the "Detect Active Application..." script FUNCTION.

    Friedrich
  • 01-29-2011, 10:31 AM
    torrid

    Can't get detect application code to work

    In help file you have this code:

    Loop

    Set Variable %SB6ACTIVE% to FUNCTIONetect Active Application(sbuilder.exe)

    If %SB6ACTIVE% Equals "1" Then

    Display Message Box "The SetupBuilder Integrated Development Environmen..." -- "SetupBuilder application currently running"

    If %_SB_RETURN% Equals "$IDCANCEL$" Then

    Exit Installation

    End

    Else

    Break Loop

    End

    End

    When I add the Set Variable... to my script... double click to set value... it just has a space to type in and no way to select it to function... if I put in
    Set Variable %SB6ACTIVE% to FUNCTIONetect Active Application(Planner.exe) .... then it ends up just as a quoted string... it does not execute the function.

    I added message box to throw the value of the variable to the user... and it just shows the string... also in my SB7 it shows the function part in quotes but in the help file it does not....

    I know I'm missing the obvious... help.

Posting Permissions

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