[Bug 48992] Plantronics Hub 3.16.1 : installation fails with error code 0x80070643 (Bluetooth USB driver installation fails due to missing 'setupapi.dll.DriverStoreFindDriverPackageW')

WineHQ Bugzilla wine-bugs at winehq.org
Wed Apr 22 04:51:43 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48992

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download, hardware,
                   |                            |Installer
         Resolution|---                         |DUPLICATE
                 CC|                            |focht at gmx.net
            Summary|Plantronics Hub 3.16.1 :    |Plantronics Hub 3.16.1 :
                   |installation fails with     |installation fails with
                   |error code 0x80070643       |error code 0x80070643
                   |                            |(Bluetooth USB driver
                   |                            |installation fails due to
                   |                            |missing
                   |                            |'setupapi.dll.DriverStoreFi
                   |                            |ndDriverPackageW')
          Component|-unknown                    |setupapi
                URL|                            |https://web.archive.org/web
                   |                            |/20200422091127/https://www
                   |                            |.plantronics.com/content/da
                   |                            |m/plantronics/software/Plan
                   |                            |tronicsHubInstaller.exe
             Status|UNCONFIRMED                 |RESOLVED

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

confirming. It's a dupe of bug 45455

Not sure if you are aware that Wine is not an Operating System. The
support/integration of low-level hardware kernel drivers is very limited - if
at all. That includes Bluetooth USB devices as well. Always research vendors
for Linux support before bying hardware that is supported on Windows/Mac only.

App log files (from main to sub-installer):

'Plantronics_Hub_Software_20200422112326.log':

--- snip ---
...
[0034:0035][2020-04-22T11:23:30]i000: Caching bundle from:
'C:\users\focht\Temp\{608FF383-261D-42E5-8DC6-444897E6A830}\.be\PlantronicsHubBootstrapper.exe'
to: 'C:\ProgramData\Package
Cache\{660520a5-ca2a-46e2-b3f2-583de8c3c97e}\PlantronicsHubBootstrapper.exe'
[0034:0035][2020-04-22T11:23:30]i320: Registering bundle dependency provider:
{660520a5-ca2a-46e2-b3f2-583de8c3c97e}, version: 3.16.52792.9293
[0034:0035][2020-04-22T11:23:30]i371: Updating session, registration key:
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{660520a5-ca2a-46e2-b3f2-583de8c3c97e},
resume: Active, restart initiated: No, disable resume: No
[0034:0038][2020-04-22T11:23:31]i305: Verified acquired payload:
OldMHUUninstaller at path: C:\ProgramData\Package
Cache\.unverified\OldMHUUninstaller, moving to: C:\ProgramData\Package
Cache\003BC3311FE6492C3B7F0EFD19AC3B5788682AFC\OldMHUUninstaller.exe.
[0034:0038][2020-04-22T11:23:31]i305: Verified acquired payload: PLTHub_x64 at
path: C:\ProgramData\Package Cache\.unverified\PLTHub_x64, moving to:
C:\ProgramData\Package
Cache\{84735F93-B686-473D-B42E-A665F3F3A430}v3.16.52792.9293\PlantronicsHubInstaller_x64.msi.
[0034:0035][2020-04-22T11:23:31]i301: Applying execute package:
OldMHUUninstaller, action: Install, path: C:\ProgramData\Package
Cache\003BC3311FE6492C3B7F0EFD19AC3B5788682AFC\OldMHUUninstaller.exe,
arguments: '"C:\ProgramData\Package
Cache\003BC3311FE6492C3B7F0EFD19AC3B5788682AFC\OldMHUUninstaller.exe" /install
/quiet'
[002F:0030][2020-04-22T11:23:35]i319: Applied execute package:
OldMHUUninstaller, result: 0x0, restart: None
[0034:0035][2020-04-22T11:23:35]i323: Registering package dependency provider:
{84735F93-B686-473D-B42E-A665F3F3A430}, version: 3.16.52792.9293, package:
PLTHub_x64
[0034:0035][2020-04-22T11:23:35]i301: Applying execute package: PLTHub_x64,
action: Install, path: C:\ProgramData\Package
Cache\{84735F93-B686-473D-B42E-A665F3F3A430}v3.16.52792.9293\PlantronicsHubInstaller_x64.msi,
arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" SILENT_LAUNCH="0"
ALLOW_METRICS="0" TENANT_ID="id" TENANT_TOKEN="token" SERVER_URL="url"
CLIENT_MODE="mode" NETWORK_SHARE="share" INSTALLER_TYPE="bundle"
HUB_INSTALL="hub" HIDEDESKTOPSHORTCUT="default" SYSTEMID="1" STARTUP="1"'
[0034:0035][2020-04-22T11:24:01]e000: Error 0x80070643: Failed to install MSI
package.
[0034:0035][2020-04-22T11:24:01]e000: Error 0x80070643: Failed to execute MSI
package.
[002F:0030][2020-04-22T11:24:01]e000: Error 0x80070643: Failed to configure
per-machine MSI package.
[002F:0030][2020-04-22T11:24:01]i319: Applied execute package: PLTHub_x64,
result: 0x80070643, restart: None
[002F:0030][2020-04-22T11:24:01]e000: Error 0x80070643: Failed to execute MSI
package.
...
--- snip ---

'Plantronics_Hub_Software_20200422112326_001_PLTHub_x64.log':

--- snip ---
...
Action 11:23:50: MsiInstallDrivers. 
Action start 11:23:50: MsiInstallDrivers.
DIFXAPP: ENTER: InstallDriverPackages()
DIFXAPP: INFO: 'CustomActionData' property 'DIFxApp Version' is '2.1'.
DIFXAPP: INFO: 'CustomActionData' property 'UI Level' is '2'.
DIFXAPP: INFO: 'CustomActionData' property 'componentId' is
'{3986C860-168E-4050-894D-DEFBE1A86EA3}'.
DIFXAPP: INFO: 'CustomActionData' property 'componentPath' is 'C:\Program
Files\Common Files\Plantronics\CSR\'.
DIFXAPP: INFO: 'CustomActionData' property 'flags' is 0x2.
DIFXAPP: INFO: 'CustomActionData' property 'installState' is '2'.
DIFXAPP: INFO: 'CustomActionData' property 'ProductName' is 'Plantronics Hub
Software'.
DIFXAPP: INFO: 'CustomActionData' property 'ManufacturerName' is 'Plantronics,
Inc.'.
DIFXAPP: INFO: user SID of user performing the install is
'S-1-5-21-0-0-0-1000'.
DIFXAPP: INFO: opening
HKEY_USERS\S-1-5-21-0-0-0-1000\Software\Microsoft\Windows\CurrentVersion\DIFxApp\Components\{3986C860-168E-4050-894D-DEFBE1A86EA3}
(User's SID: 'S-1-5-21-0-0-0-1000') ...
DIFXAPP: INFO:   ENTER:  DriverPackageInstallW
DIFXAPP: INFO:   RETURN: DriverPackageInstallW  (0x65B)
DIFXAPP: ERROR: encountered while installing driver package 'C:\Program
Files\Common Files\Plantronics\CSR\PLTCSRBCxUSB.inf'
DIFXAPP: ERROR: InstallDriverPackages failed with error 0x65B
DIFXAPP: RETURN: InstallDriverPackages() 1627 (0x65B)
Action ended 11:23:50: MsiInstallDrivers. Return value 0.
Action ended 11:23:50: InstallFinalize. Return value 0.
Action ended 11:23:50: INSTALL. Return value 0.
...
--- snip ---

Relevant part of trace log:

--- snip ---
$ WINEDEBUG=+seh,+relay,+msi,+setupapi wine ./PlantronicsHubInstaller.exe
>>log.txt 2>&1
...
0035:trace:msi:ACTION_CustomAction Handling custom action L"MsiInstallDrivers"
(c01 L"DIFxAppA.dll" L"InstallDriverPackages") 
...
0035:trace:msi:HANDLE_CustomType1 Calling function L"InstallDriverPackages"
from L"C:\\users\\focht\\Temp\\msi1ef9.tmp" 
...
0035:trace:msi:wait_thread_handle waiting for L"MsiInstallDrivers" 
...
0064:Call KERNEL32.LoadLibraryW(01c27fd0
L"C:\\users\\focht\\Temp\\msi1ef9.tmp") ret=180024a5c 
...
0064:Ret  KERNEL32.LoadLibraryW() retval=02430000 ret=180024a5c
0064:Call KERNEL32.GetProcAddress(02430000,01c339d0 "InstallDriverPackages")
ret=180024a75
0064:Ret  KERNEL32.GetProcAddress() retval=02445a74 ret=180024a75
0064:Call KERNEL32.GetEnvironmentVariableA(1800a07b4
"MsiBreak",0241fb50,00000104) ret=180024af6
...
0064:Call msi.MsiRecordSetStringW(00000002,00000000,0241ed30 L"DIFXAPP: ENTER:
InstallDriverPackages()") ret=02443855 
...
0064:Call setupapi.SetupOpenInfFileW(01c35f18 L"C:\\Program Files\\Common
Files\\Plantronics\\CSR\\PLTCSRBCxUSB.inf",00000000,00000002,0241f250)
ret=0246545a 
...
0064:trace:setupapi:SetupOpenInfFileW L"C:\\Program Files\\Common
Files\\Plantronics\\CSR\\PLTCSRBCxUSB.inf" -> 0000000001C36140
0064:Ret  setupapi.SetupOpenInfFileW() retval=01c36140 ret=0246545a
...
0064:Call KERNEL32.MultiByteToWideChar(00000000,00000000,021e0000 ";
Installation inf for the CSR Casira Bluetooth Module\r\n;\r\n; Copyright \xa9
2006-2008 CSR plc \r\n; Copyright \xa9 2010
Plantronics\r\n;\r\n\r\n\r\n[Version]\r\nSignature=\"$Windows
NT$\"\r\nClass=USB\r\nClassGUID={36fc9e60-c465-11cf-8056-444553540000}\r\nProvider=%CSR%\r\nDriverVer=10/"...,00000d43,01c4c380,00000d43)
ret=0086fa53 
...
0064:trace:setupapi:SetupGetStringFieldW context
0000000001C36140/0000000001C36140/0/5 index 1 returning L"PLTCSRBCxUSB.cat" 
...
0064:Call setupapi.pSetupGetGlobalFlags() ret=02467dad
0064:fixme:setupapi:pSetupGetGlobalFlags stub
0064:Ret  setupapi.pSetupGetGlobalFlags() retval=00000000 ret=02467dad
0064:Call setupapi.pSetupSetGlobalFlags(00000000) ret=02467dc8
0064:Ret  setupapi.pSetupSetGlobalFlags() retval=0086cac0 ret=02467dc8 
...
0064:Call msvcrt._wcsicmp(01c35f18 L"C:\\Program Files\\Common
Files\\Plantronics\\CSR\\PLTCSRBCxUSB.inf",01c301a8
L"C:\\windows\\Inf\\PLTCSRBCxUSB.inf") ret=02450030
0064:Ret  msvcrt._wcsicmp() retval=fffffff9 ret=02450030
...
0064:Call KERNEL32.LoadLibraryW(02439ba8 L"setupapi.dll") ret=024683bd
...
0064:Ret  KERNEL32.LoadLibraryW() retval=00850000 ret=024683bd
0064:Call KERNEL32.GetProcAddress(00850000,02439be8
"DriverStoreFindDriverPackageW") ret=024683e2
0064:Ret  KERNEL32.GetProcAddress() retval=00000000 ret=024683e2
...
0064:Call setupapi.pSetupGetGlobalFlags() ret=02467dad
0064:fixme:setupapi:pSetupGetGlobalFlags stub
0064:Ret  setupapi.pSetupGetGlobalFlags() retval=00000000 ret=02467dad
0064:Call setupapi.pSetupSetGlobalFlags(00000004) ret=02467dc8
0064:Ret  setupapi.pSetupSetGlobalFlags() retval=0086cac0 ret=02467dc8
...
0064:Call msi.MsiRecordSetStringW(00000002,00000000,0241ed30 L"DIFXAPP: ERROR:
InstallDriverPackages failed with error 0x65B") ret=02443855 
...
--- snip ---

$ sha1sum PlantronicsHubInstaller.exe 
83b235026a186e8b36d2fbf9e43aa03cc5e01750  PlantronicsHubInstaller.exe

$ du -sh PlantronicsHubInstaller.exe 
118M    PlantronicsHubInstaller.exe

$ wine --version
wine-5.6-299-gf65cfbfe9b

Regards

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

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