[Bug 1019] - IpGetProfileString16 returns wrong release string.
wine-bugs at winehq.com
wine-bugs at winehq.com
Tue Sep 10 02:02:51 CDT 2002
http://bugs.winehq.com/show_bug.cgi?id=1019
------- Additional Comments From mcbridematt at hotmail.com 2002-09-10 02:02 -------
Sorry for that.
I downloaded IE 5.5 setup and it had that problem in there to, and microsoft
claims IE 5.5 does run on Windows 95 (which wine returns from IpGetProfileString16).
I remember that the original IE5 installer did work, but failed to install IE
itself.
trace:setupapi:GenFormStrWithoutPlaceHolders16 "2.5" -> "2.5"
trace:setupapi:SetupOpenInfFileW L"E:\\IXP001.TMP\\IESetup.inf" -> 0x403ca7c8
trace:setupapi:SetupFindNextMatchLineW (0x403ca7c8,L"Version",L"signature"):
returning 0
trace:setupapi:IpGetProfileString16 0x403ca7c8: section "version" entry
"signature" ret "$Chicago$"
trace:setupapi:GenFormStrWithoutPlaceHolders16 "2.5" -> "2.5"
trace:setupapi:SetupOpenInfFileW L"E:\\IXP001.TMP\\IESetup.inf" -> 0x403c97c0
trace:setupapi:SetupFindNextMatchLineW (0x403c97c0,L"Version",L"signature"):
returning 0
trace:setupapi:IpGetProfileString16 0x403c97c0: section "version" entry
"signature" ret "$Chicago$"
trace:setupapi:GenFormStrWithoutPlaceHolders16 "CustInstDestSection" ->
"CustInstDestSection"
trace:setupapi:SetupOpenInfFileW L"E:\\IXP001.TMP\\IESetup.inf" -> 0x403cc7d0
trace:setupapi:SetupFindNextMatchLineW (0x403cc7d0,L"Version",L"signature"):
returning 0
trace:setupapi:IpGetProfileString16 0x403cc7d0: section "version" entry
"signature" ret "$Chicago$"
trace:setupapi:GenFormStrWithoutPlaceHolders16
"HKLM,\"Software\\Microsoft\\Windows\\CurrentVersion\",\"ProgramFilesDir\",,\"%24%\\%LProgramF%\""
->
"HKLM,\"Software\\Microsoft\\Windows\\CurrentVersion\",\"ProgramFilesDir\",,\"C:\\\\Program
Files\""
Notice IpGetProfileString16 returns $Chicago$, which is the codename for Windows
95 and which Windows 95 uses to identify itself. (also appears in INF files)
Searching for some answers, I looked to the wine debugger:
$ winedbg ie6setup.exe --debugmsg +relay
then backtraced:
Wine-dbg>bt
Backtrace:
=>0 0x400e2853 (start_process+0x2a3 [process.c] in libntdll.dll.so) (ebp=405c6f2
8)
1 0x400e7bbe (call_on_thread_stack+0x8e [sysdeps.c] in libntdll.dll.so) (ebp=4
05c6ff4)
2 0x400e7d5c (SYSDEPS_CallOnStack+0x14 in libntdll.dll.so) (ebp=00000000)
then disassembled it:
Wine-dbg>disassemble
0x400e2853 (start_process+0x2a3 [process.c] in libntdll.dll.so): xorl %eax,%ea
x
0x400e2855 (start_process+0x2a5 [process.c] in libntdll.dll.so): movl %eax,%fs
:0x60
0x400e285b (start_process+0x2ab [process.c] in libntdll.dll.so): movl $0x0,0x0
(%esp)
0x400e2862 (start_process+0x2b2 [process.c] in libntdll.dll.so): call *0xfffff
f6c(%ebp)
0x400e2868 (start_process+0x2b8 [process.c] in libntdll.dll.so): subl $4,%esp
0x400e286b (start_process+0x2bb [process.c] in libntdll.dll.so): movl %eax,0x0
(%esp)
0x400e286e (start_process+0x2be [process.c] in libntdll.dll.so): call 0x40058b
f8 (_init+0x13c0 in libntdll.dll.so)
0x400e2873 (start_process+0x2c3 [process.c] in libntdll.dll.so): xorl %esi,%es
i
0x400e2875 (start_process+0x2c5 [process.c] in libntdll.dll.so): jmp 0x400e26
51 (start_process+0xa1 [process.c] in libntdll.dll.so)
0x400e287a (start_process+0x2ca [process.c] in libntdll.dll.so): leal 0x0(%esi
),%esi
Ie6setup killed itself, then wine's own debugger made an exception, and opened
gdb:
(gdb) #0 0x402f1bf1 in ?? ()
(gdb) #1 0x404c7a42 in ?? ()
(gdb) #2 0x404e11b1 in ?? ()
(gdb) #3 0x400f2848 in ?? ()
(gdb) #4 0x400f1fbf in ?? ()
(gdb) #5 0x400f2382 in ?? ()
(gdb) #6 0x400ff372 in ?? ()
(gdb) #7 0x400ff8c1 in ?? ()
(gdb) #8 <signal handler called>
(gdb) #9 0x404da1c2 in ?? ()
(gdb) #10 0x404e00f2 in ?? ()
(gdb) #11 0x404e1326 in ?? ()
(gdb) #12 0x404dece3 in ?? ()
(gdb) #13 0x404df117 in ?? ()
(gdb) #14 0x404c21a0 in ?? ()
(gdb) #15 0x400e2868 in ?? ()
(gdb) #16 0x400e7bbe in ?? ()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1019>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
More information about the wine-bugs
mailing list