winetricks
manage virtual windows environments using wine
see also :
wine
Synopsis
winetricks
[options] [verb ... ]
add an example, a script, a trick and tips
examples
To see list of available packages to install:
winetricks list-download
To install a package:
winetricks 7zip
source
Winetricks fails installing dotnet20 and msxml6
I ran into the same problem yesterday. I posted a fix on the
ubuntu forums: http://ubuntuforums.org/showthread.php?p=12176837
Maybe that works better than the file from filehippo.
Edit: Make sure that wine is in 32 bit mode as specified on the
wine-hq page for .net 2.0
source
How to use winecfg headless?
Just like Windows does, everything in Wine is configured through
the registry. Every single settings winecfg access can also be
accessed through the registry using the regedit
utility, which can also be used in command line to either import
a big .reg file or set individual keys on the command line
itself.
All the used keys are in the Useful Registry Keys wiki page.
The easiest option in your case would be to export the
configuration in a .reg file (right click on the keys you need,
export) and then import then with wine regedit
MyConfig.reg
in your auto-configure script. You can write
the .reg manually as well if you want, it's just a .ini-style
text file.
Edit: wanted to add that as a comment as it doesn't answer the
question itself but suggest another way of doing it but I lack
reputation here: I'd recommend to just create a full copy of your
clean pre-installation prefix and just copy it back when you need
to reset. You will avoid the whole script to reconfigure a clean
prefix, and will also be much faster than reinstalling libraries
through winetricks and running regedit as all its a disk only
operation.
description
winetricks
is an easy way to work around common problems in Wine.
It provides
simple commands to tweak Wine settings, download and install
missing Windows DLLs and fonts, or install various games or
apps with appropriate workarounds for the current version of
wine.
It can be used
via gui or commandline. The commandline mode is intended
both for interactive use and as a building block in fancier
wine frontends and in automated regression testing.
winetricks
with no arguments displays a GUI using either Zenity or
Kdialog.
options
--force
Don’t check whether
packages were already installed
--gui
Show gui diagnostics even when driven by commandline
-k, --keep_isos
Cache isos (allows later
installation without disc)
--no-clean
Don’t delete temp
directories (useful during debugging)
--no-isolate
Don’t install each app or
game in its own bottle
-q, --unattended
Don’t ask any questions,
just install automatically
-r, --ddrescue
Retry hard when caching
scratched discs
--showbroken
Even show verbs that are
currently broken in wine
-v, --verbose
Echo all commands as they are
executed
-h, --help
Display this message and
exit
-V, --version
Display version and exit
availability
The most recent version of winetricks can be downloaded
from http://winetricks.org/download/releases/
The latest snapshot of the code may be obtained via svn; see
http://code.google.com/p/winetricks/source/checkout
For further information about winetricks see
http://winetricks.org
copyright
winetricks is made available under the terms of the LGPL
license. A copy of the license is in the file COPYING in
the top-level directory of the source distribution.
commands
list
list categories
apps list
list verbs in category ’applications’
benchmarks list
list verbs in category ’benchmarks’
dlls list
list verbs in category ’dlls’
games list
list verbs in category ’games’
settings list
list verbs in category ’settings’
list-cached
list cached-and-ready-to-install verbs
list-download
list verbs which download automatically
list-manual-download
list verbs which download with some help from the user
list-installed
list already-installed verbs
prefix=foobar
select WINEPREFIX=$HOME/.local/share/wineprefixes/foobar
environment variables
Wine checks several environment variables on startup:
WINEPREFIX
If set, this specifies the location of the default .wine
directory ( usually $HOME/.wine ).
WINE
If set, this specifies which wine binary to use by default
XDG_CACHE_HOME
If set, this is path to system’s user data cache (default:
$HOME/.cache) W_CACHE path to Winetricks’ user data cache
(default: $XDG_CACHE_HOME/winetricks}
bugs
Bugs may be
reported at http://winetricks.org
see also
wine
authors
Dan Kegel,
Austin English, and many others. For a complete list, please
see the "Copyright" section in the file
’winetricks’.