http://bugs.winehq.org/show_bug.cgi?id=32945
Bug #: 32945 Summary: Fetion 2013 January reported the OS version is too old Product: Wine Version: 1.5.23 Platform: x86 URL: http://download.fetion-portal.com/Fetion2013_January.e xe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: litimetal@gmail.com Classification: Unclassified
Created attachment 43507 --> http://bugs.winehq.org/attachment.cgi?id=43507 screenshot
My computer: Fedora 16 32bit wine-1.5.23-81-g237ed21
1. remove ~/.wine then $wine notepad to have a clean wineprefix 2. download Fetion from http://download.fetion-portal.com/Fetion2013_January.exe 3. wine Fetion2013_January.exe
Then the program would show a dialog. Brief Translation: "The Version of your OS is too old. Please use an OS whose virsion is higher than Win 2000 SP4 or Win XP SP2. Will you continue anyway?"
I chose yes, and the installation *seemed* to finish successfully.
BTW, It seems that this program has more than one bug.
http://bugs.winehq.org/show_bug.cgi?id=32945
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=29769
http://bugs.winehq.org/show_bug.cgi?id=32945
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |fracting@gmail.com Ever Confirmed|0 |1
--- Comment #1 from Qian Hong fracting@gmail.com 2013-02-10 20:49:20 CST --- Confirming.
+relay,+module log shows:
0024:Call KERNEL32.GetModuleHandleA(00409f70 "C:\users\fracting\Temp\nso69e6.tmp\Version.dll") ret=00401f82 trace:module:LdrGetDllHandle L"C:\users\fracting\Temp\nso69e6.tmp\Version.dll" -> (nil) (load path L"Z:\home\fracting\Wine\fetion;.;C:\windows\system32;C:\windows\system;C:\windows;C:\windows\system32;C:\windows;C:\windows\system32\wbem") 0024:Ret KERNEL32.GetModuleHandleA() retval=00000000 ret=00401f82 0024:Call KERNEL32.LoadLibraryExA(00409f70 "C:\users\fracting\Temp\nso69e6.tmp\Version.dll",00000000,00000008) ret=00401f92 trace:module:load_dll looking for L"C:\users\fracting\Temp\nso69e6.tmp\Version.dll" in L"C:\users\fracting\Temp\nso69e6.tmp;.;C:\windows\system32;C:\windows\system;C:\windows;C:\windows\system32;C:\windows;C:\windows\system32\wbem" trace:module:get_load_order looking for L"C:\users\fracting\Temp\nso69e6.tmp\Version.dll" trace:module:get_load_order got hardcoded default for L"C:\users\fracting\Temp\nso69e6.tmp\Version.dll" trace:module:load_builtin_dll Trying built-in L"C:\users\fracting\Temp\nso69e6.tmp\Version.dll" warn:module:load_builtin_dll failed to load .so lib for builtin L"C:\users\fracting\Temp\nso69e6.tmp\Version.dll": /home/fracting/.wine/dosdevices/c:/users/fracting/Temp/nso69e6.tmp/Version.dll: 无效的 ELF 头 trace:module:load_builtin_dll Trying built-in L"Version.dll" trace:module:load_builtin_dll Found L"C:\windows\system32\version.dll" at 0x7eff0000 for builtin L"C:\users\fracting\Temp\nso69e6.tmp\Version.dll" 0024:Call PE DLL (proc=0x7effc4ac,module=0x7eff0000 L"version.dll",reason=WINE_PREATTACH,res=(nil)) 0024:Ret PE DLL (proc=0x7effc4ac,module=0x7eff0000 L"version.dll",reason=WINE_PREATTACH,res=(nil)) retval=1 trace:module:load_dll Loaded module L"C:\users\fracting\Temp\nso69e6.tmp\Version.dll" (builtin) at 0x7eff0000 0024:Ret KERNEL32.LoadLibraryExA() retval=7eff0000 ret=00401f92 0024:Call KERNEL32.GetProcAddress(7eff0000,00409b70 "GetWindowsVersion") ret=00401fa2 0024:Ret KERNEL32.GetProcAddress() retval=00000000 ret=00401fa2
Fetion 2013 has a native Version.dll, for some reason the Wine builtin version.dll is loaded and Fetion fail to find GetWindowsVersion in version.dll.
Workaround by setting 'version.dll' to 'native,builtin' in winecfg.
http://bugs.winehq.org/show_bug.cgi?id=32945
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2013-02-10 21:25:11 CST --- It's the one with md5 ebc5bb904cdac1c67ada3fa733229966 ? I extracted it from installer archive and it's an application provided module which happens to be named like windows system dll. I'm not sure if it's the same thing but it looks like Office 2007/2010 failure to pick riched20 from application directory and using builtin one instead.
http://bugs.winehq.org/show_bug.cgi?id=32945
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=14980
http://bugs.winehq.org/show_bug.cgi?id=32945
--- Comment #3 from lizhenbo litimetal@gmail.com 2013-02-10 22:04:23 CST --- (In reply to comment #2)
It's the one with md5 ebc5bb904cdac1c67ada3fa733229966 ? I extracted it from installer archive and it's an application provided module which happens to be named like windows system dll. I'm not sure if it's the same thing but it looks like Office 2007/2010 failure to pick riched20 from application directory and using builtin one instead.
$ md5sum Version.dll ebc5bb904cdac1c67ada3fa733229966 Version.dll It's the DLL you mentioned.
The DLL from Fetion $ winedump -j export Version.dll --snip-- Entry Pt Ordn Name 00001F70 1 IsWindows98orLater 00001F20 2 IsWindowsPlatform9x 00001ED0 3 IsWindowsPlatformNT 00002150 4 IsWindows2003 000020F0 5 IsWindowsXP 00002030 6 IsWindows2000 00001E70 7 IsWindowsNT40 00001E10 8 IsWindowsNT351 00002090 9 IsWindowsME 00001FD0 10 IsWindows98 00001DB0 11 IsWindows95 000021B0 12 IsWindows31 00002200 13 GetWindowsVersion --snip--
The DLL from a Windows XP SP2 computer --snip-- 00001A50 1 GetFileVersionInfoA 000019FF 2 GetFileVersionInfoSizeA 00001391 3 GetFileVersionInfoSizeW 0000167F 4 GetFileVersionInfoW 000024F5 5 VerFindFileA 000033D0 6 VerFindFileW 0000271F 7 VerInstallFileA 0000377E 8 VerInstallFileW 00001342 9 VerLanguageNameA (-> KERNEL32.VerLanguageNameA) 0000135C 10 VerLanguageNameW (-> KERNEL32.VerLanguageNameW) 000018BA 11 VerQueryValueA 00002980 12 VerQueryValueIndexA 000029A7 13 VerQueryValueIndexW 00001815 14 VerQueryValueW --snip--
The function list in Wine's source, /wine-git/dlls/version/version.spec --- GetFileVersionInfoA(str long long ptr) GetFileVersionInfoSizeA(str ptr) GetFileVersionInfoSizeW(wstr ptr) GetFileVersionInfoW(wstr long long ptr) VerFindFileA(long str str str ptr ptr ptr ptr) VerFindFileW(long wstr wstr wstr ptr ptr ptr ptr) VerInstallFileA(long str str str str str ptr ptr) VerInstallFileW(long wstr wstr wstr wstr wstr ptr ptr) VerLanguageNameA(long str long) kernel32.VerLanguageNameA VerLanguageNameW(long wstr long) kernel32.VerLanguageNameW VerQueryValueA(ptr str ptr ptr) VerQueryValueW(ptr wstr ptr ptr) ----
http://bugs.winehq.org/show_bug.cgi?id=32945
--- Comment #4 from Qian Hong fracting@gmail.com 2013-02-10 22:12:32 CST --- (In reply to comment #2)
It's the one with md5 ebc5bb904cdac1c67ada3fa733229966 ? I extracted it from installer archive and it's an application provided module which happens to be named like windows system dll. I'm not sure if it's the same thing but it looks like Office 2007/2010 failure to pick riched20 from application directory and using builtin one instead.
Thanks Nikolay.
Yes, users/XXX/Temp/YYY.tmp/Version.dll is provided by Fetion.dll, I have the same md5 with yours.
I wonder if it is a good idea to choose native-than-builtin when trying load a dll with a full path, but http://bugs.winehq.org/show_bug.cgi?id=14980#c9 said it is a bad idea.
In http://bugs.winehq.org/show_bug.cgi?id=14980#c15 :'it would be ok for the loader to check the version of the native dll with the version of the builtin one, and use the native one if higher.'
In this bug, the vendor description of Version.dll from Fetion is different with version.dll from Wine as well, is that a good idea to check the vendor description from dll resource, and use native if it is a non-MS dll?
https://bugs.winehq.org/show_bug.cgi?id=32945
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Component|-unknown |ntdll Resolution|--- |DUPLICATE Summary|Fetion 2013 January |Fetion 2013 January |reported the OS version is |reported the OS version is |too old |too old (loader: builtin | |'version.dll' vs. private | |path 'version.dll')
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
dupe of bug 29678
Regards
*** This bug has been marked as a duplicate of bug 29678 ***
https://bugs.winehq.org/show_bug.cgi?id=32945
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Ken Sharp imwellcushtymelike@gmail.com --- Closing bugs marked as duplicate.
https://bugs.winehq.org/show_bug.cgi?id=32945
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.fetion-port |https://web.archive.org/web |al.com/Fetion2013_January.e |/20140719090103/http://down |xe |load.fetion-portal.com/Feti | |on2013_January.exe