[Bug 45928] New: Microsoft Windows SDK for Windows 10 (.NET 4.6) installer fails, claims KB3118401 is needed ('ucrtbase.dll' missing version resource, >= 10.0.0)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 3 11:24:33 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45928

            Bug ID: 45928
           Summary: Microsoft Windows SDK for Windows 10 (.NET 4.6)
                    installer fails, claims KB3118401 is needed
                    ('ucrtbase.dll' missing version resource, >= 10.0.0)
           Product: Wine
           Version: 3.17
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ucrtbase
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as it says.

Download:

https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

http://go.microsoft.com/fwlink/p/?LinkID=2022797

Prerequisite:

'winetricks -q dotnet462 corefonts'

If you on multi-monitor setup you to workaround bug 34978 ("Many applications
need a EnumDisplayDevicesW implementation for multi-monitor environment support
(DisplayFusion, Turbo Tax 2012, WPF 4.x .NET apps, CEFv3 apps)") 

Trace log:

--- snip ---
$ WINEDEBUG=+seh,+relay,+msi wine ./WinSDKSetup.exe >>log.txt 2>&1
...
0037:Call version.GetFileVersionInfoSizeW(007b45b0
L"C:\\windows\\syswow64\\\\ucrtbase.dll",0033f6c4) ret=00445366
0037:Call KERNEL32.LZOpenFileW(007b45b0
L"C:\\windows\\syswow64\\\\ucrtbase.dll",0033f550,00000000) ret=7eff9e2b
0037:Ret  KERNEL32.LZOpenFileW() retval=00000230 ret=7eff9e2b
0037:Call KERNEL32.LZSeek(00000230,00000000,00000000) ret=7eff80c0
0037:Ret  KERNEL32.LZSeek() retval=00000000 ret=7eff80c0
0037:Call KERNEL32.LZRead(00000230,0033f4b8,00000040) ret=7eff80d4
0037:Ret  KERNEL32.LZRead() retval=00000040 ret=7eff80d4
0037:Call KERNEL32.LZSeek(00000230,00000060,00000000) ret=7eff8151
0037:Ret  KERNEL32.LZSeek() retval=00000060 ret=7eff8151
0037:Call KERNEL32.LZRead(00000230,0033f4b5,00000002) ret=7eff8165
0037:Ret  KERNEL32.LZRead() retval=00000002 ret=7eff8165
0037:Call KERNEL32.LZSeek(00000230,00000060,00000000) ret=7eff8188
0037:Ret  KERNEL32.LZSeek() retval=00000060 ret=7eff8188
0037:Call KERNEL32.LZSeek(00000230,00000000,00000001) ret=7eff850b
0037:Ret  KERNEL32.LZSeek() retval=00000060 ret=7eff850b
0037:Call KERNEL32.LZRead(00000230,0033f378,00000108) ret=7eff8528
0037:Ret  KERNEL32.LZRead() retval=00000108 ret=7eff8528
0037:Call KERNEL32.LZClose(00000230) ret=7eff9e5a
0037:Ret  KERNEL32.LZClose() retval=00000000 ret=7eff9e5a
0037:Call KERNEL32.GetVersion() ret=7eff9f64
0037:Ret  KERNEL32.GetVersion() retval=1db10106 ret=7eff9f64
0037:Ret  version.GetFileVersionInfoSizeW() retval=00000000 ret=00445366
0037:Call KERNEL32.GetLastError() ret=00445377
0037:Ret  KERNEL32.GetLastError() retval=00000714 ret=00445377
0037:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0044f944 "Failed get
file version.",ffffffff,00000000,00000000) ret=00402320
0037:Ret  KERNEL32.MultiByteToWideChar() retval=00000019 ret=00402320 
...
0037:Call KERNEL32.lstrlenA(007b4600 "[0036:0037][2018-10-03T17:35:45]e000:
Error 0x80070714: Failed get file version.\r\n") ret=004410a2 
...
--- snip ---

Installer log file:
"%TEMP%\\WindowsSDK\\Windows_Software_Development_Kit___Windows_10.0.17763.1_20181003173918.log":

--- snip ---
[0036:0037][2018-10-03T17:45:19]i001: Burn v3.14.0.1703, Windows v6.1 (Build
7601: Service Pack 1), path:
C:\windows\temp\{52090D73-3A9F-4784-8528-FA1427AA52C0}\.cr\WinSDKSetup.exe
[0036:0037][2018-10-03T17:45:19]i009: Command Line:
'-burn.clean.room=E:\WinSDKSetup.exe -burn.filehandle.attached=108
-burn.filehandle.self=112'
[0036:0037][2018-10-03T17:45:19]i000: Setting string variable
'WixBundleOriginalSource' to value 'E:\WinSDKSetup.exe'
[0036:0037][2018-10-03T17:45:19]i000: Setting string variable
'WixBundleOriginalSourceFolder' to value 'E:\'
[0036:0037][2018-10-03T17:45:19]i000: Setting string variable 'WixBundleLog' to
value
'C:\users\focht\Temp\windowssdk\Windows_Software_Development_Kit___Windows_10.0.17763.1_20181003174519.log'
[0036:0037][2018-10-03T17:45:19]i000: Setting string variable 'WixBundleName'
to value 'Windows Software Development Kit - Windows 10.0.17763.1'
[0036:0037][2018-10-03T17:45:19]i000: Setting string variable
'WixBundleManufacturer' to value 'Microsoft Corporation'
[0036:0037][2018-10-03T17:45:19]i000: Loading managed bootstrapper application.
[0036:0037][2018-10-03T17:45:19]i000: Creating BA thread to run asynchronously.
[0036:003E][2018-10-03T17:45:19]i000: Launch action is Install
[0036:003E][2018-10-03T17:45:19]i000: Restart action is Prompt
[0036:003E][2018-10-03T17:45:19]i000: Resume action is None
[0036:003E][2018-10-03T17:45:19]i000: Display is Full
[0036:003E][2018-10-03T17:45:19]i000: Loading new setup state
[0036:003E][2018-10-03T17:45:19]i000: Current UI Culture: en-US
[0036:003E][2018-10-03T17:45:19]i000: Setting string variable 'WixBundleName'
to value 'Windows Software Development Kit - Windows 10.0.17763.1'
[0036:003E][2018-10-03T17:45:19]i000: Model successfully created
[0036:003E][2018-10-03T17:45:19]i000: Trying to acquire global setup mutex.
[0036:003E][2018-10-03T17:45:19]i000: Setup window started running
[0036:0037][2018-10-03T17:45:19]i100: Detect begin, 75 packages
[0036:0037][2018-10-03T17:45:19]i000: Setting numeric variable 'UCRTEXISTS' to
value 1
[0036:0037][2018-10-03T17:45:19]e000: Error 0x80070714: Failed get file
version.
[0036:0037][2018-10-03T17:45:19]i000: Setting string variable 'DotNetVersion'
to value '4.6.01590'
...
[0036:0037][2018-10-03T17:45:19]i052: Condition '(VersionNT >= "6.1" OR
VersionNT64 >= "6.1") AND DotNetVersion < "4.5.3"' evaluates to false.
[0036:0037][2018-10-03T17:45:19]i052: Condition '(VersionNT >= "6.1" OR
VersionNT64 >= "6.1") AND (DotNetVersion >= "4.5.3") AND NOT (UCRTEXISTS > "0"
AND UCRTVERSION >= "10.0.0")' evaluates to true.
[0036:003E][2018-10-03T17:45:19]i000: Navigated to
Microsoft.Bootstrapper.Presentation.LocationPage
[0036:0037][2018-10-03T17:45:19]i199: Detect complete, result: 0x0
[0036:003E][2018-10-03T17:45:21]i000: Navigated to
Microsoft.Bootstrapper.Presentation.CeipPage
[0036:003E][2018-10-03T17:45:24]i000: Navigated to
Microsoft.Bootstrapper.Presentation.ThirdWarningPage
...
--- snip ---

