Wine Tricks to run exe in Linux
by lpilinuxblog on Feb.10, 2010, under Linux Tricks
“The script is maintained and hosted by DanKegel at http://www.kegel.com/wine/winetricks. Right-click on that link and use ’save as’ to save a fresh copy. Or you can get it from the commandline with the command:
wget http://www.kegel.com/wine/winetricks
The latest winetricks can also be found at http://winezeug.googlecode.com/svn/trunk/winetricks should Dan’s link lag behind a few versions.
(!) Also, some winetricks “packages” require the cabextract tool to be installed. The cabextract tool is for extracting Microsoft cabinet files, also called .CAB files. Linux users can usually get it via their distribution’s package management system, or visit http://www.cabextract.org.uk/ to download.
Using winetricks
Once you’ve obtained winetricks you can run it simply by typing sh winetricks at the console. If ran without parameters a winetricks displays a GUI with a list of available packages. If you know the name of the package(s) you wish to install, you can append the name(s) to the winetricks command line and it will immediately start the installation process. For example,
sh winetricks corefonts vcrun6
will install both the corefonts and vcrun6 packages.
Options
Here is its help text as of 2010/02/01:
Usage: /usr/bin/winetricks [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
-V display Version
Packages:
art2kmin MS Access 2007 runtime
atmlib Adobe Type Manager. Needed for Adobe CS4
autohotkey Autohotkey (open source gui scripting language)
cmake CMake, the cross-platform, open-source build system
colorprofile Standard RGB color profile
comctl32 MS common controls 5.80
comctl32.ocx MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6
controlpad MS ActiveX Control Pad
“wiki.winehq.org