blob: 457349cceda1a37a0599d9dd8b11c827c87984c9 [file] [log] [blame]
James Juran7c0b4c31999-06-05 08:46:10 +00001 Wine without Windows
2 ====================
James Juran8d01e081998-11-27 16:06:08 +00003
James Juran7c0b4c31999-06-05 08:46:10 +00004A major goal of Wine is to allow users to run Windows programs without
5having to install Windows on their machine. Wine implements the
6functionality of the main DLL's usually provided with Windows.
7Therefore, once Wine is finished, you will not need to have windows
8installed to use Wine.
9
10Wine has already made enough progress that it may be possible to run
11your target applications without Windows installed. If you want to try
12it, follow these steps:
13
141. Create empty C:\windows and C:\windows\system directories.
15 Do not point Wine to a Windows directory full of old installations
16 and a messy registry. (Wine creates a special registry in your home
17 directory, in $HOME/.wine/*.reg. Perhaps you have to remove these
18 files).
19
202. Point [Drive C] in wine.conf or .winerc to where you want C: to be.
21 Refer to the Wine man page for more information. Remember to use
22 filesystem=win95 !
23
243. Use tools/wineinstall to compile Wine and install the default
25 registry. Or if you prefer to do it yourself, compile programs/regapi,
26 and run: programs/regapi/regapi setValue < winedefault.reg
27
284. Run and/or install your applications.
29
30
31Because Wine is not yet complete, some programs will work better
32with native Windows DLL's than with Wine's replacements. Wine has been
33designed to make this possible. Here are some tips by Juergen Schmied
34(and others) on how to proceed. This assumes that your C:\windows
James Juran8d01e081998-11-27 16:06:08 +000035directory in the configuration file does not point to a native Windows
36installation but is in a separate Unix file system. (For instance,
37C:\windows is really /home/ego/wine/drives/c).
38
James Juran8d01e081998-11-27 16:06:08 +000039- Run the application with -debugmsg +module,+file to find out
40 which files are needed. Copy the required DLL's one by one to the
James Juran7c0b4c31999-06-05 08:46:10 +000041 C:\windows\system directory. Do not copy KERNEL/KERNEL32, GDI/GDI32,
42 or USER/USER32. These implement the core functionality of the
43 Windows API, and the Wine internal versions must be used.
44
45- Edit the [DllOverrides] section of wine.conf or .winerc to specify
46 'native' before 'builtin' for the Windows DLL's you want to use.
47 For more information about this, see the Wine manpage.
48
James Juran8d01e081998-11-27 16:06:08 +000049- Note that some network DLL's are not needed even though Wine is
James Juran7c0b4c31999-06-05 08:46:10 +000050 looking for them. The Windows MPR.DLL currently does not work; you
51 must use the internal implementation.
52
James Juran8d01e081998-11-27 16:06:08 +000053- Copy SHELL/SHELL32 and COMDLG/COMDLG32 COMMCTRL/COMCTL32
54 only as pairs to your Wine directory (these DLL's are
James Juran7c0b4c31999-06-05 08:46:10 +000055 "clean" to use). Make sure you have these specified in the
56 [DllPairs] section of wine.conf or .winerc.
57
58- Be consistent: Use only DLL's from the same Windows version
James Juran8d01e081998-11-27 16:06:08 +000059 together.
James Juran7c0b4c31999-06-05 08:46:10 +000060
James Juran8d01e081998-11-27 16:06:08 +000061- Put regedit.exe in the C:\windows directory (office95 imports
62 a *.reg file when it runs with a empty registry, don't know
63 about office97).
Andreas Mohr8cd93512000-01-29 21:12:58 +000064
65- Also add winhelp.exe and winhlp32.exe if you want to be able to browse
66 through your programs' help function.