Configuring an existing wineprefix w/o overwriting?

Questions about Wine on Linux
Locked
Dillon Holeman
Level 2
Level 2
Posts: 15
Joined: Mon Sep 16, 2013 5:11 pm

Configuring an existing wineprefix w/o overwriting?

Post by Dillon Holeman »

I used the following command to create a 32-bit wineprefix for Office 2010:

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32-office2010 winecfg
After installing Office into this prefix, I need to do some configuration. Do I use the same command to configure the existing prefix? Sine the above command created a new prefix, I'm a little concerned that it will overwrite the existing prefix with an empty one of the same name. Or does winecfg adjust its behavior in the presence of an existing prefix? The manual's not too clear on this.

Also, can I drop the "WINEARCH=win32" part and just run:

Code: Select all

 WINEPREFIX=~/.wine32-office2010 winecfg
?
Or is it perhaps a MUST to prevent overwriting of the existing prefix?
Dillon Holeman
Level 2
Level 2
Posts: 15
Joined: Mon Sep 16, 2013 5:11 pm

Re: Configuring an existing wineprefix w/o overwriting?

Post by Dillon Holeman »

I've also noticed that in some of the command examples given in the manual, sometimes "wine winecfg" is used and other times just "winecfg" is used. What's the difference?
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Configuring an existing wineprefix w/o overwriting?

Post by dimesio »

Dillon Holeman wrote: Also, can I drop the "WINEARCH=win32" part and just run:

Code: Select all

 WINEPREFIX=~/.wine32-office2010 winecfg
Yes. http://wiki.winehq.org/FAQ#32_bit_wineprefix

FYI, it wasn't winecfg that created the new prefix. Wine will create a new prefix the first time you run anything in it; winecfg is just used in the examples because that's the thing people are most likely to use next anyway.
ahso
Level 4
Level 4
Posts: 182
Joined: Sat Feb 20, 2010 2:31 am

Re: Configuring an existing wineprefix w/o overwriting?

Post by ahso »

personally I only copy ~.wine to .wineOK or alike before installing some new app.
Locked