I have a legacy product in the field that we are replacing with a new version. The customer wants our installation to silently uninstall the previous install before doing the new install. Only problem is the uninstall does an unnecessary reboot when it completes. I have tried a variety of ways to uninstall
msiexec /qn /uninstall appName.msi /norestart
msiexec /qn /x {12AB-GUID-999} REBOOT=ReallySuppress
Any time I try a quiet uninstall, it always does a reboot. I have captured a log file and it contains the nonsensical line:
Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
If it wanted to disable shutdown, why does it decrement the counter when the counter needs to be >= 0???
Not sure what I need to do to resolve this. Any suggestions would be appreciated.
One thing that seems strange, while uninstalling, I will see two copies of msiexec in my task manager, one called msiexec.exe and the other msiexec.exe*32
I am running on Windows 7 / 64 bit