When does Visual C++ 2015-2019 Redistributable lead to PC reboot - visual-c++

In some machines installing Visual C++ 2015-2019 Redistributable requires PC reboot. However, if we
1)Install Redistributable
2)Reboot
3) Remove Redistributable
4) Try to install it again
It doesn't require a reboot on the second attempt of installation. In addition, in some cases it doesn't require reboot even on the first attempt to install it. It looks that it depends not on Redistributable itself but on some KB update or something like that.
It's pretty important for me to reproduce the "reboot required" environment for Installer debugging purposes. Maybe someone knows how it works and how I can reproduce "reboot required" situations.

Related

Trouble installing Visual C++ Redistributable 2008 in Windows 11 - Error 1935

So I recently installed MSI Afterburner on my Windows 11 Machine, but after installing it won't open up. The probable issue was that I didn't have Visual C++ 2008 Redistributable installed. I have all other versions from 2010-2022.
But while installing the 2008 and 2005 redistributables I end up getting a 1935 error and the installer just rolls back.
Error 1935 dialog box
I searched it up and tried everything like running an sfc scan, disabling and enabling the .NET frameworks. I also checked my Registry Editor and it was all correct.
I checked the event logs and found this :
Activation context generation failed for "D:\MSI Afterburner\MSIAfterburner.exe". Dependent Assembly Microsoft.VC90.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Then I figured out maybe there was problem with the WinSXS folder's permissions.
Turns out only the TrustedInsaller had full access to the folder and the subfolders.
So, I also tried changing the WinSXS folder's permissions manually, but in vain.
How do I fix this error? How do I change the WinSXS folder's permissions successfully?
Or is there any other fix to get MSI Afterburner up and running? Please help.
This is rather peculiar. I know our systems can differ.
I have installed VS 2022 on a pristine Windows 11 system without MSI Afterburner.
Installed VS 2008 redistributable, no problem.
Again: pristine Windows with MSI Afterburner installed.
Installed VS 2008 redistributable, no errors.
Windows 11 Enterprise, Build 22000.co_release.210604-1628
Redistributable 9.0.21022.8 (2016)
MSI Afterburner 4.6.4 Beta, Riva Server 7.3.2 Beta.
After that installed redistributable 2005, no problem.
Did it happen while installing 2005 redistributable? Did you install any other software? It must be something specific to your system.

MySQL workbench installer requires Visual C++ 2015, but i have it already installed (Windows 7)

when i tried to install the program, it launches me this error saying i need to download and install the Visual C++ 2015, but after doing it, the installer of the visual said that i already had it installed.
I've searched and found an an apparent answer to the problem, but, neither i understand what i need to do, nor it's for windows 7, the solution it's for windows 10.
So i need a hand here because i don't quite understand what to do to install the workbench, or it is another way to do it?
Already answered: MySql Workbench installer requires Visual C++ 2015 Redistributable Package to be installed, but it already is installed
(repair the 2017 C++ redistributable and it's done).

microsoft visual c++ 2015 redistributable package Setup fails 0x80240017

I try to use install microsoft visual c++ 2015 redistributable package but I error due to installation "Setup fails 0x80240017". Can anyone help me ?
This is likely an issue with your systems' Windows Update status generally, and not specifically the Visual C++ REDIST package--which does trigger some Windows Updates if they are missing from your system.
Here are some general Windows Update troubleshooting steps you should try:
Run SFC. See KB 929833
Run the System Update Readiness Tool or DISM. See KB 947821

InstallShield closes after installing VS2012 redistributable

I am using InstallShield 2010.
Due to recent application update we have to ship and install Visual Studio 2012 Redistributable package to the clients.
I've done many setups with prerequisites, some of then had redistributables, some not, but its the first time i needed to include VS2012 Redist.
After i created a prerequisite file and pointed to the redist file, added the command line options /q /norestart, i then tested this on windows XP (virtual machine), at first it seems fine, install shield showed that i needed the package installed, so ok, clicking next shows how it extracts the file and then start installing. Right after installation of the redistributable finishes, whole install shield closes out and nothing continues. So basicaly, redist got installed, but not my application.
What could be the cause of this? Why is redistributable closing installation? How could i fix this without forcing a user to install redist package manualy?
Chances are the reboot settings of the prerequisite aren't quite right. It sounds like it's detecting a required reboot which the .prq claims the redistributable will have already asked about, so InstallShield is just exiting to let the reboot occur. You should be able to confirm this by logging setup.exe with /debuglog. And if so, the fix will be to edit the reboot settings on the behavior tab.

VS 2012 Update 3 broke my VS

I am using Windows 8 64 bit machine with VS 2012 ultimate. After installing Update 3 and restarting the machine, I get following error whenever I try to open VS.
---------------------------
devenv.exe - System Error
---------------------------
The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------
The said file is already present in C:\Windows\System32 folder. Please let me know what can be done here..don't want to reinstall that monster again.
You need to check where your projects are being loaded. I have VS installs under both x86 and 64. You'll need downloads for both on a 64 bit operating system.
http://www.microsoft.com/en-us/download/details.aspx?id=14632
http://www.microsoft.com/en-us/download/details.aspx?id=30679
Please see:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/d081943f-fbe8-4a28-b8c0-d83ded9b1a67/msvcr100dll-missing
Some basic tips:
Ensure you have run the install with Administrator rights.
VS won't always ask for a computer restart. However, reboot your computer.
A note about this update.
Note Visual Studio and Team Foundation Server (TFS) installation
mechanics are different. The Visual Studio update installs on top of
whatever is already installed on the computer. The TFS update is a
full layout that replaces whatever is installed on the computer.
Before you try to apply the TFS update, make sure that you have a full
backup of your current databases. If the TFS update installation
fails, you will be unable to restart the update or roll back to the
earlier version of TFS without performing a restore procedure.
http://support.microsoft.com/kb/2835600
If you get this error it means you don't have Microsoft Visual C++ Redistributable 2012 Update 3.Try to download it from http://www.microsoft.com/en-us/download/details.aspx?id=30679 .Hope this helps.
Since it is a 64bit system, copying the missing file to the C:\Windows\SysWOW64 folder should solve your problem. If it keeps failing for other dll just keep copying.
With same error (MSVCR110.dll not found) really reinstalled Microsoft Visual C++ Redistributable 2012 not solved all problems. Some VS tools report - not found msvcr110_clr0400.dll. After repair installation of .net 4.0 (or 4.5/4.5.1) all work fine.

Resources