https://bugs.winehq.org/show_bug.cgi?id=36068
Bug ID: 36068
Summary: Symantec Norton 360 installer needs
advapi32.dll.GetTraceEnableLevel and
advapi32.GetTraceEnableFlags stubs
Product: Wine
Version: 1.7.17
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: advapi32
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
continuation of bug 35835
--- snip ---
$ wine ./N360-TW-21.1.0-EN-US.exe
...
fixme:advapi:GetTraceLoggerHandle ((nil)) stub
wine: Call from 0x7b83ac57 to unimplemented function
advapi32.dll.GetTraceEnableLevel, aborting
fixme:msvcrt:__clean_type_info_names_internal (0x6c2dd03c) stub
fixme:msvcrt:__clean_type_info_names_internal (0x6ac72c5c) stub
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000100
--- snip ---
MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363894%28v=vs.85%…
The code (engine.dll) calls these trace API in sequence:
--- snip ---
GetTraceLoggerHandle()
GetTraceEnableLevel()
GetTraceEnableFlags()
--- snip ---
If you add 'GetTraceEnableLevel' and 'GetTraceEnableFlags' stubs it should be
fine.
$ sha1sum N360-TW-21.1.0-EN-US.exe
aa05ccf9668e166ef28923d451f1c2ecad6f75f1 N360-TW-21.1.0-EN-US.exe
$ du -sh N360-TW-21.1.0-EN-US.exe
202M N360-TW-21.1.0-EN-US.exe
$ wine --version
wine-1.7.17-53-g5d31c1e
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.
https://bugs.winehq.org/show_bug.cgi?id=36143
Bug ID: 36143
Summary: Symantec Norton 360 installer reports 'This product is
not compatible with this computer's current operating
system' (RtlVerifyVersionInfo doesn't handle
major/minor/service pack condition mask properly)
Product: Wine
Version: 1.7.17
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks
continuation of bug 36142 - it still fails.
Log file:
--- snip ---
2014-04-28-12-43-53-422 : 0x003A : Information : LaunchConditions_Server set to
true from manifest
2014-04-28-12-43-53-424 : 0x003A : Error : unsupported OS
2014-04-28-12-43-53-425 : 0x003A : Error :
CEngineManager::CheckLaunchConditions(7777) : failed LaunchCondition:
CheckforMinOS
2014-04-28-12-43-53-427 : 0x003A : Information : Unable to delete
DING\ReturnCode/LCReturnCode
2014-04-28-12-43-53-436 : 0x003A : Information : URL:
http://errors.norton.com?module=9999&error=2&build=Symantec&d=0&entsrc=N360…
2014-04-28-12-43-53-440 : 0x003A : Information : RunOnce: removed "N360"
--- snip ---
URL:
https://support.norton.com/sp/en/us/home/current/solutions/kb20090814170416…
--- quote ---
The Norton product that you want to install is compatible only with the
following operating systems:
Windows XP Home Service Pack 2 and later (32-bit only)
Windows XP Professional Service Pack 2 and later (32-bit only)
Windows XP Media Center Edition 2005 Service Pack 2 and later (32-bit only)
Windows Vista 32-bit and 64-bit Starter/Home Basic/Home
Premium/Business/Ultimate
The current versions of Norton AntiVirus, Norton Internet Security, Norton
360, and Norton Anti-Theft require Service Pack 1 or later for Windows Vista.)
Windows 7 32-bit and 64-bit Starter/Home Basic/Home
Premium/Professional/Ultimate
Windows 8 and Windows 8 Pro (32-bit and 64-bit)
If you have Windows 7, Vista, or XP, you can get the latest Service Pack by
running Windows Update.
--- quote ---
This is with default WINEPREFIX (WinVer == 'Windows XP SP3').
Relevant part of trace log:
--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+ver wine ./N360-TW-21.1.0-EN-US.exe >>log.txt
2>&1
...
0038:Call ntdll.VerSetConditionMask(00000000,00000000,00000002,00000001)
ret=6ac30caf
0038:Ret ntdll.VerSetConditionMask() retval=0000000000000008 ret=6ac30caf
0038:Call ntdll.VerSetConditionMask(00000008,00000000,00000001,00000001)
ret=6ac30cb5
0038:Ret ntdll.VerSetConditionMask() retval=0000000000000009 ret=6ac30cb5
0038:Call ntdll.VerSetConditionMask(00000009,00000000,00000020,00000003)
ret=6ac30cbd
0038:Ret ntdll.VerSetConditionMask() retval=0000000000018009 ret=6ac30cbd
0038:Call ntdll.VerSetConditionMask(00018009,00000000,00000010,00000003)
ret=6ac30cc5
0038:Ret ntdll.VerSetConditionMask() retval=000000000001b009 ret=6ac30cc5
0038:Call ntdll.VerSetConditionMask(0001b009,00000000,00000080,00000001)
ret=6ac30ccf
0038:Ret ntdll.VerSetConditionMask() retval=000000000021b009 ret=6ac30ccf
0038:Call KERNEL32.VerifyVersionInfoW(00bbe1d4,000000b3,0021b009,00000000)
ret=6ac30cf1
0038:trace:ver:RtlVerifyVersionInfo (0xbbe1d4,0xb3,0x21b009)
0038:Ret KERNEL32.VerifyVersionInfoW() retval=00000000 ret=6ac30cf1
0038:Call KERNEL32.VerifyVersionInfoW(00bbe1d4,000000b3,0021b009,00000000)
ret=6ac30d1d
0038:trace:ver:RtlVerifyVersionInfo (0xbbe1d4,0xb3,0x21b009)
0038:Ret KERNEL32.VerifyVersionInfoW() retval=00000000 ret=6ac30d1d
0038:Call msvcr100.memset(00bbe1d4,00000000,0000011c) ret=6ac30f42
0038:Ret msvcr100.memset() retval=00bbe1d4 ret=6ac30f42
0038:Call ntdll.VerSetConditionMask(00000000,00000000,00000002,00000001)
ret=6ac30f7a
0038:Ret ntdll.VerSetConditionMask() retval=0000000000000008 ret=6ac30f7a
0038:Call ntdll.VerSetConditionMask(00000008,00000000,00000001,00000001)
ret=6ac30f80
0038:Ret ntdll.VerSetConditionMask() retval=0000000000000009 ret=6ac30f80
0038:Call ntdll.VerSetConditionMask(00000009,00000000,00000020,00000001)
ret=6ac30f87
0038:Ret ntdll.VerSetConditionMask() retval=0000000000008009 ret=6ac30f87
0038:Call ntdll.VerSetConditionMask(00008009,00000000,00000010,00000003)
ret=6ac30f8f
0038:Ret ntdll.VerSetConditionMask() retval=000000000000b009 ret=6ac30f8f
0038:Call ntdll.VerSetConditionMask(0000b009,00000000,00000080,00000001)
ret=6ac30f99
0038:Ret ntdll.VerSetConditionMask() retval=000000000020b009 ret=6ac30f99
0038:Call KERNEL32.VerifyVersionInfoW(00bbe1d4,000000b3,0020b009,00000000)
ret=6ac30faf
0038:trace:ver:RtlVerifyVersionInfo (0xbbe1d4,0xb3,0x20b009)
0038:Ret KERNEL32.VerifyVersionInfoW() retval=00000000 ret=6ac30faf
0038:Call ntdll.VerSetConditionMask(00000000,00000000,00000002,00000003)
ret=6ac30fcb
0038:Ret ntdll.VerSetConditionMask() retval=0000000000000018 ret=6ac30fcb
0038:Call ntdll.VerSetConditionMask(00000018,00000000,00000001,00000003)
ret=6ac30fd2
0038:Ret ntdll.VerSetConditionMask() retval=000000000000001b ret=6ac30fd2
0038:Call ntdll.VerSetConditionMask(0000001b,00000000,00000020,00000003)
ret=6ac30fda
0038:Ret ntdll.VerSetConditionMask() retval=000000000001801b ret=6ac30fda
0038:Call ntdll.VerSetConditionMask(0001801b,00000000,00000010,00000003)
ret=6ac30fe2
0038:Ret ntdll.VerSetConditionMask() retval=000000000001b01b ret=6ac30fe2
0038:Call KERNEL32.VerifyVersionInfoW(00bbe1d4,00000033,0001b01b,00000000)
ret=6ac30fef
0038:trace:ver:RtlVerifyVersionInfo (0xbbe1d4,0x33,0x1b01b)
0038:Ret KERNEL32.VerifyVersionInfoW() retval=00000000 ret=6ac30fef
...
0038:Call msvcr100.vswprintf_s(09211686,00000054,6c2772f0
L"CEngineManager::CheckLaunchConditions(7777) : failed LaunchCondition:
CheckforMinOS",00bbe468) ret=6abd42e3
0038:Ret msvcr100.vswprintf_s() retval=00000053 ret=6abd42e3
--- snip ---
The problem is not really visible, one has to debug it out.
Source:
http://source.winehq.org/git/wine.git/blob/0463d01f151fb3d7c7acf26c7628683f…
--- snip ---
679 NTSTATUS WINAPI RtlVerifyVersionInfo( const RTL_OSVERSIONINFOEXW *info,
680 DWORD dwTypeMask, DWORDLONG dwlConditionMask )
681 {
682 RTL_OSVERSIONINFOEXW ver;
683 NTSTATUS status;
...
725 if(dwTypeMask &
(VER_MAJORVERSION|VER_MINORVERSION|VER_SERVICEPACKMAJOR|VER_SERVICEPACKMINOR))
726 {
727 unsigned char condition = 0;
728 BOOLEAN do_next_check = TRUE;
729
730 if(dwTypeMask & VER_MAJORVERSION)
731 condition = dwlConditionMask >> 1*3 & 0x07;
732 else if(dwTypeMask & VER_MINORVERSION)
733 condition = dwlConditionMask >> 0*3 & 0x07;
734 else if(dwTypeMask & VER_SERVICEPACKMAJOR)
735 condition = dwlConditionMask >> 5*3 & 0x07;
736 else if(dwTypeMask & VER_SERVICEPACKMINOR)
737 condition = dwlConditionMask >> 4*3 & 0x07;
738
739 if(dwTypeMask & VER_MAJORVERSION)
740 {
741 status = version_compare_values(ver.dwMajorVersion,
info->dwMajorVersion, condition);
742 do_next_check = (ver.dwMajorVersion == info->dwMajorVersion) &&
743 ((condition != VER_EQUAL) || (status == STATUS_SUCCESS));
744 }
745 if((dwTypeMask & VER_MINORVERSION) && do_next_check)
746 {
747 status = version_compare_values(ver.dwMinorVersion,
info->dwMinorVersion, condition);
748 do_next_check = (ver.dwMinorVersion == info->dwMinorVersion) &&
749 ((condition != VER_EQUAL) || (status == STATUS_SUCCESS));
750 }
...
--- snip ---
Multiple version info members can be verified at once (represented by type mask
and condition pair).
The code to extract the conditions is wrong (if-elseif-elseif.. single cond
var)
It captures only the condition for the first member present (type mask) and
subsequently uses this value for other members which might have different
conditions.
$ sha1sum N360-TW-21.1.0-EN-US.exe
aa05ccf9668e166ef28923d451f1c2ecad6f75f1 N360-TW-21.1.0-EN-US.exe
$ du -sh N360-TW-21.1.0-EN-US.exe
202M N360-TW-21.1.0-EN-US.exe
$ wine --version
wine-1.7.17-92-ge2bf516
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.
http://bugs.winehq.org/show_bug.cgi?id=21557
Summary: .net 3.0 redistributable installer aborts after
clicking 'OK'
Product: Wine
Version: 1.1.37
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: regression
Severity: normal
Priority: P2
Component: wintrust
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
http://appdb.winehq.org/objectManager.php?sClass=version&iId=9828
says "winetricks dotnet30" works but says there is a "large delay near
the end of installation". This seems to be true with wine-1.1.31,
but with current wine, it aborts after a few seconds instead.
Looking in c:/users/$LOGNAME/Temp, I see dd_dotnetfx3error.txt which says
[01/30/10,16:19:12] XPSEPSC x86 Installer: [2] Error code 1603 for this
component means "ERROR_INSTALL_FAILURE"
and dd_XPS.txt (?) which says STR_FAILED_INF_INTEGRITY.
Could this be the same regression as bug 21542?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=21549
Summary: Windows PowerShell 1.x installer dies on unimplemented
function USERENV.dll.138
Product: Wine
Version: 1.1.37
Platform: x86
URL: http://www.google.de/search?q=WindowsXP-KB926139-v2-x8
6-ENU.exe
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
after working around bug 21542, the installer dies in post-install action:
--- snip ---
0030:Starting process
L"C:\\3f9c459343b0ee6273e24b88b0d982f2\\update\\update.exe"
(entryproc=0x1065e2c)
...
0030:Call shlwapi.PathFileExistsW(0033ad50 L"C:\\users\\Public\\Start
Menu\\Programs") ret=68ad8ae7
0030:Call KERNEL32.SetErrorMode(00000001) ret=68c4a703
0030:Ret KERNEL32.SetErrorMode() retval=00008005 ret=68c4a703
0030:Call KERNEL32.GetFileAttributesW(0033ad50 L"C:\\users\\Public\\Start
Menu\\Programs") ret=68c4a714
0030:Ret KERNEL32.GetFileAttributesW() retval=00000010 ret=68c4a714
0030:Call KERNEL32.SetErrorMode(00008005) ret=68c4a725
0030:Ret KERNEL32.SetErrorMode() retval=00000001 ret=68c4a725
0030:Ret shlwapi.PathFileExistsW() retval=00000001 ret=68ad8ae7
0030:Call KERNEL32.WideCharToMultiByte(00000000,00000000,0033b00c
L"C:\\users\\Public\\Start
Menu\\Programs",ffffffff,0033b33c,00000104,00000000,00000000) ret=68ad8d7d
0030:Ret KERNEL32.WideCharToMultiByte() retval=00000024 ret=68ad8d7d
0030:Ret shell32.SHGetSpecialFolderPathA() retval=00000001 ret=01072df8
0030:Call KERNEL32.FindFirstFileA(0033b544 "C:\\users\\Public\\Start
Menu\\Programs\\Windows PowerShell 1.0\\@.lnk",0033b18c) ret=0106da6d
0030:Ret KERNEL32.FindFirstFileA() retval=ffffffff ret=0106da6d
0030:trace:seh:raise_exception code=80000100 flags=1 addr=0x7bc4af8a
ip=7bc4af8a tid=0030
0030:trace:seh:raise_exception info[0]=0108d004
0030:trace:seh:raise_exception info[1]=0000008a
wine: Call from 0x7bc4af8a to unimplemented function USERENV.dll.138, aborting
0030:trace:seh:call_vectored_handlers calling handler at 0x68ec9e52
code=80000100 flags=1
0030:trace:seh:call_vectored_handlers handler at 0x68ec9e52 returned 0
0030:trace:seh:call_vectored_handlers calling handler at 0x6879bdc6
code=80000100 flags=1
0030:trace:seh:call_vectored_handlers handler at 0x6879bdc6 returned 0
0030:trace:seh:call_stack_handlers calling handler at 0x1066099 code=80000100
flags=1
0030:Call msvcrt._except_handler3(0033b25c,0033f37c,0033aeec,0033add0)
ret=7bc77ab5
...
--- snip ---
Dumping userenv imports for the installer:
--- snip ---
$ winedump -j import update.exe
...
offset 0008c2f4 USERENV.dll
Hint/Name Table: 0008D824
TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970)
ForwarderChain: 00000000
First thunk RVA: 000017F8
Ordn Name
138 <by ordinal>
121 <by ordinal>
119 <by ordinal>
...
--- snip ---
Actually only ordinal 138 seems to get used (Wine 'Windows XP' config).
Unfortunately I didn't find anything useful about this one (MSDN, blogs, Bing
..) :-(
By analyzing the caller stack setup we can deduce the necessary information to
create a simple stub.
The installer calls the ordinal like this:
--- snip ---
$ winedbg disas
...
0x01072e9b: pushl 0xffffff88(%ebp)
0x01072e9e: leal 0xbc(%ebp),%eax
0x01072ea4: pushl %eax
0x01072ea5: leal 0x5d0(%ebp),%eax
0x01072eab: pushl %eax
0x01072eac: pushl 0xffffff9c(%ebp)
0x01072eaf: leal 0x2c4(%ebp),%eax
0x01072eb5: pushl 0xffffffa0(%ebp)
0x01072eb8: pushl %eax
0x01072eb9: pushl 0xffffffa4(%ebp)
0x01072ebc: leal 0x4cc(%ebp),%eax
0x01072ec2: pushl %eax
0x01072ec3: leal 0x3c8(%ebp),%eax
0x01072ec9: pushl %eax
0x01072eca: leal 0x7d8(%ebp),%eax
0x01072ed0: pushl %eax
0x01072ed1: leal 0x6d4(%ebp),%eax
0x01072ed7: pushl %eax
0x01072ed8: pushl 0xffffffb4(%ebp)
0x01072edb: call *0x10017f8 -> 0x00450000
0x01072ee1: cmpl %ebx,%eax
0x01072ee3: movl %eax,0xffffffa8(%ebp)
0x01072ee6: jnz 0x01072f0c
...
--- snip ---
number of arguments: 12
calling conv: stdcall
return type: most likely boolean (like the other known userenv API).
Armed with this information one can add a simple stub, export with ordinal 138,
-noname and 12 ptr params, name it whatever you like.
If you find any documented name, feel free to use it.
If we fake the stub to return FALSE, following messages will be logged to:
"c:\windows\KB926139-v2.log"
--- snip ---
22.312:
Failed To Create Link -3 Windows PowerShell
22.314:
Failed To Create Link -3 Release Notes
22.316:
Failed To Create Link -3 Getting Started
22.319:
Failed To Create Link -3 User Guide
22.321:
Failed To Create Link -3 Quick Reference
--- snip ---
So this API is most likely some Lnk creation stuff.
Anyway, that simple stub is sufficient to let the installer proceed with its
post-install steps.
In the end, the installer runs into bug 16876 (bug in property sheet control).
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.