Winetools

From Wine-Wiki

Jump to: navigation, search
This article is part of the HOWTO series.
Installing Wine Business Games Internet Multimedia System and Utilities
Education Other


Warning: This HOWTO comes with no explicit or implicit warranty whatsoever. Use at you own risk!



Contents

Winetools

WineTools is an obsolete menu driven installer for installing about 90 Windows programs under the x86 (Athlon or Intel PC) processor architecture with the Linux operating system using Wine. wine archive It also sets up your .wine directory, downloads the files to install from the web (only the free and shareware ones for sure), installs Windows fonts and lets you uninstall and configure your software. For recent versions of Wine the tool by Dan Kegel called Winetricks can install fonts and quickly configure Wine with different options.


WineTools is a shell script licensed under the GPL, which was initially written by Frank Hendriksen and was extended by Joachim von Thadden and Sven Paschukat. Joachim von-thadden who worked hard to add and maintain support for many common software installations. For new users of Wine, it was often the tool of choice for Wine versions before 0.9. Winetools recommends using an older but well tested version of Wine for the best results. The latest Winetools, version wt0.9jo-III was knonw to work with Wine versions 0.9 to 0.9.3". Since Winetools last release there has been many, many wine releases (Each Wine release is about once a week!) and it may be better to used the latest wine. One user reported [)ct 06]: I know 0.9.19 didn't work and didn't try any higher versions, but I [...] knew 0.9.10 would work (from a previous install [...])


You can download WineTools at the well known location:http://www.von-thadden.de/Joachim/WineTools/ . Also use Joachim's website for sending in comments and bugreports. After installing, Winetools is run with normal user privleges. For further information see J. von Thadden's website.


Apparently before installation, some components require acceptence of a EULA.


NOTE: Winetools is not supported by the Wine Developers, because it significantly changes the way wine works, if you have problems with software while running Winetools, the Wine Developers are unable to debug or reproduce the problems. When writing a bug report, you will need to use a standard wine version, without winetools. After the developers felt that wine had reached a sufficient level of success with windows, in a long running thread many expressed views that winetools was no longer helping wine as much as it used to, and requested that bugs be reported for all the workarounds by Winetools. The developers of Winetools seem to have stopped updating winetools at the request of Wine developers. Winetools helped many Wine users become accustomed to Wine and succeed in installing their software and it's authors deserve a note of thanks from many users of Wine.


Forum Comments

from the mailing lists:

J. von Thadden expained some of the objectives for Winetools [Mar 06]: WineTools is not "sporadically" updated as it makes no sense to update it with every new Wine release. The purpose is not to keep track Wine, the purpose is to have a stable basis. As such WineTools often stays with a specific Wine version for a time. This is the same what Crossover-Office does. [...] WineTools is at the moment the only way to have all major commercial windows programs run simultaneously with Wine under Linux if you do not want to pay for Crossover-Office. [...]

As we are a freetime project we have not the time to sit on an IRC channel. But there is always

  • [wine devel] mailinglist where we sit and listen
  • the possibility to mail us directly

[...] We are making a tool to make Windows programs run with Wine. We do not develop Wine and our main goal is not to achieve as much debugging informations as possible. The goal is to make the usage of Wine as easy as possible for users coming from Windows and who are customized to point and click interfaces. Again: The goal is not to develop Wine. The goal is to use it easy.

M. Messiner suggested: winetools using ".winetools" as WINEPREFIX setting. This would make it possible to keep a ".wine" for the purists, and ".winetools" for the "just get things done" people. Sven and Joachim agreed and explained: Sven and I are doing the following for WineTools at the moment:

  • change WineTools to use WINEPREFIX
  • using a standard WINEPREFIX="$HOME/.winetools" if not set otherwise
  • change * to builtin,native
  • change version to WinXP
  • run as many apps as possible without tweaking

T. Lambrets made an exciting suggestion: In simple terms we get WineTools to query the AppDB with an application name (ie somename.exe) and we return a list of applications for the user to choose from and the after the user selects the program WineTools gets the appropriate overrides from the AppDB and sets them for the user. I think that that this is do-able if we work together.


[Dec 05] A discussion arose about some changes to winetools. S. Paschukat: Well, it was just a few month ago when Joachim and me has reworked the winetools. It is no longer config file based, it is using the registry now. We have tested it on multiple Linux distributions and the newest release WineTools 0.9 III hasn't showed serious problems when walking through the menus as intended. Joachim says that he has 30.000 downloads per month.


