The author identified a solution for installing Yandex Direct Commander on Linux, which previously failed due to a faulty installer. The issue stems from the Wine environment's PowerShell stub, which incorrectly reports that the application is already running, causing the installer to loop.
By disabling the built-in PowerShell stub in Wine using the registry key 'HKCU\Software\Wine\DllOverrides', the installer functions correctly. This method allows for a standard installation process, enables automatic updates, and ensures that Wine automatically creates functional desktop and menu shortcuts.
This approach replaces previous workarounds, such as manual file extraction or using environment variables for every launch. The author has updated the installation scripts and provided documentation on GitHub, noting that the fix is compatible with both 32-bit and 64-bit versions of the software.
The findings have been documented in the WineHQ AppDB and linked to the relevant bug report in Bugzilla. This solution resolves installation failures observed across various Wine runners, including Bottles and CrossOver, by addressing the shared underlying dependency issue.




