Closed tobias-kuendig closed 3 years ago
It says
07a8:err:msi:ITERATE_Actions Execution halted, action L"LaunchConditions" returned 1603
so it fails to install. Which wine-version do you run?
Thank you for your reply. This happens on wine-6.9 (Staging)
, but I also had the problem on 6.0 stable
Hmm, strange then. Could you try (in some other prefix) to run the installer manually and see what happens? https://github.com/PowerShell/PowerShell/releases/download/v7.0.3/PowerShell-7.0.3-win-x64.msi
Because
I did run your installer in a separate prefix and PowerShell started just fine (after the initial download). Looks like something in my defualt wine prefix is messed up!
Thank you for your help!
Looks like something else has installed PowerShell components in my default wine prefix, but those did not work correctly. I simply remove everything named "PowerShell" from the prefix and now was able to get it running:
find ~/.wine -name PowerShell -exec rm -rf "{}" ';'
Ok, good that it worked. As a guess I would say that some wine-version (i think <5.18????? left a fake powershell.exe in system32/syswow64. I also had that some time, when you run a wine-version before 5.* it creates a placeholder in the ( wronng) directory system32/syswow64. Regards
If i run Powershell directly in Wine, it gets always downloaded again. Do you have any advice on how to fix this?