Home

Wine Support
Wine Questions/Answers
Wine Quickstart Guide




Working applications         
» Graphics/animation
» Home/Education
» Internet
» Multimedia
» Office
» Scientific/technical
» Utilities
» Programming
» Webdesign




Working games
» Action
» Emulators
» First Person Shooters
» Puzzle
» RPG/Adventures
» Simulation
» Strategy




Howtos
» Installing .msi
» Wine and MIDI
» WINEPREFIX
» Poker news




Wine utilities
» Installation scripts
» WineXS





Commercial Wine
» CrossOver Linux
» Cedega
» Bordeaux




Downloads
Links
Contact





WINEPREFIX

By default Windows applications are installed in /home/user/.wine. If you want to install your application in a different directory then you must use the WINEPREFIX variable.
If you want your application to be installed in /home/user/appname you must first create the directory:
$ mkdir appname
Now type the following command:
$ WINEPREFIX="/home/user/appname" wineprefixcreate
This will create a directory called /home/frank/appname. In this directory you will find a fake Windows drive and the Wine configuration files system.reg and user.reg.
Now type $ WINEPREFIX="appname" wine setup.exe to install the application.
If your application is installed in /home/frank/appname/drive_c/Program Files/app/appname.exe ypu can run it by typing:
$ WINEPREFIX="/home/user/appname" wine ~/appname/drive_c/Program\ Files/app/appname.exe


© 2005 Frank Hendriksen, Frank's Corner

dy>