Announcement

Collapse
No announcement yet.

Catching return values of execute file commands

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Catching return values of execute file commands

    During the setup I'm working on, I need to check if IIS is installed. I was thinking about writing a small vbs script to check if it is installed and having it return a value through a Wscript.echo command to indicate if it is installed or not. Then I can call this vbs script with the execute file command. Is there a way to know the return value of this script within setup factory?
    Regards,
    Cedric

  • #2
    Re: Catching return values of execute file commands

    I'm checking if IE is installed by checking registry settings which SF supports very nicely. You might want to investigate using registry settings to check if IIS is installed too.

    Comment


    • #3
      Re: Catching return values of execute file commands

      You could have the script write the value to a text file, and have Setup Factory get the value from that text file.
      --[[ Indigo Rose Software Developer ]]

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