[Wine] what is winetricks?

James McKenzie jjmckenzie51 at sprintpcs.com
Sat Jan 5 21:51:59 CST 2008

Douglas A. Whitfield wrote:
> Awesome, that was helpful...except that now I get
> Usage: ./winetricks.sh [options] package [package] ...
> This script can help you prepare your system for Windows applications
> that mistakenly assume all users' systems have all the needed
> redistributable runtime libraries or fonts.
> Some options require the Linux 'cabextract' program.
> Options:
>  -q         quiet.  You must have already agreed to the EULAs.
>  -v         Verbose
> Packages:
>  art2kmin   Access 2000 runtime.  License required!
>  cc580      Install native common controls 5.80, override comctl32
>  corefonts  Install MS Times, Arial fonts
>  dcom98     Install native DCOM, override the Wine implementation
>  gdiplus    Install gdiplus.dll from pp viewer (got a better idea?)
>  gecko      Install the HTML rendering Engine (Mozilla)
>  jet40      Install Jet 4.0 Service Pack 8
>  liberation Install Red Hat's Liberation fonts (Sans, Serif, Mono)
>  mdac27     MDAC 2.7: Microsoft ODBC drivers, etc.
>  mdac28     MDAC 2.8.
>  mfc40
>  mono11     mono 1.1.13-gtksharp-2.8.2 (deprecated, use 1.2)
>  mono12     mono mono-
>  msi2       Microsoft Installer 2.0
>  msxml3     (Note: install a bit squidgy; see
> http://bugs.winehq.org/show_bug.cgi?id=7849)
>  msxml4     (Note: installing this requires fake c: to be named harddrive1!)
>  pdh        Install pdh.dll (Performance Data Helper)
>  tahoma     Install MS Tahoma font (not part of corefonts)
>  vbvm50     Visual Basic 5 runtime
>  vbrun60    Visual Basic 6 runtime
>  vcrun6     vc6redist from VS6sp4, including mfc42
>  vcrun2005  Visual C++ 2005 redistributable libraries
>  wsh51      Windows Scripting Host 5.1
>  wsh56      Windows Scripting Host 5.6 (install vcrun6 first)
>  wsh56js    Windows scripting 5.6, jscript only, no cscript
>  wsh56vb    Windows scripting 5.6, vbscript only, no cscript
> Pseudopackages:
>  fakeie6      Set registry to claim IE6sp1 is installed
>  native_mdac  Override odbc32 and odbccp32
>  winver=win98 Set windows version to win98
>  winver=winxp Set windows version to winxp
>  winver=      Set windows version to default (win2k)
>  volnum      Rename drive_c to harddiskvolume0 (needed by some installers)
> I'm using Ubuntu Gutsy.  I know what to do with the -q and the -v, but
> I don't understand what all this other stuff is.  Thanks!

The packages are packages which originates from Microsoft as addons to 
Windows, with the exception of corefonts.   This package adds the Arial 
and Times New Roman fonts that are not included with Wine.  Gecko 
installs the Mozilla HTML rendering engine (as stated). 
The pseudopackages do not install anything but do the following: Fakeie6 
package 'fakes' the installation of Internet Explorer 6 sp1 by adding a 
setting to Wine's registry.
The winver packages are what they are, they set the windows version to 
either windows98 or windowsXP.  The standard windows version 
identification that Wine comes with is windows2000.   volnum sets 
another registry setting that maps the ./wine/drive_c to harddiskvolume0 
(which is what the C: drive looks like to WindowsNT type versions of 
Windows) so that several programs will install. 
One note:  Most of the packages DO NOT require a Windows(TM) license.  
However the Access2000 runtime does require that you have an Office 
Professional or MSDN license or you are in violation of the license 
agreement and a license id is requested on install.
If you are having problems with gdiplus, it is suggested that you use 
./winetricks gdiplus.  This will install a program that comes with the 
native gdiplus.dll file and changes the default settings to use this file.

Once a package is installed, any files needed for the package install 
are stored in ~/winetrickscache so they do not have to be downloaded for 
subsequent installs.  The only exception to this is the mdac2.7 and 
mdac2.8 packages as the downloaded file has the same name.

James McKenzie

More information about the wine-users mailing list