[Bug 36468] Daemon tools 3.47 fails to install miniport drivers (SetupDiCallClassInstaller is a stub)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 14 13:36:43 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=36468

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
            Version|unspecified                 |1.7.18
                URL|                            |http://www.oldapps.com/daem
                   |                            |on_tools.php?old_daemon_too
                   |                            |ls=2?download
           Keywords|                            |download, obfuscation
          Component|-unknown                    |setupapi
                 CC|                            |focht at gmx.net
         Resolution|---                         |DUPLICATE
            Summary|Daemon tools 3.47 on WINE   |Daemon tools 3.47 fails to
                   |1.7.18 installation crashes |install miniport drivers
                   |                            |(SetupDiCallClassInstaller
                   |                            |is a stub)

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

NOTE: You tried to install the app in existing _broken_ WINEPREFIX.

The terminal message 'service L"SecDrv" failed to start' indicates that.
SafeDisc/SecuROM driver obviously isn't part of 'Daemon Tools' software.

Don't do that, it makes bug reports invalid.
Always install software in its own clean (new!) WINEPREFIX.

Anyway, it still fails with clean prefix.

Relevant part of trace log:

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+setupapi wine ./daemon347.exe >>log.txt 2>&1
...
003f:trace:msi:ACTION_CallDllFunction calling L"_DaemonDriverInstall at 4" 
...
003f:Call KERNEL32.CopyFileA(0078e788
"C:\\windows\\SYSTEM32\\Drivers\\stormbus.sys",0078e558
"C:\\windows\\SYSTEM32\\Drivers\\d347bus.sys",00000001) ret=100061c2
003f:Ret  KERNEL32.CopyFileA() retval=00000001 ret=100061c2
003f:Call KERNEL32.CopyFileA(0078e670
"C:\\windows\\SYSTEM32\\Drivers\\STORMPRT.sys",0078e440
"C:\\windows\\SYSTEM32\\Drivers\\d347prt.sys",00000001) ret=10006249
003f:Ret  KERNEL32.CopyFileA() retval=00000001 ret=10006249
003f:Call KERNEL32.DeleteFileA(0078e788
"C:\\windows\\SYSTEM32\\Drivers\\stormbus.sys") ret=100064de
003f:Ret  KERNEL32.DeleteFileA() retval=00000001 ret=100064de
003f:Call KERNEL32.DeleteFileA(0078e670
"C:\\windows\\SYSTEM32\\Drivers\\STORMPRT.sys") ret=100064f7
003f:Ret  KERNEL32.DeleteFileA() retval=00000001 ret=100064f7 
...
003f:Call KERNEL32.LoadLibraryA(1000f488 "newdev.dll") ret=10006518
...
003f:Ret  KERNEL32.LoadLibraryA() retval=f6f90000 ret=10006518
003f:Call KERNEL32.GetProcAddress(f6f90000,1000f464
"UpdateDriverForPlugAndPlayDevicesA") ret=1000652c
003f:Ret  KERNEL32.GetProcAddress() retval=f6f976ec ret=1000652c
...
003f:Call advapi32.OpenSCManagerA(00000000,00000000,000f003f) ret=10001c27 
...
003f:Ret  advapi32.OpenSCManagerA() retval=005c16c0 ret=10001c27
003f:Call advapi32.CreateServiceA(005c16c0,100160c8
"d347prt",00000000,00010002,00000001,00000000,00000000,0078dfac
"\\SystemRoot\\System32\\Drivers\\d347prt.sys",1000f3e8 "SCSI
miniport",00000000,00000000,00000000,00000000) ret=10005912 
...
003f:Ret  advapi32.CreateServiceA() retval=0017b1c0 ret=10005912
003f:Call advapi32.RegCreateKeyExA(80000002,0078dfac
"System\\CurrentControlSet\\Services\\d347prt\\Parameters\\PnpInterface",00000000,00000000,00000000,000f003f,00000000,0078df1c,00000000)
ret=10005974
003f:Ret  advapi32.RegCreateKeyExA() retval=00000000 ret=10005974
003f:Call advapi32.RegSetValueExA(000000c8,1000ec40
"0",00000000,00000004,0078dfac,00000004) ret=100059b1
003f:Ret  advapi32.RegSetValueExA() retval=00000000 ret=100059b1
...
003f:Call setupapi.SetupDiCreateDeviceInfoA(005c17c8,1000efe4
"SYSTEM",1000f4c4,0078ddf4 "PnP BIOS Extension",00000000,00000003,0078dd94)
ret=100040fc
...
003f:trace:setupapi:SetupDiCreateDeviceInfoW 0x5c17c8 L"SYSTEM"
{4d36e97d-e325-11ce-bfc1-08002be10318} L"PnP BIOS Extension" (nil) 3 0x78dd94
...
003f:Call advapi32.RegCreateKeyExW(80000002,f72fddc0
L"System\\CurrentControlSet\\Enum",00000000,00000000,00000000,000f003f,00000000,0078dae8,00000000)
ret=f72d2113
003f:Ret  advapi32.RegCreateKeyExW() retval=00000000 ret=f72d2113
003f:Call advapi32.RegCreateKeyExW(000000c4,005c1fb0
L"ROOT\\SYSTEM\\0000",00000000,00000000,00000000,0002001f,00000000,0078dae4,00000000)
ret=f72d216b
003f:Ret  advapi32.RegCreateKeyExW() retval=00000000 ret=f72d216b
003f:Call advapi32.RegCloseKey(000000c4) ret=f72d2179
003f:Ret  advapi32.RegCloseKey() retval=00000000 ret=f72d2179
003f:Call advapi32.RegSetValueExW(000000c8,f72fdf48
L"Phantom",00000000,00000004,0078db4c,00000004) ret=f72d2442
003f:Ret  advapi32.RegSetValueExW() retval=00000000 ret=f72d2442
...
003f:trace:setupapi:SETUPDI_AddDeviceToSet 0x5c17c8,
{4d36e97d-e325-11ce-bfc1-08002be10318}, 0, L"ROOT\\SYSTEM\\0000", 1
...
003f:trace:setupapi:SetupDiSetDeviceRegistryPropertyW 0x5c17c8 0x5c1fe8 8
0x78db72 76
003f:Call advapi32.RegSetValueExW(000000c8,f72fdc00
L"ClassGUID",00000000,00000001,0078db72,0000004c) ret=f72d89e1
003f:Ret  advapi32.RegSetValueExW() retval=00000000 ret=f72d89e1
003f:trace:setupapi:SetupDiSetDeviceRegistryPropertyW 0x5c17c8 0x5c1fe8 0
0x5c17f8 36
003f:Call advapi32.RegSetValueExW(000000c8,f72fddfc
L"DeviceDesc",00000000,00000001,005c17f8,00000024) ret=f72d89e1
003f:Ret  advapi32.RegSetValueExW() retval=00000000 ret=f72d89e1
...
003f:Ret  setupapi.SetupDiCreateDeviceInfoA() retval=00000001 ret=100040fc
...
003f:Call
setupapi.SetupDiSetDeviceRegistryPropertyA(005c17c8,0078dd94,00000001,0078ddb4,0000000e)
ret=10004136
003f:trace:setupapi:SetupDiSetDeviceRegistryPropertyA 0x5c17c8 0x78dd94 1
0x78ddb4 14
003f:Call advapi32.RegSetValueExA(000000c8,f72fe2f1
"HardwareId",00000000,00000007,0078ddb4,0000000e) ret=f72d880f
003f:Ret  advapi32.RegSetValueExA() retval=00000000 ret=f72d880f
003f:Ret  setupapi.SetupDiSetDeviceRegistryPropertyA() retval=00000001
ret=10004136 
...
003f:Call setupapi.SetupDiCallClassInstaller(00000019,005c17c8,0078dd94)
ret=10004188
003f:fixme:setupapi:SetupDiCallClassInstaller 25 0x5c17c8 0x78dd94
003f:Ret  setupapi.SetupDiCallClassInstaller() retval=00000000 ret=10004188
003f:Call KERNEL32.GetLastError() ret=1000365d
003f:Ret  KERNEL32.GetLastError() retval=00000103 ret=1000365d 
...
003f:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 2 L"1: 25001 2: 25007
(0x61AF), 259 (0x103)  " 
...
003f:trace:msi:DllThread custom action (3f) returned 1603
...
0037:err:msi:ITERATE_Actions Execution halted, action L"DaemonDriverInstall"
returned 1603 
...
0037:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"Action ended
19:25:13: ExecuteAction. Return value 1603." 
...
0037:Call user32.CreateWindowExW(00000000,7ed71440 L"Static",005fdf28
L"Installation
Incomplete",50020000,0000000c,0000000c,00000198,0000002c,00060078,00000000,00000000,00000000)
ret=7ecfd752 
...
0037:trace:msi:MSI_FormatRecordW L"{\\VSI_MS_Sans_Serif13.0_0_0}The installer
was interrupted before [ProductName] could be installed. You need to restart
the installer to try again.\r\n\r\nClick \"Close\" to exit." 
--- snip ---

It fails because setupapi.SetupDiCallClassInstaller() is a stub. 
On success it would later call newdev.UpdateDriverForPlugAndPlayDevicesA().
The custom action dll internally presets error code 0x643/ERROR_INSTALL_FAILURE
@ 0x1000400A which isn't cleared unless everything succeeds.

The app tries to install two PnP device drivers 'd347bus.sys' and 'd347prt.sys'
which can't possibly work with Wine anyway - even if the non-existing PnP
device manager infrastructure would be present.

Not sure what you are trying to achieve but CD/DVD device emulation is
definitely outside the scope of Wine.
What you are looking for is 'CDEmu'. This is a Linux equivalent to Daemon
Tools. 

BTW most SafeDisc/SecuROM versions _work_ with Wine.
So there is no reason to work around/circumvent copy protection/DRM unless you
are using pirated stuff.

Dupe of bug 33498

$ sha1sum daemon347.exe 
7a1d1af799096c81977f3ef3f9221fb2f278eb44  daemon347.exe

$ du -sh daemon347.exe 
496K    daemon347.exe

$ wine --version
wine-1.7.18-136-g0fb88f8

Regards

*** This bug has been marked as a duplicate of bug 33498 ***

-- 
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.



More information about the wine-bugs mailing list