Recently I had to install Crossover Linux which is similar to (and based on) Wine. I needed to check whether my Windows app was compatible both with Wine and Crossover.
Having installed Crossover I was surprised to find that both it and Wine are using Crossover's registry. If I run Wine's regedit.exe and make some kind of change, then I run Crossover's regedit.exe, the change I just made is already available in Crossover's registry. If I examine the files (system.reg) for both apps, I find that Crossover's version has just been modified whereas Wine's hasn't changed for months.
1) Firstly, is this the expected behaviour?
2) and secondly, given that Crossover can have several registries (one for each of its 'bottles') how does Wine know which copy to use?
Is this right - and how does it know??
Re: Is this right - and how does it know??
Wine uses $WINEPREFIX env var, and if it's not defined default is $HOME/.winejohne53 wrote:2) and secondly, given that Crossover can have several registries (one for each of its 'bottles') how does Wine know which copy to use?
Thanks vitamin. $WINEPREFIX doesn't seem to be defined on my system but I think I've figured out what's happening. The path to Crossover's version of wine is earlier (in my path) than Wine's version. Therefore, when I double-click on regedit.exe, no matter which version of regedit I click, it gets opened by Crossover.
If I explicitly specify Wine by typing this at a command line:-
/usr/bin/wine regedit.exe
then I get the expected (i.e. wine) version of the registry.
If I explicitly specify Wine by typing this at a command line:-
/usr/bin/wine regedit.exe
then I get the expected (i.e. wine) version of the registry.