Hi AI-Team,
we have a software that makes scheduled database backups from time to time. In order to prevent a backup from running during an update I would like to detect if an update with a given UpgradeCode is running. Is there a good way to find out if a specific AI-Setup is running at the moment? I know that the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\InProgress shows that there is a msi running, but not if its my setup.
Do you guys have any ideas how to realize this? Are there any regkeys I can use or is it possible to add something to my AI-Setup so that I can detect execution?
Is it safe to use AI-Temporary files for detection? --> if the temp file exists the installation is in progress if not there is no installation or will they stay if for example a process crashes?
FOLLOW US
Get the latest news in Application Packaging