how to install Microsoft Visual C++ 2005 Service Pack 1 redistributable vcredist_x86.exe in mcr.microsoft.com/windows/servercore:ltsc2025 container

Peter Oortman 5 Reputation points
2024-12-30T07:22:30.8766667+00:00

how to install Microsoft Visual C++ 2005 Service Pack 1 redistributable vcredist_x86.exe in mcr.microsoft.com/windows/servercore:ltsc2025 container?

Installation inside mcr.microsoft.com/windows/servercore:ltsc2022 container works just fine. When doing that inside ltsc2025 container shows error:

Error 1935.An error occurred during the installation of assembly 'Microsoft.VC80.CRT,type="win32",version="8.0.50727.6195",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86"'. Please refer to Help and Support for more information. HRESULT: 0x80070091. assembly interface: IAssemblyCacheItem, function: Commit, component: {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}

=== Logging stopped: 12/30/2024 8:06:37 ===

quick reproduction of problem:

(prerequisite is that c:\temp contains the VS2005 redistributable vcredist_x86.exe)

https://www.microsoft.com/en-us/download/details.aspx?id=26347

docker run -it --rm -v c:\temp:c:\myshare --entrypoint cmd mcr.microsoft.com/windows/servercore:ltsc2025

cd \myshare

vcredist_x86.exe /Q

cd %TEMP%

type *.log

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,565 questions
0 comments No comments
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.