[Dec 05] released the new version WineTools 0.9 III. There have been bugfixes in the installation routines of RPM and tar.gz versions.

wt0.9jo-III 13.12.2005 error corrections in install-files

  • no confusing info screens with debian wine anymore
  • waitforwineexit() i18n-able
  • all references to $HOME/.wine replaced with WINEDIR
  • alphabetical sorting in software lists
  • backup and restore go to ~/winetools instead of ~/ now
  • adapted for versions 0.9.0 - 0.9-3
  • some i18n updated
  • spec files updated and corrected
  • as debian does not have wineserver in the path avariable WINESERVER was added

new software:

  • MDAC and Jet Spanish
  • IE6 in Chinese, Chinese (tw),Japanese, Korean, Norwegian and Spanish
  • Windows Script 5.6 Italian
  • Acrobat Reader Italian and Spanish
  • Picasa2
  • Noise Ninja 2

updated software:

  • GoogleEarth download size
  • Elster download size
  • MDAC Italian now really Italian
  • RealPlayer10 link and size


[Nov 21] S. Richie: winetools 0.9 is now in the winehq Apt repository. I had to rename it 3.0.9 so it'll properly replace older versions of winetools (2.x).


[Nov 19] New update to winetools: wt0.9jo-II 18.11.2005

  • error corrections in install and spec-files
  • norwegian translation updated
  • new software:
  • Italian versions of ie6 msjet, msxml,ppviewer2003
  • Norwegian versions of msjet, mdac,windows scipt, ppviewer2003, AcroRader, Quicktime
  • Firefox 1.0.7
  • Mozilla ActiveX Control 1.7.7
  • updated software:
  • 7-zip v4.23
  • Quicktime 5 now as download
  • MSFC installs now 4.0 and 4.2


[Nov 05] Wine tools 0.9 has been released. New Software:

  • Future Pinball (Games)
  • Steam (Games)
  • StarMoney 5.0 German Homebanking (Business)
  • Google Earth (Graphics) - is only rudimentarily working
  • Foobar 2000 (Player)
  • IE6 Dutch (Base)

According to Joachim von-thadden:

WineTools 0.9. This version works together with the latest versions of wine 0.9 and 0.91 and has many bug fixes.

New Software:

  • Future Pinball (Games)
  • Steam (Games)
  • StarMoney 5.0 German Homebanking (Business)
  • Google Earth (Graphics) - is only rudimentarily working
  • Foobar 2000 (Player)
  • IE6 Dutch (Base)

WineTools is a menu driven installer for installing about 90 Windows programs under the x86 (Athlon or Intel PC) processor architecture with the Linux operating system using Wine. This software lets you install the following Windows software:

  • DCOM98
  • IE6
  • Windows Core Fonts
  • Windows System Software
  • Office & Office Viewer
  • Adobe Photoshop 7, Illustrator 9
  • many other programs

Using an older version of winetools to install Windows software

First, go to the Frank's Wine Tools webpage or Joachim von Thadden's webpage and download WineTools

Downloading and Installing the Winetools

