Page 1 of 1

Disallow multiple instances of installer

Posted: Thu Jan 12, 2006 8:16 pm
by srowe
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.

Posted: Thu Jan 12, 2006 8:34 pm
by MichaelNesmith
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!