Forums

How to use multiple Wine versions in a POL script ?

Auteur Réponses
rcarraretto Jeudi 24 September 2020 à 2:19
rcarrarettoAnonymous

Hello,

What is the best way to have a prefix created with one version of Wine (i.e. 4.0.3), then after the script runs and before it exits, have it updated by 5.0.2 and then keep 4.0.3 as the configured version to run (using POL scripting commands)? I tried POL_Wine_PrefixCreate twice, but in the 2nd row it shows the "Ovewrirte/recreate/cancel" message, which will confuse the user.

This might sound weird, but I realized that a software I'm testing only runs with 4.0.3, but it throws some errors if I do not update the prefix by running any command with 5.0.2 (or higher). The app itself runs with 4.0.3, so I need to create the prefix with 4.0.3, update it with 5.0.2, then update it back with 4.0.3 and then the app runs flawlessly.

Thanks

Ricardo

Edité par rcarraretto

Dadu042 Jeudi 24 September 2020 à 9:31
Dadu042

 then after the script runs and before it exits, have it updated by 5.0.2 and

> then keep 4.0.3 as the configured version to run 

 

Impossible (AFAIK). Perhaps try newer versions of Wine to workaround the issue (ie: Wine 4.0.4, some 5.x staging).

Edité par Dadu042

rcarraretto Vendredi 25 September 2020 à 17:17
rcarrarettoAnonymous

Tried all that, with several staging 5.x versions and the app still crashes everytime it runs on any Wine 5.x.

What worked is to run the POL script entirely with 4.0.4 and wait it to finish, then change Wine version to 5.x using POL console, hit the config Wine button, then switch it back to 4.0.4.

For some funny reason, there is something bad in the way that Wine 4.x creates the prefix, that prevents the app to download some updates. Switching to Wine 5.x fixes it but will crash the app, hence the need to go back to 4.x.

Thanks anyways, I'll add this manual workaround to the app page so people can perform these steps if they try to install it.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com