Expected behavior
When I am building the docker ffrom Docker file, VC redistributable does not get installed. But, I am cmd into the Windows image and install it successfully.
Actual behavior
Not able to install VC redistributable 2013 from Dockerfile
with the following errors:
[1B3C:0898][2019-01-24T23:41:57]e000: Error 0x800703fa: Failed to create ITaskbarList3. Continuing.
[1B3C:0898][2019-01-24T23:41:57]e000: Error 0x8007000e: Failed to load theme controls.
[1B3C:0898][2019-01-24T23:41:57]e000: Error 0x80004005: Failed to create main window.
Information
- the output of:
- Installation log file when I install from within the container
C:\>type b.txt
[065C:0614][2019-01-24T23:45:52]i001: Burn v3.7.3424.0, Windows v10.0 (Build 14393: Service Pack 0), path: c:\vcredist_x64.exe, cmdline: '/install /passive /norestart /log b.txt -burn.unelevated BurnPipe.{35FD0134-BF4B-4870-868C-5E0A5AE7C3F1} {3F035487-186B-46D7-
7BE33F73E} 8060'
[065C:0614][2019-01-24T23:45:52]i000: Setting string variable 'WixBundleLog' to value 'C:\b.txt'
[065C:0614][2019-01-24T23:45:52]i000: Setting string variable 'WixBundleOriginalSource' to value 'c:\vcredist_x64.exe'
[065C:0614][2019-01-24T23:45:52]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'c:\'
[065C:0614][2019-01-24T23:45:52]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.40660'
[065C:0614][2019-01-24T23:45:52]i100: Detect begin, 2 packages
[065C:0614][2019-01-24T23:45:52]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
[065C:0614][2019-01-24T23:45:52]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
[065C:0614][2019-01-24T23:45:52]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[065C:0614][2019-01-24T23:45:52]i199: Detect complete, result: 0x0
[065C:0614][2019-01-24T23:45:52]i200: Plan begin, 2 packages, action: Install
[065C:0614][2019-01-24T23:45:52]i052: Condition 'VersionNT64' evaluates to true.
[065C:0614][2019-01-24T23:45:52]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\b_000_vcRuntimeMinimum_x64_rollback.txt'
[065C:0614][2019-01-24T23:45:52]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\b_000_vcRuntimeMinimum_x64.txt'
[065C:0614][2019-01-24T23:45:52]i052: Condition 'VersionNT64' evaluates to true.
[065C:0614][2019-01-24T23:45:52]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\b_001_vcRuntimeAdditional_x64_rollback.txt'
[065C:0614][2019-01-24T23:45:52]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\b_001_vcRuntimeAdditional_x64.txt'
[065C:0614][2019-01-24T23:45:52]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[065C:0614][2019-01-24T23:45:52]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[065C:0614][2019-01-24T23:45:52]i299: Plan complete, result: 0x0
[065C:0614][2019-01-24T23:45:52]i300: Apply begin
[1F7C:0C9C][2019-01-24T23:45:52]w308: Automatic updates could not be paused due to error: 0x80040154. Continuing...
[1F7C:0C9C][2019-01-24T23:45:52]i360: Creating a system restore point.
[1F7C:0C9C][2019-01-24T23:45:52]i362: System restore disabled, system restore point not created.
[1F7C:0C9C][2019-01-24T23:45:52]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ef6b00ec-13e1-4c25-9064-b2f383cb8412}, options: 0x7, disable resume: No
[1F7C:0C9C][2019-01-24T23:45:53]i000: Caching bundle from: 'C:\Users\ContainerAdministrator\AppData\Local\Temp\{ef6b00ec-13e1-4c25-9064-b2f383cb8412}\.be\vcredist_x64.exe' to: 'C:\ProgramData\Package Cache\{ef6b00ec-13e1-4c25-9064-b2f383cb8412}\vcredist_x64.exe'
[1F7C:0C9C][2019-01-24T23:45:53]i320: Registering bundle dependency provider: {ef6b00ec-13e1-4c25-9064-b2f383cb8412}, version: 12.0.40660.0
[1F7C:0C9C][2019-01-24T23:45:53]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ef6b00ec-13e1-4c25-9064-b2f383cb8412}, resume: Active, restart initiated: No, disable resume: No
[1F7C:19D4][2019-01-24T23:45:53]i305: Verified acquired payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x64, moving to: C:\ProgramData\Package Cache\{CB0836EC-B072-368D-82B2-D3470BF95707}v12.0.40660\packages\vcRunt
um_amd64\vc_runtimeMinimum_x64.msi.
[1F7C:19D4][2019-01-24T23:45:53]i305: Verified acquired payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\.unverified\cab5046A8AB272BF37297BB7928664C9503, moving to: C:\ProgramData\Package Cache\{CB0836EC-B072-368D-82B2-D3470BF957
.40660\packages\vcRuntimeMinimum_amd64\cab1.cab.
[1F7C:19D4][2019-01-24T23:45:53]i305: Verified acquired payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x64, moving to: C:\ProgramData\Package Cache\{5740BD44-B58D-321A-AFC0-6D3D4556DD6C}v12.0.40660\packages\
eAdditional_amd64\vc_runtimeAdditional_x64.msi.
[1F7C:19D4][2019-01-24T23:45:53]i305: Verified acquired payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\.unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92, moving to: C:\ProgramData\Package Cache\{5740BD44-B58D-321A-AFC0-6D3D4556DD
.40660\packages\vcRuntimeAdditional_amd64\cab1.cab.
[1F7C:0C9C][2019-01-24T23:45:53]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:\ProgramData\Package Cache\{CB0836EC-B072-368D-82B2-D3470BF95707}v12.0.40660\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSI
ALL="7" NOVSUI="1"'
[065C:0614][2019-01-24T23:45:54]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[1F7C:0C9C][2019-01-24T23:45:54]i325: Registering dependency: {ef6b00ec-13e1-4c25-9064-b2f383cb8412} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12, package: vcRuntimeMinimum_x64
[1F7C:0C9C][2019-01-24T23:45:54]i301: Applying execute package: vcRuntimeAdditional_x64, action: Install, path: C:\ProgramData\Package Cache\{5740BD44-B58D-321A-AFC0-6D3D4556DD6C}v12.0.40660\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, argumen
IFASTINSTALL="7" NOVSUI="1"'
[065C:0614][2019-01-24T23:45:54]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None
[1F7C:0C9C][2019-01-24T23:45:54]i325: Registering dependency: {ef6b00ec-13e1-4c25-9064-b2f383cb8412} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v12, package: vcRuntimeAdditional_x64
[1F7C:0C9C][2019-01-24T23:45:54]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ef6b00ec-13e1-4c25-9064-b2f383cb8412}, resume: ARP, restart: None, disable resume: No
[1F7C:0C9C][2019-01-24T23:45:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ef6b00ec-13e1-4c25-9064-b2f383cb8412}, resume: ARP, restart initiated: No, disable resume: No
[065C:0614][2019-01-24T23:45:54]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No
[065C:0614][2019-01-24T23:45:54]i500: Shutting down, exit code: 0x0
[065C:0614][2019-01-24T23:45:54]i410: Variable: VersionNT64 = 10.0.0.0
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleAction = 5
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleElevated = 1
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleInstalled = 0
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleLog = C:\b.txt
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleLog_vcRuntimeAdditional_x64 = C:\b_001_vcRuntimeAdditional_x64.txt
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleLog_vcRuntimeMinimum_x64 = C:\b_000_vcRuntimeMinimum_x64.txt
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleManufacturer = Microsoft Corporation
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleName = Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.40660
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleOriginalSource = c:\vcredist_x64.exe
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleOriginalSourceFolder = c:\
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleProviderKey = {ef6b00ec-13e1-4c25-9064-b2f383cb8412}
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleRollbackLog_vcRuntimeAdditional_x64 = C:\b_001_vcRuntimeAdditional_x64_rollback.txt
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleRollbackLog_vcRuntimeMinimum_x64 = C:\b_000_vcRuntimeMinimum_x64_rollback.txt
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleTag =
[065C:0614][2019-01-24T23:45:54]i410: Variable: WixBundleVersion = 12.0.40660.0
[065C:0614][2019-01-24T23:45:54]i007: Exit code: 0x0, restarting: No
- Error file with the installation is done from DockerFile
C:\>type a.txt
[1B3C:0CA0][2019-01-24T23:41:57]i001: Burn v3.7.3424.0, Windows v10.0 (Build 14393: Service Pack 0), path: C:\vcredist_x64.exe, cmdline: '/install /passive /norestart /log a.txt -burn.unelevated BurnPipe.{EC772C5D-4855-4A95-AC34-322C2965FA3D} {1BE792C8-32B0-41B2-9F3B-4A3
22A358C81} 5172'
[1B3C:0CA0][2019-01-24T23:41:57]i000: Setting string variable 'WixBundleLog' to value 'C:\a.txt'
[1B3C:0CA0][2019-01-24T23:41:57]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\vcredist_x64.exe'
[1B3C:0CA0][2019-01-24T23:41:57]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\'
[1B3C:0CA0][2019-01-24T23:41:57]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.40660'
[1B3C:0898][2019-01-24T23:41:57]e000: Error 0x800703fa: Failed to create ITaskbarList3. Continuing.
[1B3C:0898][2019-01-24T23:41:57]e000: Error 0x8007000e: Failed to load theme controls.
[1B3C:0898][2019-01-24T23:41:57]e000: Error 0x80004005: Failed to create main window.
[1B3C:0CA0][2019-01-24T23:41:57]i500: Shutting down, exit code: 0x4005
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleAction = 5
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleElevated = 1
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleInstalled = 0
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleLog = C:\a.txt
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleManufacturer = Microsoft Corporation
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleName = Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.40660
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleOriginalSource = C:\vcredist_x64.exe
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleOriginalSourceFolder = C:\
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleProviderKey = {ef6b00ec-13e1-4c25-9064-b2f383cb8412}
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleTag =
[1B3C:0CA0][2019-01-24T23:41:57]i410: Variable: WixBundleVersion = 12.0.40660.0
[1B3C:0CA0][2019-01-24T23:41:57]i007: Exit code: 0x4005, restarting: No
Steps to reproduce the behavior
- Try to install from the below Dockerfile
ADD http://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x64.exe vcredist_x64.exe
RUN C:\vcredist_x64.exe /install /passive /norestart /log a.txt
- login to the container manually
docker run -it python cmd
and run the command
c:\vcredist_x64.exe /install /passive /norestart /log b.txt