Multiple instance problems

Got a problem you cannot solve? Try here.
mmacgill
Posts: 2
Joined: Mon Aug 28, 2006 9:22 am

Multiple instance problems

Postby mmacgill » Mon Aug 28, 2006 10:11 am

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?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Aug 28, 2006 10:14 am

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.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 228 guests