http://bugs.winehq.org/show_bug.cgi?id=33498
Bug #: 33498 Summary: Microsoft Windows CE Platform Manager 4.0 sub-installer of Embedded VC++ 4.0 fails (setupapi.SetupDiCallClassInstaller needs more flesh) Product: Wine Version: 1.5.29 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: setupapi AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
continuation of bug 18096
Embedded VC++ 4.0 download available here: http://download.cnet.com/Microsoft-eMbedded-Visual-C/3000-2212_4-10108490.ht...
The failing sub-installer can be run manually:
$ wine msiexec /i "platman_sdk.msi" PLATMAN_INSTALLDIR="C:\Program Files\Common Files\Microsoft Shared\Windows CE Tools\Platman"
--- snip --- 0042:Call setupapi.SetupDiSetDeviceRegistryPropertyW(008f93f8,04e0e564,00000001,004d0010,00000016) ret=10001862 0042:trace:setupapi:SetupDiSetDeviceRegistryPropertyW 0x8f93f8 0x4e0e564 1 0x4d0010 22 0042:Call advapi32.RegSetValueExW(000000dc,f7397af0 L"HardwareID",00000000,00000007,004d0010,00000016) ret=f737190b 0042:Ret advapi32.RegSetValueExW() retval=00000000 ret=f737190b 0042:Ret setupapi.SetupDiSetDeviceRegistryPropertyW() retval=00000001 ret=10001862 ... 0042:warn:debugstr:OutputDebugStringA " InstallRootEnumeratedDriver: Before SetupDiCallClassInstaller\n" ... 0042:Call setupapi.SetupDiCallClassInstaller(00000019,008f93f8,04e0e564) ret=100018a0 0042:fixme:setupapi:SetupDiCallClassInstaller 25 0x8f93f8 0x4e0e564 0042:Ret setupapi.SetupDiCallClassInstaller() retval=00000000 ret=100018a0 0042:Call KERNEL32.GetLastError() ret=100013db 0042:Ret KERNEL32.GetLastError() retval=00000000 ret=100013db 0042:Call KERNEL32.FormatMessageW(00001100,00000000,00000000,00000400,04e0e52c,00000000,00000000) ret=10001401 0042:Ret KERNEL32.FormatMessageW() retval=0000000a ret=10001401 ... 0042:warn:debugstr:OutputDebugStringA "SetupDiCallClassInstaller() failed: No additional information is available.\n" ... 0042:warn:debugstr:OutputDebugStringA " InstallRootEnumeratedDriver: Before UpdateDriverForPlugAndPlayDevices\n" ... 0042:warn:debugstr:OutputDebugStringA "InstallRootEnumeratedDriver() failed: No additional information is available.\n" ... 0042:warn:debugstr:OutputDebugStringA " InstallDevice: InstalledDevice returned hr=80004005\n" ... 0042:warn:debugstr:OutputDebugStringA " InstallDevice: Installation failed\n" --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/a829c2b3ad5ac82ad658a22722f169a7d...
--- snip --- 3673 /*********************************************************************** 3674 * SetupDiCallClassInstaller (SETUPAPI.@) 3675 */ 3676 BOOL WINAPI SetupDiCallClassInstaller( 3677 DI_FUNCTION InstallFunction, 3678 HDEVINFO DeviceInfoSet, 3679 PSP_DEVINFO_DATA DeviceInfoData) 3680 { 3681 FIXME("%d %p %p\n", InstallFunction, DeviceInfoSet, DeviceInfoData); 3682 return FALSE; 3683 } --- snip ---
$ du -sh eVC4.exe 225M eVC4.exe
$ sha1sum eVC4.exe 85ddfcf8daf3e4e499a8ba817d8d4021a061fcbb eVC4.exe
$ wine --version wine-1.5.29-38-g8e4317c
Regards
http://bugs.winehq.org/show_bug.cgi?id=33498
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://download.cnet.com/Mi | |crosoft-eMbedded-Visual-C/3 | |000-2212_4-10108490.html
http://bugs.winehq.org/show_bug.cgi?id=33498
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.cnet.com/Mi |http://www.usb-over-network |crosoft-eMbedded-Visual-C/3 |.com/usb-over-network-clien |000-2212_4-10108490.html |t.msi Summary|Microsoft Windows CE |Multiple application |Platform Manager 4.0 |installers need |sub-installer of Embedded |setupapi.SetupDiCallClassIn |VC++ 4.0 fails |staller implementation (USB |(setupapi.SetupDiCallClassI |over Network 5, Microsoft |nstaller needs more flesh) |Windows CE Platform Manager | |4.0/sub-installer of | |Embedded VC++ 4.0)
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
still present.
Refining summary as multiple application installers suffer from this. Adjusting download to much smaller 'USB over Network 5' installer.
Download: http://www.usb-over-network.com/usb-over-network-client.msi
--- snip --- ... 0037:Call setupapi.SetupDiSetDeviceRegistryPropertyW(0021a508,0042e628,00000001,0057a7d0,0000002c) ret=100067f9 0037:trace:setupapi:SetupDiSetDeviceRegistryPropertyW 0x21a508 0x42e628 1 0x57a7d0 44 0037:Call advapi32.RegSetValueExW(000000ac,f69e1470 L"HardwareID",00000000,00000007,0057a7d0,0000002c) ret=f69bb950 0037:Ret advapi32.RegSetValueExW() retval=00000000 ret=f69bb950 0037:Ret setupapi.SetupDiSetDeviceRegistryPropertyW() retval=00000001 ret=100067f9 0037:Call setupapi.SetupDiCallClassInstaller(00000019,0021a508,0042e628) ret=10006a1d 0037:fixme:setupapi:SetupDiCallClassInstaller 25 0x21a508 0x42e628 0037:Ret setupapi.SetupDiCallClassInstaller() retval=00000000 ret=10006a1d ... 0037:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0042e588) ret=1000a0d1 0037:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a89f ip=7b83a89f tid=0037 0037:trace:seh:raise_exception info[0]=19930520 0037:trace:seh:raise_exception info[1]=0042e5d0 0037:trace:seh:raise_exception info[2]=10019e24 0037:trace:seh:raise_exception eax=7b826921 ebx=7b8ba000 ecx=19930520 edx=0042e4d4 esi=0042e574 edi=0042e540 0037:trace:seh:raise_exception ebp=0042e518 esp=0042e4b4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=0020028 --- snip ---
$ sha1sum usb-over-network-client.msi 169bdacccdfbae382c9aeb2a6f3a1a6fdc3d014c usb-over-network-client.msi
$ du -sh usb-over-network-client.msi 4.1M usb-over-network-client.msi
$ wine --version wine-1.7.9-209-gb231b4b
Regards
http://bugs.winehq.org/show_bug.cgi?id=33498
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |27211
http://bugs.winehq.org/show_bug.cgi?id=33498
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marty.jelen@seznam.cz
--- Comment #2 from Anastasius Focht focht@gmx.net --- *** Bug 36468 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33498
Jaro jaromir@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaromir@mailinator.com
--- Comment #3 from Jaro jaromir@mailinator.com --- Still an issue
wine 1.7.32
https://bugs.winehq.org/show_bug.cgi?id=33498
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- The download links don't work for me. Still valid issue 1.7.50(git).
https://bugs.winehq.org/show_bug.cgi?id=33498
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #5 from Anastasius Focht focht@gmx.net --- *** Bug 27427 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33498
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Assignee|wine-bugs@winehq.org |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=33498
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- I have an implementation of SetupDiCallClassInstaller(), but that's only one part of the puzzle and a very minor one at that. UpdateDriverForPlugAndPlayDevices() is the second part, work in ntoskrnl to fix our broken PNP implementation is the third and most daunting part.
https://bugs.winehq.org/show_bug.cgi?id=33498
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- This is essentially addressed by https://source.winehq.org/git/wine.git/commitdiff/43ee138d4747722cfc7d27e59014a47c3003a898, but it probably makes more sense to hold off closing this bug until the rest of the PnP work is in.
https://bugs.winehq.org/show_bug.cgi?id=33498
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=33498
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |81cda52d15317d065074fb06073 | |2b0f30bf99e4f
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- As of https://source.winehq.org/git/wine.git/commitdiff/81cda52d15317d065074fb060732b0f30bf99e4f the bulk of the work necessary to implement native PnP drivers is in, and it's possible for a native PnP driver to be installed, to be detected by services.exe and have its root-enumerated devices started, and to correctly add and remove child devices.
In particular, the "Toaster" sample from the Windows 7 DDK is now fully functional, at least with the "incomplete2" function driver.
Since there are no further bugs necessarily blocking *all* PnP drivers from functioning any further, I'm electing to close this bug now. There's more work necessary to get the applications originally listed here, but that should be relegated to new bugs.
https://bugs.winehq.org/show_bug.cgi?id=33498
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.20.
https://bugs.winehq.org/show_bug.cgi?id=33498
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|z.figura12@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=33498
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download links via Internet Archive:
https://web.archive.org/web/20121116093001/http://www.usb-over-network.com/u...
https://web.archive.org/web/20201008100829/https://download.microsoft.com/do...
Regards
https://bugs.winehq.org/show_bug.cgi?id=33498
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.usb-over-network |https://web.archive.org/web |.com/usb-over-network-clien |/20121116093001/http://www. |t.msi |usb-over-network.com/usb-ov | |er-network-client.msi