Automatic switching between 32 and 64 bit prefix.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
AdrianGlowacki
Level 1
Level 1
Posts: 7
Joined: Sat Jan 20, 2018 8:44 am

Automatic switching between 32 and 64 bit prefix.

Post by AdrianGlowacki »

Hello, with reference to the previous topic:
viewtopic.php?f=2&t=36641

From what you can see, I understand that it is not possible to add support for Windows 95.98, Me and 2000 in 64 bit prefix, so I will ask otherwise.

Is it possible to conveniently automatically switch between 32 and 64 bit prefix so as not to switch manually with the command (export WINEPREFIX = ~ / .xxx) in the terminal and decide which .exe program should be run in which prefix?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Automatic switching between 32 and 64 bit prefix.

Post by jkfloris »

As far as I know, it is not possible to tell from the exe file whether a 32 or 64 bit prefix is needed. The problem is that (almost) all setup/ install files are 32-bit, while the program they install may be 64-bit.

After installation, winemenubuilder will "translate" the created Windows shortcuts into Linux .desktop files. This file already contains the WINEPREFIX variabele.

Can you give an example when you run into this problem?
Locked