This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Prevent Simultaneous installation of 2 different installshield installers
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Aug 31, 2017
04:22 AM
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
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
(1) Reply
Sep 02, 2017
12:50 AM
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.com/showthread.php?217331-call-Winapi-OpenMutex-from-InstallScript-problem
Check out this thread:
https://community.flexerasoftware.com/showthread.php?217331-call-Winapi-OpenMutex-from-InstallScript-problem