Archive: Detecting a pending reboot or a simultaneous install


Detecting a pending reboot or a simultaneous install
Hi,

My NSIS installer invokes a MSI installer for on of its subcomponents, and that one fails if there is a pending reboot of a previous MSI installation or another MSI installer is executing at the same time.
Does someone know of any way I can detect any of these 2 cases in NSIS, so I can warn the user beforehand?

Best regards,
Gustavo Guerra


For PendingFileRenameOperations, take a look on the following thread,

http://forums.winamp.com/showthread.php?threadid=268050

For the second part of your post, you may check if the msiexec proccess is running.


Thanks