wmp9 won't install (Wine 6.15)
wmp9 won't install (Wine 6.15)
Hi, I am trying to install wmp9 via winetricks; however, I get an error dialogue box saying that wmp9 can only be installed on certain older versions of Windows, including Win2000 and XP. I am using Wine 6.15 and I have Windows compatibility set to 'Windows XP'. Am I doing something wrong, or should I report this as a bug?
Note: to clarify, wmp 10/11 seem to install fine. It's just wmp9 that doesn't.
Note: to clarify, wmp 10/11 seem to install fine. It's just wmp9 that doesn't.
Re: wmp9 won't install (Wine 6.15)
If I report as a bug, can anybody advise which section this should go under?
Re: wmp9 won't install (Wine 6.15)
Did you tried winetricks with the -q (quiet) option?
Code: Select all
winetricks -q wmp9
Re: wmp9 won't install (Wine 6.15)
And keep in mind the warning given by winetricks:
Code: Select all
------------------------------------------------------
warning: wm9codecs is not supported in win64 prefixes. If you need those codecs, reinstall wmp9 in a 32-bit prefix.
------------------------------------------------------
Re: wmp9 won't install (Wine 6.15)
Hi, thanks for your suggestion; however I tried it just now in a new (32-bit) prefix and still got the same error. It's clear wmp9 isn't installing, as the codecs won't install afterwards.jkfloris wrote: ↑Mon Sep 06, 2021 4:43 pm Did you tried winetricks with the -q (quiet) option?Code: Select all
winetricks -q wmp9
Re: wmp9 won't install (Wine 6.15)
What version of winetricks do you use?
You can easily update winetricks with:
Keep in mind that there is also an open bug report:
https://github.com/Winetricks/winetricks/issues/1562
You can easily update winetricks with:
Code: Select all
sudo winetricks --self-update
https://github.com/Winetricks/winetricks/issues/1562
Re: wmp9 won't install (Wine 6.15)
I ran winetricks --self-update yesterday and it didn't help. I am using a 32-bit prefix, so I don't think it is the same issue as the bug you linked. I also tried installing directly from the installer file that winetricks downloaded (outside of winetricks) and the same thing happened.jkfloris wrote: ↑Tue Sep 07, 2021 3:57 am What version of winetricks do you use?
You can easily update winetricks with:Keep in mind that there is also an open bug report:Code: Select all
sudo winetricks --self-update
https://github.com/Winetricks/winetricks/issues/1562
So, I don't think it is an issue with winetricks - it seems to be a bug with Wine. I should be able to install an application that requires Win XP, if my compatibility is set to Win XP.
Re: wmp9 won't install (Wine 6.15)
You are correct that wmp9 is not installable in a 32-bit prefix.
If you want you can use the following solution.
Open winetricks in a text editor and change the load_wmp9() function after the else statement.
If you want you can use the following solution.
Open winetricks in a text editor and change the load_wmp9() function after the else statement.
Code: Select all
w_try_cd "${W_CACHE}"/"${W_PACKAGE}"
if [ "${W_ARCH}" = "win64" ]; then
w_try cabextract -d "${W_TMP}" ./MPSetup.exe
w_try_cd "${W_TMP}"
w_try sed -i 's/IsWow64Process/IsNow64Process/' setup_wm.exe
w_try "${WINE}" setup_wm.exe ${W_OPT_UNATTENDED:+/Quiet}
w_warn "wm9codecs is not supported in win64 prefixes. If you need those codecs, reinstall wmp9 in a 32-bit prefix."
else
# w_try "${WINE}" MPSetup.exe ${W_OPT_UNATTENDED:+/q}
w_try cabextract -d "${W_TMP}" ./MPSetup.exe
w_try_cd "${W_TMP}"
w_try "${WINE}" setup_wm.exe ${W_OPT_UNATTENDED:+/Quiet}
load_wm9codecs
fi
Re: wmp9 won't install (Wine 6.15)
Thanks for the tip! That did work and allowed me to install wmp9 in the 32-bit prefix.
So, is that an issue in Wine or winetricks? Is Wine supposed to be able to run the MPSetup.exe directly? It would be nice to get it fixed so the installation 'just works' for others in future.
Re: wmp9 won't install (Wine 6.15)
Also, might there be other applications that use a similar type of installer file, that don't go through winetricks, which could also be affected?
Re: wmp9 won't install (Wine 6.15)
This is a bug in Wine. With Wine 6.0.1 the installation does work just fine.
Re: wmp9 won't install (Wine 6.15)
Sorry, no I don't know. Probably one of the developers knows which section this bug belongs in.Do you know what section it should go under?
Use Wine -unknown for now.