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@winehq.org Reporter: focht@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-runt...
https://social.msdn.microsoft.com/Forums/vstudio/en-US/dc3ef0b9-55d1-40e5-8a...
--- 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
https://bugs.winehq.org/show_bug.cgi?id=45928
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |https://software-download.m | |icrosoft.com/download/pr/17 | |763.1.180914-1434.rs5_relea | |se_WindowsSDK.iso
https://bugs.winehq.org/show_bug.cgi?id=45928
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62457 --> https://bugs.winehq.org/attachment.cgi?id=62457 patch
patch add version resource. Will send it to wine-devel
https://bugs.winehq.org/show_bug.cgi?id=45928
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1622abbb081c1afe052d1676989 | |8976e90f98062 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/1622abbb081c1afe052d167698...
Thanks Louis
Regards
https://bugs.winehq.org/show_bug.cgi?id=45928
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.18.
https://bugs.winehq.org/show_bug.cgi?id=45928
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=45928
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.5.
https://bugs.winehq.org/show_bug.cgi?id=45928
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://software-download.m |https://web.archive.org/web |icrosoft.com/download/pr/17 |/20190317015617/https://sof |763.1.180914-1434.rs5_relea |tware-download.microsoft.co |se_WindowsSDK.iso |m/download/pr/17763.1.18091 | |4-1434.rs5_release_WindowsS | |DK.iso