Windows program installation with Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
crow_se
Level 2
Level 2
Posts: 14
Joined: Sat May 17, 2008 6:33 am

Windows program installation with Wine

Post by crow_se »

Apologies for what is probably a silly question !
If one installs a Windows program in Linux with Wine which requires things like Winetricks to install some Windows stuff, is the whole installation within the .Wine folder ?
I assume that when installing Windows programs (Including anything else that is necessary, eg. from Winetricks) then everything is indeed within .Wine with no changes at all outside this folder unless, possibly, wineprefix is used. Am I correct ?
In this case, if a copy of .Wine is made before installation of this new program, then replacing the new .Wine with the copy will remove all
traces of the program from the system ?
TIA
User avatar
dimesio
Moderator
Moderator
Posts: 13368
Joined: Tue Mar 25, 2008 10:30 pm

Re: Windows program installation with Wine

Post by dimesio »

crow_se wrote: I assume that when installing Windows programs (Including anything else that is necessary, eg. from Winetricks) then everything is indeed within .Wine with no changes at all outside this folder unless, possibly, wineprefix is used. Am I correct ?
In this case, if a copy of .Wine is made before installation of this new program, then replacing the new .Wine with the copy will remove all
traces of the program from the system ?
No. Menu entries and icons are stored in various subdirectories of ~/.local/share and ~/.config/menus, and have to be removed manually. http://wiki.winehq.org/FAQ#head-8a17a13 ... aaf043d581

In addition, some apps create folders outside the wineprefix if you don't delete the link to z:, and they, too, have to be deleted.

Note also that winetricks by default installs games and apps to their own wineprefixes in ~/.local/share/wineprefixes, not to ~/.wine.
crow_se
Level 2
Level 2
Posts: 14
Joined: Sat May 17, 2008 6:33 am

Windows program installation with Wine

Post by crow_se »

Thanks for the reply.
The only Windows programs I use at present I copied directly over from
my XP partition into ~/home/Programs and run them by setting an icon on
the panel as wine Path to home/Programs/program/exe file
Any Windows program apart from these that I try installing will be purely
to try it out.
Since none of the Windows programs I have at present were installed
under Wine then I would assume any new programs that I try could be
removed by replacing .Wine with the copy and then deleting as in
http://wiki.winehq.org/FAQ#head-8a17a13 ... aaf043d581
and then check and/or delete ~/.local/share/wineprefixes
Is this a reasonable assumption ?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Yes. As was noted earlier, data files saved by the app might be in
your home directory, so replacing ~/.wine won't touch those, but
that's kind of a finer point.
Locked