You are not logged in.

#1 2014-04-24 21:06:26

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

[SOLVED] Multiple versions of Wine / downgrade Wine

Hi All

I need to be able to run Wine 1.5 in order to use GoToMyPC which unfortunately doesn't work with Wine 1.7. I guess the ideal would be to have Wine 1.7 alongside 1.5 and be able to switch between them. I've had real difficulty in finding any information on how to do this and when I tried to compile Wine 1.5 I had errors which I couldn't resolve.

So, is it possible to downgrade Wine to 1.5? If so, is there any information around someone could point me to which explains how to do it? It is really annoying me that I have to connect to work via Windows just because of a Wine version! GoToMyPC always worked in Ubuntu for example until the recent "upgrade". I came back to Arch, hadn't realised how much I loved this distro' actually, only to find the same issue!

Any suggestions, help, pointers etc. are much appreciated.

Richard

Last edited by RichAustin (2014-05-04 10:22:01)

Offline

#2 2014-04-24 21:19:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

Have you read the wiki article on downgrading packages?
There are many wine packages in the AUR, including some 1.5 versions.

Offline

#3 2014-04-25 06:22:30

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

karol wrote:

Have you read the wiki article on downgrading packages?
There are many wine packages in the AUR, including some 1.5 versions.

Hi

No, I hadn't come across it, I'll take a look.

Thanks
Richard

Offline

#4 2014-04-25 09:29:02

Stephanie
Member
From: Germany
Registered: 2010-08-14
Posts: 17
Website

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

If I remember correctly Playonlinux let's you choose the Wine-version for each program you install with it.   
Maybe that is an option for you?


"2 hours of trial and error can save 10 minutes of manual reading." (unknown)

Offline

#5 2014-04-25 10:16:17

0x29a
Member
Registered: 2012-09-28
Posts: 101

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

1-up.
Personally - I've like 0.5 GB of different wines in .PlayOnLinux, since some apps work only on certain wine versions...

Offline

#6 2014-04-25 18:11:23

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

playonlinux is by far the easiest way to do it

Offline

#7 2014-04-26 02:22:35

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

Relevant: http://www.playonlinux.com/en/dev-documentation-5.html

Unless you have a specific reason not to use it, PlayOnLinux is your best shot here.

Offline

#8 2014-04-26 15:26:29

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

Hi

Thanks for the replies, sorry I haven't replied sooner, it's been a mad few days. I have actually installed Playonlinux. To be honest, maybe I'm just thick, I can't figure out how to get it to default to Wine 1.5. I can see, sort of, how it is possible to install, let's say, a game in a specific version. What I need is a version of Wine which runs the downloaded GoToMyPC app'. If you try to execute one you downloaded maybe 2 days before it does not, rightly, let you connect.

I would have thought it would pretty simple to be honest. I know it definitely worked in 1.5, it doesn't work in 1.7. I haven't had time to look at the options for downgrading, but that doesn't really seem the right way to go about it.

I really do appreciate the help from everyone. I always loved Arch, it's not just the distro', it's the community. Once an Archer you can't really be anything else I finally realised.

Richard

Offline

#9 2014-04-26 15:31:23

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

What's the matter with Playonlinux? Can you describe what exactly you do (maybe links to screenshots) and how you see, that it uses the wrong wine version?

Offline

#10 2014-04-27 09:14:38

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

The problem with PalyOnLinux is that the application I need to run for Gotomypc does not have an installer. Every time you connect a new instance of the .exe is downloaded and you execute that instance. Older instances do not work, I guess it's a security issue. Since there is no installer I can't install it in Playonlinux.

I've created a Wine 1.5 virtual drive at ~/.PlayOnLinux/wineprefix/gotomypc/ but I can't see how to make this the default version of wine. I tried setting the wine prefix like this:

export WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/gotomypc/ wine winecfg

To be honest I don't really understand how the prefix is supposed to work. If I run the above command to set the prefix and then "wine --version" I still get wine 1.7. It seems most likely to me that I'm not using the prefix correctly to set the version of wine. The documentation on it is as clear as mud which doesn't really help.

Offline

#11 2014-04-27 13:22:24

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 280
Website

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

I think you misunderstand how PlayOnLinux is supposed to be used. You create a virtual drive and launch applications by using the PlayOnLinux GUI. You do not need to have an installer for your program. From what I understand of your post, you have already managed to set up a virtual drive through PlayOnLinux GUI. Just to clarify, when you do such a thing, you simply select to install a non-listed program from the Install window. Then you proceed to set up the virtual drive with the wine version you require and whatever libraries you might need.

When you reach the part where PlayOnLinux asks for what installation program to run, you can simply quit the process as the virtual drive has been set up. At this point, you can simply copy whatever files you wanted to run into the virtual drive, you can do this manually. When the files are in place, use the PlayOnLinux GUI to find the Configure section. There you can select the PlayOnLinux virtual drive, and select to create a shortuct. This shortcut will appear in the main PoL window, and it is this you should use to run software with PoL.

Offline

#12 2014-04-29 12:16:15

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

RichAustin wrote:

To be honest I don't really understand how the prefix is supposed to work. If I run the above command to set the prefix and then "wine --version" I still get wine 1.7. It seems most likely to me that I'm not using the prefix correctly to set the version of wine. The documentation on it is as clear as mud which doesn't really help.

That is because wine uses certain other variables to point to a specific wine version (binaries and libraries). I wrote a script a very long time ago to link binaries downloaded by PoL to /usr/bin/wine-_version_. Since then some things may have changed. To use a different wine version in a specific prefix you would need to set at least those variables:

WINEPREFIX="$HOME/.PlayOnLinux/wineprefix/Windows7"
WINESERVER="$HOME/.PlayOnLinux/wine/linux-x86/1.7.13/bin/wineserver"
WINELOADER="$HOME/.PlayOnLinux/wine/linux-x86/1.7.13/bin/wine"
WINEDLLPATH="$HOME/.PlayOnLinux/wine/linux-x86/1.7.13/lib/wine"

This is done by PoL however, so there is no need to do it manually. Reread what other suggested. PoL is the simplest way for that.

Edit: Clarification.

Last edited by emeres (2014-04-29 15:59:29)

Offline

#13 2014-05-04 10:20:55

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

Thanks emeres, that's really useful, I hadn't found any of that information.

I'm going to mark the thread as resolved, upgrading to 1.7, rather than downgrading, fixed the problem. Thanks for all the help guys.

Richard

Offline

#14 2014-05-04 10:46:24

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Multiple versions of Wine / downgrade Wine

RichAustin wrote:

Thanks emeres, that's really useful, I hadn't found any of that information.

man wine

You are welcome.

Offline

Board footer

Powered by FluxBB