Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation: Sudden reboot caused by Visual C++ redistributables? #95

Closed
chocolatechipcats opened this issue Jan 26, 2022 · 4 comments
Closed
Assignees
Labels

Comments

@chocolatechipcats
Copy link

I opened Caesium and got a notification that there was a new update. I allowed it to download and begin installation of the new version. Then my computer rebooted without warning, which is definitely undesired behaviour.

Looking into the event logs and reliability history showed that the reboot was triggered by the installer for Visual C++ redistributables. Googling this shows that it's happened in other places as well:

https://superuser.com/questions/1487595/microsoft-visual-c-2017-installer-forces-automatic-reboot
https://stackoverflow.com/questions/26047861/how-can-i-suppress-a-forced-restart-caused-by-my-bootstrapper
https://docs.microsoft.com/en-us/answers/questions/29352/when-does-visual-c-2015-2019-redistributable-lead.html
sqlitebrowser/sqlitebrowser#1119

Hopefully this can be fixed.

@Lymphatus
Copy link
Owner

You are correct, the new version installs VC++ if not present in the system, but should definitely not reboot without a warning. I disabled the automatic update while I investigate further. Thanks for the report.

@chocolatechipcats
Copy link
Author

The first link indicates that the /norestart flag should prevent it.

@Lymphatus
Copy link
Owner

Yes, the installer calls it with /quiet /install /norestart, so it's a bit strange.

Lymphatus added a commit that referenced this issue Mar 2, 2022
@Lymphatus
Copy link
Owner

Fixed in beta.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants