Page 1 of 1

Automatic reboot after uninstall?

Posted: 14 Feb 2015, 15:12
by KlavKalash
Hi there,

due to the update of FileBot via FileBot-setup.exe, the old version of FileBot was uninstalled. After the uninstall my system (Win7) rebooted automatically. This is a very big NO GO! My browser with all opened tabs crashed, my Skype call disconnected and some opened files were not saved! :evil:

How can I say that the reboots was triggered by FileBot? Due to the event viewer!
The process msiexec.exe has initiated the restart of computer XYZ on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found
Reason Code: 0x80030002
Shutdown Type: restart
Comment: The Windows Installer initiated a system restart to complete or continue the configuration of FileBot'.
Please DISABLE this automatically reboot. It's anoying and unnecessary!

Thanks.

Re: Automatic reboot after uninstall?

Posted: 21 Feb 2015, 00:25
by rednoah
This is a Windows Installer issue. The FileBot MSI does at no point require a reboot. You can check the code yourself. ;)

Re: Automatic reboot after uninstall?

Posted: 21 Feb 2015, 11:54
by KlavKalash
But you have created the msi? If I understand correctly, you can disable the force reboot at the Windows Installer in your setup.

https://msdn.microsoft.com/en-us/librar ... 85%29.aspx

Re: Automatic reboot after uninstall?

Posted: 21 Feb 2015, 17:06
by rednoah
The .MSI packages are automatically generated on my Windows build machine using WiX.

The installer/uninstaller does not force reboot, it does not request reboot, it doesn't reboot as far as I know, but it seems that it does cause a reboot for a couple for people, for unknown reasons.

If you know a way to set the magic really really force suppress never ever ever reboot property via WiX please feel free to contribute. ;)

Here's the code:
https://sourceforge.net/p/filebot/code/ ... ot-wix.xml

Re: Automatic reboot after uninstall?

Posted: 16 Jul 2015, 02:17
by courtarro
This is still a problem. I just updated to 4.6 and during the setup the uninstall of the previous version rebooted my PC without permission. I had several processes going that were terminated without asking.

If the bug has been fixed in a more recent version, then I suppose the uninstaller for previous versions is still there, waiting to do a reboot without permission. My suggestion is that you put a big red warning on the installer that notifies users about the potential for a reboot whenever it automatically uninstalls the old version.