Unable to install software package due to an unavailable redistribution package - installation

I'm trying to install a software package that needs the Microsoft Visual C++ 2005 redistribution package. But I keep getting an error that the package isn't available on the computer.
It's a Windows 7 embedded machine and I need the 2005 redist for an older SDK.
I have both the x64 and the x86 installed on the pc aswell as the 2008 and 2010 packages.
Also I have tried uninstalling all of the packages an reinstalling them (also rebooting while any changes were made) but the application still will not install. The redistributable packages have all been installed without errors so a faulty install isn't the case.
Also I have tried executing the installer with Administrator rights and so on but nothing seems to work.
I've been searching all over for a long time but I haven't found anything useful so any help will be appreciated

Related

VSTO can not installed with Visual Studio 2022 Installer

I rent absolutely free
Edition Windows 10 Pro
Version 20H2
Installed on ‎2/‎7/‎2023
OS build 19042.1706
Experience Windows Feature Experience Pack 120.2212.4170.0
With Excel installed and Activated by hosting provider
Microsoft Office LTSC Professional Plus 2021
Version 2108 (build 14332.20447 Click-to-Run)
Than I try to install to this new machine VS 2022 community from official site
Unfortunately VSTO tools is impossible to install, I see a lot of times the same error
VSTO installation Error
What I need to do? I need VSTO.
I receive advice to download firstly and install after full download. In this case I have this error.
Something going wrong
What going wrong I don't understand. This VM placed to datacenter in Germany with good connection and preinstalled and activated legal copy Windows 10 and Excel.
Most probably you are dealing with a connection problem. You may try to repair your VS installation at a later point of time.
You may consider downloading a local installation package, select the Download all, then install option in the dropdown at the bottom of the Workloads tab of the Visual Studio Installer. The purpose of this feature is to frontload the downloading of the Visual Studio packages onto the same computer that you plan on eventually installing Visual Studio on. By downloading the packages locally first, you can then safely disconnect from the internet before you install Visual Studio.
Also you can download the installer locally by using a command line. And only then you can launch the installer for the Visual Studio, so you will not face with such problems. Read more about that in the Create an offline installation package of Visual Studio for local installation article.

dotnet.exe won't run because api-ms-win-crt-runtime-l1-1-0.dll is missing

I need to host an ASP.NET Core 2.0 app in IIS on Windows Server 2008 R2 SP1. I'm following the Docs guide on how to Host ASP.NET Core on Windows with IIS.
After installation, I still can't run dotnet.exe. It calls for a DLL named api-ms-win-crt-runtime-l1-1-0.dll.
The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.
However, there are lots of instances of this file on the machine, in the following folders:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.3
C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\2.0.3
C:\Windows\winsxs\amd64_microsoft-windows-u..rsalcrt-apifwd-win7_31bf3856ad364e35_6.1.7601.18972_none_a9a51144251fb166
C:\Windows\winsxs\amd64_microsoft-windows-u..rsalcrt-apifwd-win7_31bf3856ad364e35_6.1.7601.23175_none_aa31870f3e3ad077
C:\Windows\winsxs\amd64_microsoft-windows-u..rsalcrt-apifwd-win7_31bf3856ad364e35_6.1.7601.23656_none_aa4830af3e29a3af
C:\Windows\winsxs\x86_microsoft-windows-u..rsalcrt-apifwd-win7_31bf3856ad364e35_6.1.7601.18972_none_4d8675c06cc24030
C:\Windows\winsxs\x86_microsoft-windows-u..rsalcrt-apifwd-win7_31bf3856ad364e35_6.1.7601.23175_none_4e12eb8b85dd5f41
C:\Windows\winsxs\x86_microsoft-windows-u..rsalcrt-apifwd-win7_31bf3856ad364e35_6.1.7601.23656_none_4e29952b85cc3279
The instruction says:
Install the .NET Core Windows Server Hosting bundle on the hosting system. [...] If the system doesn't have an Internet connection, obtain and install the Microsoft Visual C++ 2015 Redistributable before installing the .NET Core Windows Server Hosting bundle.
I have installed/repaired both of these packages multiple times but get the same error.
It's probably not that the DLL is missing, but rather one of the DLL's dependencies is missing.
Make sure you're installing the Update 3 version of the Visual C++ 2015 Redistributable.
One of the requirements of the Visual C++ 2015 Redistributable is KB2999226. Make sure this is installed as well.
If it's already installed, post the installation log from the Visual C++ 2015 Redistributable installer package.
on windows server 2012 R2
I had same issue. Windows update + installing windows specific update solved it.
see: https://github.com/dotnet/core-setup/issues/4388.
I installed this update:
https://support.microsoft.com/en-us/help/3118401/update-for-universal-c-runtime-in-windows
TL;DR: Install these Windows updates in this order:
KB2919442
KB2919355
KB2999226
After installing the above 3 Windows update in the correct order, the error about the missing dll should stop.
I ran into basically this same problem when attempting to deploy a .NET Core 2.1 application to a Windows 2012 R2 machine. The root cause seems to have been due to a corrupt installation of the Microsoft Visual C++ Redistributable.
From Microsoft's documentation:
Visual C++ Redistributable Packages install runtime components of
Visual C++ Libraries on a computer that does not have Visual C++
installed. The libraries are required to run applications that are
developed by using the corresponding version of Visual C++.
After some troubleshooting and research, I fixed the issue by manually installing these 3 Windows updates in this order:
KB2919442
KB2919355 (requires a reboot)
KB2999226
The order of installation of these Windows updates is important! KB2999226 depends on KB2919355, and KB2919355 depends on KB2919442.
After installing those Windows updates, dotnet.exe and the application began to run correctly.

