Did you know only 1 MSI (Windows Installer-file) can be running at a time?
So if you are already installing a MSI-file and you try aonother install you'll probably get the following message:
Error 1618 or Error 1500 "Installation already in progress"
But how can you determine a MSI is running before you run your installation?
It's easy! Just monitor the following registry-key for its's presents:
SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\InProgress
If this key doesn NOT exist, you are save to start a Windows Installer-installation.
One way to use this if an user logs in for the first time ever. Often al sorts of MSI-repairs are triggered. So installing software while these MSI-"repairs" are running is not a good idea if you are installing some software at login.
Sources: http://www.appdeploy.com/messageboards/tm.asp?m=9119&mpage=1&key=⎟
http://www.installsite.org/pages/en/msifaq/error/1618.htm
Geen opmerkingen:
Een reactie posten