Automatic reboot after uninstall?

All your suggestions, requests and ideas for future development
Post Reply
KlavKalash
Posts: 2
Joined: 14 Feb 2015, 15:06

Automatic reboot after uninstall?

Post 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.
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Automatic reboot after uninstall?

Post by rednoah »

This is a Windows Installer issue. The FileBot MSI does at no point require a reboot. You can check the code yourself. ;)
:idea: Please read the FAQ and How to Request Help.
KlavKalash
Posts: 2
Joined: 14 Feb 2015, 15:06

Re: Automatic reboot after uninstall?

Post 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
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Automatic reboot after uninstall?

Post 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
:idea: Please read the FAQ and How to Request Help.
courtarro
Posts: 5
Joined: 01 Feb 2015, 04:46

Re: Automatic reboot after uninstall?

Post 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.
Post Reply