https://bugs.winehq.org/show_bug.cgi?id=50854
Bug ID: 50854 Summary: Elgato Stream Deck 4.9.3 (.NET 4.5 app) installer reports 'This application is only supported on Windows 10 Anniversary Update (1511) or higher.' ('advapi32.dll' version must be >= 6.3.10000.0) Product: Wine Version: 6.4 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
continuation of bug 50849 with native .NET Framework 4.5 as workaround.
Even with Windows version set to 'Windows 10' the installer reports 'This application is only supported on Windows 10 Anniversary Update (1511) or higher.'. It uses version resource check.
--- snip --- $ WINEDEBUG=+seh,+relay,+msi,+loaddll \ wine msiexec -i Stream_Deck_4.9.3.13222.msi >>log.txt 2>&1 ... 0100:trace:msi:ITERATE_AppSearch L"WIN10FOUND" L"searchFile" 0100:trace:msi:get_signature package 0019C498, sig 0033F6C0 ... 0100:trace:msi:get_signature Found file name L"advapi32.dll" for Signature_ L"searchFile"; 0100:trace:msi:get_signature MinVersion is 6.3.10000.0 0100:trace:msi:get_signature MaxVersion is 0.0.0.0 0100:trace:msi:get_signature MinSize is 0, MaxSize is 0; 0100:trace:msi:get_signature Languages is (null) ... 0100:trace:msi:recurse_search_directory Searching directory L"C:\windows\syswow64\" for file L"advapi32.dll", depth 0 ... 0100:Call version.GetFileVersionInfoW(0021ed98 L"C:\windows\syswow64\advapi32.dll",00000000,000006c4,0021f588) ret=100338bb ... 0100:Ret version.GetFileVersionInfoW() retval=00000001 ret=100338bb ... 0100:Call version.VerQueryValueW(0021f588,1008b938 L"\",0033eff0,0033efe0) ret=10016227 ... 0100:Ret version.VerQueryValueW() retval=00000001 ret=10016227 0100:trace:msi:file_version_matches comparing file version 5.1.2600.2180: 0100:trace:msi:file_version_matches less than minimum version 6.3.10000.0 01 ... 0100:trace:msi:msi_get_property property L"WIN10FOUND" not found ... 0100:trace:msi:MSI_EvaluateConditionW 1 <- L"NOT WIN10FOUND" ... 0100:trace:msi:ACTION_PerformAction Performing action (L"NotWin10Error") ... 0100:trace:msi:ACTION_CustomAction Handling custom action L"NotWin10Error" (13 (null) L"This application is only supported on Windows 10 Anniversary Update (1511) or higher.") ... 0100:Call user32.MessageBoxW(00000000,0021f9f0 L"This application is only supported on Windows 10 Anniversary Update (1511) or higher.",00000000,00000000) ret=100228bd ... --- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/d1764a45cfd12f8c5699fd7428cf90f9...
--- snip --- 19 #define WINE_FILEDESCRIPTION_STR "Wine advapi32 dll" 20 #define WINE_FILENAME_STR "advapi32.dll" 21 #define WINE_FILEVERSION 5,1,2600,2180 22 #define WINE_FILEVERSION_STR "5.1.2600.2180" 23 #define WINE_PRODUCTVERSION 5,1,2600,2180 24 #define WINE_PRODUCTVERSION_STR "5.1.2600.2180" --- snip ---
$ sha1sum Stream_Deck_4.9.3.13222.msi d54a6df51519c5028eeb27b8f1a577d50a62e375 Stream_Deck_4.9.3.13222.msi
$ du -sh Stream_Deck_4.9.3.13222.msi 96M Stream_Deck_4.9.3.13222.msi
$ wine --version wine-6.4
Regards