System.Data.Sqlite - Failure to install Microsoft Visual C++ Runtime

I am trying to install the design-time components of System.Data.Sqlite -- I want to be able to connect to SQLite databases from within Visual Studio, execute queries, and retrieve data.
As per the instructions on the System.Data.Sqlite downloads page, I downloaded the setup bundle for 32-bit Windows, targeting .NET 4.6.
When I try to install, I get the following error:
Failed to install Microsoft Visual C++ Runtime: vcredist_x86_2015_VSU2.exe, Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel
I am running Visual Studio 2015 Community Edition Update 3, with cumulative hotfixes, available here; on Windows 10 64-bit.
I tried uninstalling the Microsoft Visual C++ 2015 Redistributable (x86) and rerunning the VS 2015 Community Edition hotfix installer to reinstall it, and then rerunning the SQLite installer, but the same error still occurred.
How can I resolve this?
You were oh-so-close to the solution. You've just got a couple steps backwards.
The issue is that the System.Data.Sqlite package includes VC++ Update 2, but you've already got the newer Update 3 installed. Rather than recognize there's already a newer version installed, all the setup program sees is that installing U2 failed and bails out. So, we need to let it do its thing and install the U2 package to get past that point:
Uninstall "Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24212"
Install the Sqlite package
THEN re-install Update 3

Shortest path to basic install of VS2015 DirectX app

I have a C++ D3D11 project built in VS2015. It would appear that vc-redistx86.exe does NOT contain everything I need for it to run. To wit, all of the files such as api-ms-win-crt-runtime-l1-1-0.dll seem not to be installed by that redistributable.
My question then is twofold:
What do I need to install in order to get all of the files such as api-ms-win-crt-runtime-l1-1-0.dll, whereas the redist package seems to install only 4 dlls.
Is there an installer that can manage this without a week's learning curve? I'd like to check a box for "VS2015 Prerequisites" and have it just happen. It doesn't has to be free if it works well! This is NOT a product recommendation question, it's a ease-of-use question; they can all do it at some level.
Install all pending Windows Updates
Go to Start – Control Panel – Windows Update
Check for updates and install all pending updates, then restart the computer.
After the restart repeat the steps above again until no more updates are available.
Download the Visual C++ Redistributable 2015
For Windows 64-bit
Visual C++ Redistributable for Visual Studio 2015 (64-bit)
For Windows 32-bit
Visual C++ Redistributable for Visual Studio 2015 (32-bit)
Run the vcredist_x64.exe (64-bit) or vcredist_x86.exe (32-bit) and select Uninstall if already installed
Run the .exe again and select Install and restart the computer
See also here or here.

Can't install VS 2013 due to need newer operating system

I am trying to download and install VS 2013 from MSDN subscription today and I am getting an error message that states:"This version of Visual Studio requires a computer with a newer operating system."
I checked the requirements and it claims that it can be used with Windows 7SP1 and IE10 which is what I have. I have ever updated my Typescript install as suggested by a Google search.
Does anyone know if you can install the MSDN version with Windows 7? Or is there anything else that I might need to install to get 2013 to install on my machine?

Resources