https://bugs.winehq.org/show_bug.cgi?id=56005
Bug ID: 56005 Summary: spacedesk Windows 10 installer hangs on "Installing spacedesk Service" Product: Wine Version: 8.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: user.pecheniok@gmail.com Distribution: ---
Created attachment 75623 --> https://bugs.winehq.org/attachment.cgi?id=75623 Step where the installer hangs
Installer launches with Windows version set to 11, but hangs at the "Installing spacedesk Server" step. This process still seems to be executing in the background and using 8-9% of the CPU, however: C:\users*myusername*\Temp\msi298b.tmp -install_server,C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles\
https://bugs.winehq.org/show_bug.cgi?id=56005
--- Comment #1 from Zak user.pecheniok@gmail.com --- (In reply to Zak from comment #0)
Created attachment 75623 [details] Step where the installer hangs
Installer launches with Windows version set to 11, but hangs at the "Installing spacedesk Server" step. This process still seems to be executing in the background and using 8-9% of the CPU, however: C:\users*myusername*\Temp\msi298b.tmp -install_server,C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles\
Upon terminating that process, the setup is able to finish and, if using winetricks, even creates a shortcut.
https://bugs.winehq.org/show_bug.cgi?id=56005
--- Comment #2 from Zak user.pecheniok@gmail.com --- https://pastebin.com/zDfFKL9X The program hangs with this https://pastebin.com/qzVEMnvp The same, but with wine debugger. Stopped it after the installation froze.
https://bugs.winehq.org/show_bug.cgi?id=56005
--- Comment #3 from Zak user.pecheniok@gmail.com --- As of wine 9.0 rc3 built from AUR, nothing has changed.
https://bugs.winehq.org/show_bug.cgi?id=56005
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com --- Created attachment 75891 --> https://bugs.winehq.org/attachment.cgi?id=75891 Wine output from successful spacedesk installation
I cannot reproduce a crash or hang when installing Spacedesk in a clean Wine prefix using the 64-bit msi installer for v2.1.09 on 9.0-rc5. The installer reaches the "Completed the spacedesk Windows DRIVER Setup Wizard" page after the "Installing spacedesk Service" step.
https://bugs.winehq.org/show_bug.cgi?id=56005
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://spacedesk.net/downl | |oads/spacedesk_driver_Win_1 | |0_64_v2109.msi
https://bugs.winehq.org/show_bug.cgi?id=56005
--- Comment #5 from Zak user.pecheniok@gmail.com --- (In reply to Andrew Nguyen from comment #4)
Created attachment 75891 [details] Wine output from successful spacedesk installation
I cannot reproduce a crash or hang when installing Spacedesk in a clean Wine prefix using the 64-bit msi installer for v2.1.09 on 9.0-rc5. The installer reaches the "Completed the spacedesk Windows DRIVER Setup Wizard" page after the "Installing spacedesk Service" step.
The newest version from the website does install even on rc3. I did not know the app got updated, so tested with the v1708 installer, which still hangs.
https://bugs.winehq.org/show_bug.cgi?id=56005
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #75891|0 |1 is obsolete| |
--- Comment #6 from Andrew Nguyen arethusa26@gmail.com --- Created attachment 75896 --> https://bugs.winehq.org/attachment.cgi?id=75896 +msi,+setupapi installer trace
I was able to find the msi installer for v1.0.75 via archive.org and reproduce the hang condition you reported.
The hang seems to be occurring in a process spawned by an MSI custom action:
0180:trace:msi:ACTION_CustomAction Handling custom action L"CaInstall_spacedeskServer" (c02 L"bin_setupExe64" L"-install_server,[INSTALLFOLDER_MAIN]")
The custom action invokes the setupapi function InstallHinfSectionW to perform the service installation:
0220:trace:setupapi:InstallHinfSectionW hwnd 0000000000000000, handle 0000000000000000, cmdline L"DefaultInstall 128 C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles\spacedeskService.inf"
However, it seems to be getting stuck in a loop trying to copy the service executable to the destination directory:
0220:trace:setupapi:SetupDefaultQueueCallbackW start queue 0220:trace:setupapi:SetupDefaultQueueCallbackW start subqueue 0 count 3 0220:trace:setupapi:SetupDefaultQueueCallbackW need media L"C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles" L"spacedeskService.exe" ... 0220:trace:setupapi:queue_copy_file copying file L"C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles\spacedeskService.exe" -> L"C:\windows\system32\spacedeskService.exe" ... 0220:warn:setupapi:do_file_copyW failed to copy, err 2 0220:trace:setupapi:SetupDefaultQueueCallbackW need media L"C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles" L"spacedeskService.exe" ... 0220:trace:setupapi:SetupDefaultQueueCallbackW need media L"C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles" L"spacedeskService.exe" ...
The service executable is already installed in "C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles\amd64" but the setupapi operation keeps looking for it in "C:\Program Files\datronicsoft\spacedeskTemporarySetupFiles" instead.
https://bugs.winehq.org/show_bug.cgi?id=56005
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://spacedesk.net/downl |https://web.archive.org/web |oads/spacedesk_driver_Win_1 |/20231107101650if_/https:// |0_64_v2109.msi |spacedesk.net/downloads/spa | |cedesk_driver_Win_10_64_v10 | |75_BETA.msi
https://bugs.winehq.org/show_bug.cgi?id=56005
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #7 from Andrew Nguyen arethusa26@gmail.com --- The installer hang no longer occurs with the fix that addresses bug 48455. Resolving duplicate.
*** This bug has been marked as a duplicate of bug 48455 ***
https://bugs.winehq.org/show_bug.cgi?id=56005
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.