Community Forums
Results 1 to 2 of 2

Thread: Prevent Simultaneous installation of 2 different installshield installers

  1. #1
    Join Date
    Apr 2016
    Posts
    5

    Prevent Simultaneous installation of 2 different installshield installers

    Hi,
    I have 2 installshield setups abcSetup.exe and xyzSetup.exe. When abcSetup.exe is run it auto install xyzSetup.exe as well.

    But if I try to run both setups simultaneously, it runs and didn't stop or prevent each other from running. I want that when 1 setup is running , it shouldn't allow other to launch/run.

    Is there any built in function or actions available which can be used. Please not that I am working with InstallScript and InstallScriptMSI projects.

    Thanks & regards,
    Pratik

  2. #2
    Join Date
    Aug 2005
    Posts
    521
    There's no built in function in InstallScript for it, but you could write create a Mutex if one doesn't already exist during OnBegin using Windows API.

    Check out this thread:

    https://community.flexerasoftware.co...Script-problem
    Cary R.
    Configuration Engineer

Posting Permissions

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