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