Disallow multiple instances of installer
Disallow multiple instances of installer
Is there some method by which only one instance of a specific installer can be run at any one time? Currently, I can launch our installer/uninstaller and then launch another. I'd like the 2nd instance to detect that the first one is running and just quit.
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Hi
You may use the Terminate Program command to try and close a running instance. You may also use the Call DLL Function plug-in and invoke the FindWindowA API in user32.dll to find out if your target setup is running.
Hope that helps!
You may use the Terminate Program command to try and close a running instance. You may also use the Call DLL Function plug-in and invoke the FindWindowA API in user32.dll to find out if your target setup is running.
Hope that helps!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 177 guests