microsoft / WindowsServerContainerHostConfig

Example configuration for deploying and configuring a Windows Server Container Host.
MIT License
11 stars 10 forks source link

Getting issue while installing visual studio 2008 on docker images #1

Open gudipudipradeep opened 4 years ago

gudipudipradeep commented 4 years ago

Getting issue in middle of visual studio 2008 installation on docker image. I am using following image mcr.microsoft.com/windows/servercore:1809-KB4519338-amd64

Error: Failed to load DLL: c:\85d1d91bf8070a47c7aab4554009\visualwebdeveloper.ww\OSETUP.DLL ErrorCode: 126(0x7e).

We need to install vs2008 on docker images this requirement. I tried to crate using admin file also getting same issue, Please help to create the image.

zekependexter commented 4 years ago

Were you able to find a solution for this? I'm running into the same issue

jrabem82 commented 4 years ago

hello, it's a long time, did you find a solution?

rolnick commented 4 years ago

Hi, I found solution to not install visualwebdeveloper, as i do not need it. I am installing Microsoft Visual Studio Team System 2008 Development Edition - ENU I am using mcr.microsoft.com/dotnet/framework/runtime:3.5 image. First I used unattended mode, as i do not need some modules https://msfn.org/board/topic/117875-unattended-ms-visual-studio-2008-pro Next I installed VS 2008 on the machine with windows server 2019 to get correct registry keys to disable visualwebdeveloper. The same machine is used for docker. I searched in registry for string: 12.0.4518.1066, the installer was searching for it in docker container. I found 8 keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109120000000000000000F01FEC\InstallProperties]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109120090400000000000F01FEC\InstallProperties]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\12.0\Common\InstalledPackages\90120000-0021-0409-0000-0000000FF1CE]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\12.0\Common\ProductVersion]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Web Designer Tools\1033]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{90120000-0021-0000-0000-0000000FF1CE}]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{90120000-0021-0409-0000-0000000FF1CE}]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\VisualWebDeveloper]

I copied from machine to docker container C:\Program Files (x86)\Microsoft Web Designer Tools - i think it's not needed. I added keys to registry in docker container. I removed from VS2008_deployment.ini installation of .framework v3.5 and i run unattended installation.

Result is (i installed sp1 too):

Microsoft Document Explorer 2008  
Visual Studio 2005 Tools for Office Second Edition Runtime 
Microsoft Visual Studio Team System 2008 Development Edition - ENU   
Visual Studio Tools for the Office system 3.0 Runtime 
Microsoft SQL Server Compact 3.5 SP1 Design Tools English
Visual C++ 2008 x64 Runtime - (v9.0.30729) 
Visual C++ 2008 x64 Runtime - v9.0.30729.01
Visual C++ 2008 IA64 Runtime - (v9.0.30729)
Visual C++ 2008 IA64 Runtime - v9.0.30729.01    
Microsoft SQL Server Compact 3.5 for Devices ENU
Microsoft .NET Compact Framework 3.5  
SQL Server System CLR Types    
Microsoft Visual Studio 2005 Tools for Office Runtime
Microsoft Visual Studio 2008 Remote Debugger - ENU Service Pack 1 (KB945140) 
Microsoft Document Explorer 2008    
Windows Mobile 5.0 SDK R2 for Pocket PC    
Visual Studio Tools for the Office system 3.0 Runtime 
Visual Studio Tools for the Office system 3.0 Runtime Service Pack 1 (KB949258) 
Microsoft Office Visual Web Developer 2007  
Microsoft Office Visual Web Developer MUI (English) 2007
Windows Mobile 5.0 SDK R2 for Smartphone    
Microsoft SQL Server Database Publishing Wizard 1.3    
Microsoft SQL Server Compact 3.5 SP1 English   
Microsoft .NET Compact Framework 2.0 SP2   
Visual C++ 2008 x86 Runtime - (v9.0.30729) 
Visual C++ 2008 x86 Runtime - v9.0.30729.01
Microsoft SQL Server 2008 Management Objects 
VC Runtimes MSI

Some tools you need to install manually after installation of VS 2008. Everything is in the link above how to do it. Image is quiet huge: 13GB

Regards

jrabem82 commented 4 years ago

Hi, I found solution to not install visualwebdeveloper, as i do not need it. I am installing Microsoft Visual Studio Team System 2008 Development Edition - ENU I am using mcr.microsoft.com/dotnet/framework/runtime:3.5 image. First I used unattended mode, as i do not need some modules https://msfn.org/board/topic/117875-unattended-ms-visual-studio-2008-pro Next I installed VS 2008 on the machine with windows server 2019 to get correct registry keys to disable visualwebdeveloper. The same machine is used for docker. I searched in registry for string: 12.0.4518.1066, the installer was searching for it in docker container. I found 8 keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109120000000000000000F01FEC\InstallProperties]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00002109120090400000000000F01FEC\InstallProperties]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\12.0\Common\InstalledPackages\90120000-0021-0409-0000-0000000FF1CE]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\12.0\Common\ProductVersion]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Web Designer Tools\1033]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{90120000-0021-0000-0000-0000000FF1CE}]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{90120000-0021-0409-0000-0000000FF1CE}]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\VisualWebDeveloper]

I copied from machine to docker container C:\Program Files (x86)\Microsoft Web Designer Tools - i think it's not needed. I added keys to registry in docker container. I removed from VS2008_deployment.ini installation of .framework v3.5 and i run unattended installation.

Result is (i installed sp1 too):

Microsoft Document Explorer 2008  
Visual Studio 2005 Tools for Office Second Edition Runtime 
Microsoft Visual Studio Team System 2008 Development Edition - ENU   
Visual Studio Tools for the Office system 3.0 Runtime 
Microsoft SQL Server Compact 3.5 SP1 Design Tools English
Visual C++ 2008 x64 Runtime - (v9.0.30729) 
Visual C++ 2008 x64 Runtime - v9.0.30729.01
Visual C++ 2008 IA64 Runtime - (v9.0.30729)
Visual C++ 2008 IA64 Runtime - v9.0.30729.01    
Microsoft SQL Server Compact 3.5 for Devices ENU
Microsoft .NET Compact Framework 3.5  
SQL Server System CLR Types    
Microsoft Visual Studio 2005 Tools for Office Runtime
Microsoft Visual Studio 2008 Remote Debugger - ENU Service Pack 1 (KB945140) 
Microsoft Document Explorer 2008    
Windows Mobile 5.0 SDK R2 for Pocket PC    
Visual Studio Tools for the Office system 3.0 Runtime 
Visual Studio Tools for the Office system 3.0 Runtime Service Pack 1 (KB949258) 
Microsoft Office Visual Web Developer 2007  
Microsoft Office Visual Web Developer MUI (English) 2007
Windows Mobile 5.0 SDK R2 for Smartphone    
Microsoft SQL Server Database Publishing Wizard 1.3    
Microsoft SQL Server Compact 3.5 SP1 English   
Microsoft .NET Compact Framework 2.0 SP2   
Visual C++ 2008 x86 Runtime - (v9.0.30729) 
Visual C++ 2008 x86 Runtime - v9.0.30729.01
Microsoft SQL Server 2008 Management Objects 
VC Runtimes MSI

Some tools you need to install manually after installation of VS 2008. Everything is in the link above how to do it. Image is quiet huge: 13GB

Regards

thank you, i will try this

dhabierre commented 1 year ago

The Dockerfile, if existing, would be welcome :)