[Wine] moving or renaming .wine folder after installations

Dan Kegel dank at kegel.com
Sat Mar 8 08:24:54 CST 2008


On Sat, Mar 1, 2008 at 7:33 AM, Dan Kegel <dank at kegel.com> wrote:
> On Sat, Mar 1, 2008 at 7:27 AM, alfredo <wineforum-user at winehq.org> wrote:
>  >  I have installed MS-Trainsimulator in /home/db/.wine-t1.
>  > Now I want to move due space requirements and for
>  > reorganisation the .wine-t1 to /opt. OK, so far.
>  > The links in dosdevices are relative! Starting the program
>  > from the new location gives me .... train simulator has a problem ....
>  >  After some checks i found files with the extension .lnk in
>  > drive_c/windows/profiles/All Users/Desktop/Train Simulator.lnk
>  >  Inside this files are entries like db (the linux home dir) and
>  > .wine-t1 (the wine dir). These files are not from winecreateprefix
>  > or winecfg. They came from the trainsimulator-install program. I
>
>  Good point.  I've filed
>  http://bugs.winehq.org/show_bug.cgi?id=11797
>  for this problem.

Looks like this bug is invalid.  I think Vitamin was right,
all you need to do is set WINEPREFIX.  (Yes, strings shows
unix paths in the .lnk files, but I don't think they're used;
winedump will show you an ascii dump of the .lnk file,
and it doesn't show any unix path info.)
To verify this, I did
  install iTunes
  mv .wine .wine-foo
  WINEPREFIX=$HOME/.wine-foo  wine start Desktop/iTunes.lnk
it works just fine.
- Dan



More information about the wine-users mailing list