Points to:

https://support.microsoft.com/en-us/help/3118401/update-for-universal-c-runtime-in-windows

https://social.msdn.microsoft.com/Forums/vstudio/en-US/dc3ef0b9-55d1-40e5-8ae3-25185a41967b/how-to-update-universal-c-runtime-from-10240-to-14393-for-central-deployment-on-windows-7-sp1?forum=vcgeneral

--- quote ---
KB3118401 has ucrtbase.dll 10.0.10586.9 for Windows 7 (although it is bizarrely
labeled as both 6.1.7601.19105 and 6.1.7601.23303 for WinSxS purposes). That at
least seems newer than build 10240. I don't know whether build 14393 of
ucrtbase.dll is available as an update for Windows 7.
--- quote ---

With a proper version resource present (>= 10.0.x.x), the installer continues
and shows EULA (also runs to completion later).

--- snip ---
...
[0036:0037][2018-10-03T18:06:23]i000: Setting numeric variable 'UCRTEXISTS' to
value 1
[0036:0037][2018-10-03T18:06:23]i000: Setting version variable 'UCRTVERSION' to
value '10.0.17134.165'
...
[0036:0037][2018-10-03T18:06:23]i052: Condition '(VersionNT >= "6.1" OR
VersionNT64 >= "6.1") AND DotNetVersion < "4.5.3"' evaluates to false.
[0036:0037][2018-10-03T18:06:23]i052: Condition '(VersionNT >= "6.1" OR
VersionNT64 >= "6.1") AND (DotNetVersion >= "4.5.3") AND NOT (UCRTEXISTS > "0"
AND UCRTVERSION >= "10.0.0")' evaluates to false.
[0036:003E][2018-10-03T18:06:23]i000: Navigated to
Microsoft.Bootstrapper.Presentation.LocationPage
[0036:0037][2018-10-03T18:06:23]i199: Detect complete, result: 0x0
[0036:003E][2018-10-03T18:06:25]i000: Navigated to
Microsoft.Bootstrapper.Presentation.CeipPage
[0036:003E][2018-10-03T18:06:28]i000: Navigated to
Microsoft.Bootstrapper.Presentation.EulaPage
...
--- snip ---

$ sha1sum 17763.1.180914-1434.rs5_release_WindowsSDK.iso
e702b5e5f2597d01eaee1eb1be7a34b0da0b6211 
17763.1.180914-1434.rs5_release_WindowsSDK.iso

$ du -sh 17763.1.180914-1434.rs5_release_WindowsSDK.iso 
815M    17763.1.180914-1434.rs5_release_WindowsSDK.iso

$ wine --version
wine-3.17-51-g5f4e5d9a38

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list