James Juran | 7c0b4c3 | 1999-06-05 08:46:10 +0000 | [diff] [blame] | 1 | Wine without Windows |
| 2 | ==================== |
James Juran | 8d01e08 | 1998-11-27 16:06:08 +0000 | [diff] [blame] | 3 | |
James Juran | 7c0b4c3 | 1999-06-05 08:46:10 +0000 | [diff] [blame] | 4 | A major goal of Wine is to allow users to run Windows programs without |
| 5 | having to install Windows on their machine. Wine implements the |
| 6 | functionality of the main DLL's usually provided with Windows. |
| 7 | Therefore, once Wine is finished, you will not need to have windows |
| 8 | installed to use Wine. |
| 9 | |
| 10 | Wine has already made enough progress that it may be possible to run |
| 11 | your target applications without Windows installed. If you want to try |
| 12 | it, follow these steps: |
| 13 | |
| 14 | 1. 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 | |
| 20 | 2. 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 | |
| 24 | 3. 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 | |
| 28 | 4. Run and/or install your applications. |
| 29 | |
| 30 | |
| 31 | Because Wine is not yet complete, some programs will work better |
| 32 | with native Windows DLL's than with Wine's replacements. Wine has been |
| 33 | designed 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 Juran | 8d01e08 | 1998-11-27 16:06:08 +0000 | [diff] [blame] | 35 | directory in the configuration file does not point to a native Windows |
| 36 | installation but is in a separate Unix file system. (For instance, |
| 37 | C:\windows is really /home/ego/wine/drives/c). |
| 38 | |
James Juran | 8d01e08 | 1998-11-27 16:06:08 +0000 | [diff] [blame] | 39 | - 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 Juran | 7c0b4c3 | 1999-06-05 08:46:10 +0000 | [diff] [blame] | 41 | 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 Juran | 8d01e08 | 1998-11-27 16:06:08 +0000 | [diff] [blame] | 49 | - Note that some network DLL's are not needed even though Wine is |
James Juran | 7c0b4c3 | 1999-06-05 08:46:10 +0000 | [diff] [blame] | 50 | looking for them. The Windows MPR.DLL currently does not work; you |
| 51 | must use the internal implementation. |
| 52 | |
James Juran | 8d01e08 | 1998-11-27 16:06:08 +0000 | [diff] [blame] | 53 | - Copy SHELL/SHELL32 and COMDLG/COMDLG32 COMMCTRL/COMCTL32 |
| 54 | only as pairs to your Wine directory (these DLL's are |
James Juran | 7c0b4c3 | 1999-06-05 08:46:10 +0000 | [diff] [blame] | 55 | "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 Juran | 8d01e08 | 1998-11-27 16:06:08 +0000 | [diff] [blame] | 59 | together. |
James Juran | 7c0b4c3 | 1999-06-05 08:46:10 +0000 | [diff] [blame] | 60 | |
James Juran | 8d01e08 | 1998-11-27 16:06:08 +0000 | [diff] [blame] | 61 | - 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 Mohr | 8cd9351 | 2000-01-29 21:12:58 +0000 | [diff] [blame] | 64 | |
| 65 | - Also add winhelp.exe and winhlp32.exe if you want to be able to browse |
| 66 | through your programs' help function. |