After downloading the package suitable for your Linux distribution from the link on the Maintainers webpage (you can't download winetool via wget) you then need to install it.

To install follow the detailed instructions on the website. After installation then come back as a normal user and before typing 'wt2', move your '~/.wine' to something like '~/.wine-sav' in order to keep your former wine configuration (if you already had one).

In addition to a new '~/.wine' sudirectory, Winetools will create a winetools subdirectory ('~/winetools') with three subsubdirectories '~/winetools/fonts', '~/winetools/sys', '~/winetools/users' where it will store setup windows binary files (for fonts, system [software "supported" by wt, other software]) or zip files which will be downloaded from various sites (Microsoft or Sourceforge etc.) and executed for installation with wine.

In order to install software, winetools will use '/tmp' to install temporary scripts (they are deleted automatically after installation).

Once a software is installed, winetools will create a script file in your '~/bin' subdirectory, like '~/bin/ie6' which lets you simply type 'ie6' to launch Internet Explorer 6. This script (currently January 2005) looks:

#!/bin/bash
. findwine
$WINE "c:\\program files\\internet explorer\\iexplore.EXE" $@ &>/dev/null &

It does not use the WINE profile yet.

WineTools uses an outdated Sourceforge mirror. To get a round the stalling download you can start WineTools simply with the following command:

SFMIRROR="http://puzzle.dl.sourceforge.net/sourceforge" wt2

Then follow the 'Base Setup' and 'Install Windows system software' steps.

Base Setup Options(winetools)

Create a fake window drive

This step will create a '~/.wine/drive_c/' subdirectory which will include the 'Program Files' subsubdirectory where your software will be installed

True type font arial

This step will install the arial true type font.

DCOM98

This step is recommended for a number of programs developed by Microsoft with older versions of Wine. Check the Wine Application Database to see if you will need DCOM98. WineTools will first download and then install DCOM98.

If you have your copy ready from your Windows Installation, you can skip downloading and use your local version of DCOM98, by copying it into ~/winetools/sys

Internet Explorer 6.0

  • Internet Explore 6.0 SP1 English
  • Internet Explore 6.0 SP1 German
  • Internet Explore 6.0 SP1 French

In order to use the French version of Internet Explorer, just add a new section in your wt script:

    elif [ "$choice" = "Internet Explorer 6.0 SP1 English" ]; then
      echo "using english setup..."
      setupdir="Windows Update Setup Files"
      dload="http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/ie6setup.exe"
      dlsize="491768"
    elif [ "$choice" = "Internet Explorer 6.0 SP1 French" ]; then
      echo "using french setup..."
      setupdir="Windows Update Setup Files"
      dload="http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/FR/ie6setup.exe"
      dlsize="496376"
    fi

Many Linux users prefer mozilla-firefox on Linux to Internet Explorer 6 SP1, but you might need IE for the installation of some software. The installation of free Microsoft software like IE6, the Help update or Visual C++ etc, even if unnecessary for your needs, will provide recent DLLS (proprietary but free) which will help you to install Windows software. Again check the Wine Application Database to see what your software will require.


Common Controls 5.0

Install Microsoft True Type core fonts

Some recommend that you install them all. Internet Explore 6 will look better.

Accessing your CD

  • I tried the French version of Microsoft Office 2000 from my CD. But current version of winetools doesn't look inside of the "autorun.inf" file of the CD and instead of a 'setup.exe' file, and my CD was pressed with an 'install.exe'.


  • Some Microsoft CD have hidden files, perhaps in order to limit illegal copying. The CD should be mounted with the 'unhide' option (or no hide on some unix versions).

NoHide with fstab

This is for example my CD line in 'etc/fstab':

/dev/hdd /mnt/cdrom auto umask=0,unhide,user,codepage=850,iocharset=iso8859-15,noauto,ro,exec 0 0

NoHide from the command line

You can simply mount your CD as

mount -t iso9660 -o ro,unhide /dev/hdd /mnt/cdrom

Adding your Custom Installs

Thus, in this case, here is how my wt script looks (do something similar if you are in this case):

# $CDROM is not mounted already that's the problem
#    if [ -f /mnt/cdrom/setup.exe ]; then
#      installer="$WINE d:\\setup.exe"
#   elif [ -f /mnt/cdrom/install.exe ]; then
      installer="$WINE d:\\install.exe"
#    fi
    if [ "$choice" = "Microsoft Office 95" ]; then
      testname="Microsoft Office.*"
    else
      testname="${choice}.*"
    fi
    sysinstallsw

And my 'mount_cd' shell subroutine is:

mount_cd()
{
  $DIALOG --title "*** NOTE ***" \
	--yesno "For this software you need a mounted CD.\nFor some software, the CD must be mounted\nwith the unhide (or nohide) option\n but only root can do it for you\nShall I mount it for you as already\ndefined in your /etc/fstab?" 12 60
  if [ "$?" = "0" ]; then
    mount "$CDROM"
    [ "$?" != "0" ] && $DIALOG --title "*** ERROR ***" \
        --no-cancel \
        --msgbox "Mounting of the CD failed. You should do it manually." 7 60
    mounted="true"
  fi
}

I presume that in a later version of winetools all of this will be useless.

If the installation is successful, save it with (hardlink copy):

 cp -dilpR .wine .wine-afterDCOM98-IE6-TTfonts-MSOffice2000

If it is not working (like for me), reverse to a former step:

 cp -dilpR .wine .wine-afterDCOM98-IE6-TTfonts-MSOffice2000Corrupted
 \rm -rf .wine
 cp -dilpR .wine-afterDCOM98-IE6-TTfonts .wine
and install another software.

As your software will probably not be listed in current winetools list, do a standard wine install by doing:

 wine d:\install.exe

Many options do exist to use native DLLs instead of wine DLLs, see the documentation else where.

Using Mandrake wine rpm from wine-hq, I got a problem with d: which was wrongly setup as a symbolic link to /dev/hdd instead of /mnt/cdrom, just change it with:

 ln -sf /mnt/cdrom ~/wine/dosdevices/d:

I installed SAS version 8.1 more or less successively: it works in batch. But in interactive mode I can't read or write a file with the editor.

I went back to MS Office new installation and now it works. Word, Excel. PowerPoint and Access look working (not fully tested). Outlook doesn't work yet. Be careful that if you already had a script like ~/bin/excel, winetools will overwrite it without warning (version 2.1.0).

Troubleshooting Winetools

A user commented [Jan 06] I've downloaded and compiled the latest wine 0.9.4 [...] and I've used WineTools successfully with it -- but I needed to "create a new fake windows drive" as upgrading or using the current config caused problems. Creating a new drive allowed me to install ALL the software that WineTools offers (excluding any "tested software" which I haven't tried yet).wine archive

A user commented [Nov 05] about the website instructions say to type "wt", but there is no "wt" command created anywhere. There IS a "wt0.9jo" created, though.

J. von Thadden: wt is a symlink and is created in /usr/local/bin


A user posted [Nov 05] I'm using WineTools on a Debian 3.1 (stable) machine that has the Equinox Desktop (EDE) running. WineTools uses very small fonts and is nearly unreadable.

J. von Thadden WineTools uses Xdialog. You have to search in the manual pages and your distribution how the fonts are handled there.

Installing Internet Explorer 6.0

A user reported problems installing i.e6. J. von Thadden: I had a similar [problem] because of Fedoras prelinking mechanism. For a short test you can disable it by executing

prelink -uav
rm -f /etc/prelink.cache

and try again. Prelinking will be enabled automatically next time cron starts the /etc/cron.daily/prelink script. Or you can do that manually.

E. Charpentier: I have seen the very same problem with Wine tools and the 20050419 release of wine as packaged in Debian, running on top of Debian sid. I did not (yet) try to install a native riched.dll...

J. von Thadden: I made a fix for that for the next WineTools so that you can install IE6 with it.

A User Asked May05: Where can I get IE?

J. von Thadden: Use my WineTools at http://www.von-thadden.de/Joachim/WineTools/. They do everything for you. Don't install the fonts.

Stalled Downloads

When trying to download the Arial True Type font, it hangs. Yet the machine has internet connectivity.

Joachim von Thadden [Mar 2005]: When the download location changes, wget can not get anything and this is why it stalled. You can download the arial file from this location:

http://mesh.dl.sourceforge.net/sourceforge/corefonts/arial32.exe and place it into ~/winetools/fonts. Winetools 2 can then find and install it. Wine Archive Link


Getting help with Recommended Software Installation Issues

A user reported: I am using the latest, recommended version of Winetools with the wine build of 20041019, the one specifically recommended by the author of Winetools on his site. [but then noted a difficulty with WordView and asked if there a [known] solution?]

J. von Thadden: To figure that out, I need you to send me the winetools.log from your installation and the complete recording of the console output of the *whole* installation with WineTools, starting with creating the fake Windows drive. So you have to repeat your installation for that (but WineTools saves the downloaded files, so it will cost you only 10 minutes).


gettext.sh

Winetools asks me for gettext.sh like in debian (but I am not debian). So I try to use gettext.sh for this debian but it still doesn't work, doesn't find this file. I put it in winetools directory, but it said to put it in your path. Is the path in ~/.wine ?

S. Munz May05: I think you should add the path to gettext.sh to your $PATH env variable. (usually you can put it in ~/bin/, which already should be in your users $PATH) Wine Archive Link

Debian

[May 05] A user commented that The [May] winetools package for Debian on wine.sf.net has a dependency missing: it needs to depend on the package "wine-utils". Without it, there is no wineboot and installations fail.Wine Archives

Personal tools