http://bugs.winehq.org/show_bug.cgi?id=58829
Bug ID: 58829 Summary: Harmony Assistant 9.9.9i Product: Wine Version: 10.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dheorchestra@gmail.com Distribution: ---
Created attachment 79500 --> http://bugs.winehq.org/attachment.cgi?id=79500 Harmony Assistant Windows Version 9.9.9i 64bits
I am not able to download and install the latest Windows version of Harmony Assistant 9.9.9i.64 bits This has not been a problem in the past.
http://bugs.winehq.org/show_bug.cgi?id=58829
Scott dheorchestra@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
--- Comment #1 from Scott dheorchestra@gmail.com --- Linux Lite 7.6
http://bugs.winehq.org/show_bug.cgi?id=58829
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #2 from Bernhard Übelacker bernhardu@mailbox.org --- Hello, - why does the installation not work? Do you get any error message? - When it did work in the past, was it with this exact version 9.9.9i.64?
http://bugs.winehq.org/show_bug.cgi?id=58829
--- Comment #3 from Scott dheorchestra@gmail.com --- When I try to install Harmony Assistant 9.9.9i I receive error messages."Impossible to write. Quit the application or delete the target folder before retrying. I deleted the target folder but it didn't make a difference. I was using a previous version of Harmony Assistant with WINE without any problems. I made new target folder, but it didn't make any difference. I tried to install a previous version of HA and received the same error messages.
http://bugs.winehq.org/show_bug.cgi?id=58829
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://web.archive.org/web | |/20251023084629/https://www | |.myriad-online.com/win/harm | |ony999i-x64-install.exe
--- Comment #4 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Scott from comment #3) Thanks for providing more details.
I was using a previous version of Harmony Assistant with WINE without any problems.
So it were previous Harmony Assistant version that worked and the installer for the recent version makes something different. The last version at archive.org, 998d-x64, installs without issue: https://web.archive.org/web/*/https://www.myriad-online.com/win/harmony*
When I try to install Harmony Assistant 9.9.9i I receive error messages."Impossible to write. Quit the application or delete the target folder before retrying. I deleted the target folder but it didn't make a difference. I made new target folder, but it didn't make any difference. I tried to install a previous version of HA and received the same error messages.
I could reproduce the error message here. As far as I see it is caused by this CreateFileW:
---- 0024:trace:file:CreateFileW L"C:\Program Files\Harmony Assistant\Models\Modeles.cfg" GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE creation 2 attributes 0x80 0024:warn:file:CreateFileW Unable to create file L"C:\Program Files\Harmony Assistant\Models\Modeles.cfg" (status c000003a) 0024:trace:file:CreateFileW returning FFFFFFFFFFFFFFFF ----
This CreateFileW returns an error because the directory is (no longer) existing, because the installer removed it some moments before:
---- 0024:trace:file:RemoveDirectoryW L"C:\Program Files\Harmony Assistant\Models" ----
If the removal of this directory can be avoided by placing something inside the directory not that easily deleteable like this before starting the installer, it installs successfully:
---- mkdir -p "$WINEPREFIX/drive_c/Program Files/Harmony Assistant/Models/lock/lock" chmod 000 "$WINEPREFIX/drive_c/Program Files/Harmony Assistant/Models/lock" wine harmony998d-x64-install.exe chmod 777 "$WINEPREFIX/drive_c/Program Files/Harmony Assistant/Models/lock" ----
Another workaround, if building from source, is to early return from RemoveDirectoryW without actually removing the directory.
So either the installer behaves with Wine differently and does not remove this directory at Windows, or at Windows the directory is "locked" by some open file or such, making the directory not getting removed. Unfortunately I cannot tell which one is the case.
http://bugs.winehq.org/show_bug.cgi?id=58829
--- Comment #5 from Scott dheorchestra@gmail.com --- Thanks for looking at this issue. I am sending a copy of Comment 4 to someone at Myriad Software. Maybe they can tell what has changed in their installer.