Page 1 of 1

Multiple instance problems

Posted: Mon Aug 28, 2006 10:11 am
by mmacgill
Our testers have raised an issue that it's possible to run multiple instances of the installer at the same time. Is there a way to expose this condition early on in the installation process and exit cleanly?

I've tried to do this using the Check Process command

Code: Select all

Check for Process "Installer", get result into variable INSTALLER_RUNNING
if Variable INSTALLER_RUNNING Equals TRUE
  Terminate Installation
end


but this doesn't look like it's working like I expect it to.

Anyone else tried to solve this?

Posted: Mon Aug 28, 2006 10:14 am
by MichaelNesmith
Starting multiple copies of setup should not harm any instance of setup. Only one instance may actively apply changes at any given time anyways, so even though multiple instances are running, only one will successfully complete the installation - even if they both start installing at the same time.