Use native msi until our own implementation works decently.
[wine] / documentation / samples / config
1 WINE REGISTRY Version 2
2 ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
3
4 ;; If you think it is necessary to show others your complete config for a
5 ;; bug report, filter out empty lines and comments with
6 ;; grep -v "^;" ~/.wine/config | grep '.'
7 ;;
8 ;; MS-DOS drives configuration
9 ;;
10 ;; Each section has the following format:
11 ;; [Drive X]
12 ;; "Path"="xxx"       (Unix path for drive root)
13 ;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
14 ;; "Label"="xxx"      (drive label, at most 11 characters)
15 ;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
16 ;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
17 ;;   This is the FS Wine is supposed to emulate on a certain
18 ;;   directory structure.
19 ;;   Recommended:
20 ;;   - "win95" for ext2fs, VFAT and FAT32
21 ;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
22 ;;   DON'T use "unix" unless you intend to port programs using Winelib !
23 ;; "Device"="/dev/xx" (only if you want to allow raw device access)
24 ;;
25 [Drive A]
26 "Path" = "/mnt/fd0"
27 "Type" = "floppy"
28 "Label" = "Floppy"
29 "Filesystem" = "win95"
30 "Serial" = "87654321"
31 "Device" = "/dev/fd0"
32
33 [Drive C]
34 "Path" = "/c"
35 "Type" = "hd"
36 "Label" = "MS-DOS"
37 "Filesystem" = "win95"
38
39 [Drive D]
40 "Path" = "/cdrom"
41 "Type" = "cdrom"
42 "Label" = "CD-Rom"
43 "Filesystem" = "win95"
44 ; make sure that device is correct and has proper permissions !
45 "Device" = "/dev/cdrom"
46
47 [Drive E]
48 "Path" = "/tmp"
49 "Type" = "hd"
50 "Label" = "Tmp Drive"
51 "Filesystem" = "win95"
52
53 [Drive F]
54 "Path" = "%HOME%"
55 "Type" = "network"
56 "Label" = "Home"
57 "Filesystem" = "win95"
58
59 [Drive Z]
60 "Path" = "/"
61 "Type" = "hd"
62 "Label" = "Root"
63 "Filesystem" = "win95"
64
65 [wine]
66 "Windows" = "c:\\windows"
67 "System" = "c:\\windows\\system"
68 "Temp" = "e:\\"
69 "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
70 "Profile" = "c:\\windows\\Profiles\\Administrator"
71 "GraphicsDriver" = "x11drv"
72 ;"ShowDirSymlinks" = "1"
73 ;"ShowDotFiles" = "1"
74 "ShellLinker" = "wineshelllink"
75
76 # [wineconf]
77
78 [Version]
79 ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
80 ;"Windows" = "win98"
81 ; DOS version to imitate
82 ;"DOS" = "6.22"
83
84 ; Be careful here, wrong DllOverrides settings have the potential
85 ; to pretty much kill your setup.
86 [DllOverrides]
87 ; some dlls you may want to change
88 "oleaut32"     = "builtin, native"
89 "ole32"        = "builtin, native"
90 "commdlg"      = "builtin, native"
91 "comdlg32"     = "builtin, native"
92 "shell"        = "builtin, native"
93 "shell32"      = "builtin, native"
94 "shfolder"     = "builtin, native"
95 "shlwapi"      = "builtin, native"
96 "shdocvw"      = "builtin, native"
97 "advapi32"     = "builtin, native"
98 "msvcrt"       = "native, builtin"
99 "mciavi.drv"   = "native, builtin"
100 "mcianim.drv"  = "native, builtin"
101 "msi"          = "native, builtin"
102 ; you can specify applications too
103 ; this one will apply for all notepad.exe
104 ;"*notepad.exe" = "native, builtin"
105 ; this one will apply only for a particular file
106 ;"C:\\windows\\regedit.exe" = "native, builtin"
107 ; default for all other dlls
108 "*" = "builtin, native"
109
110 [x11drv]
111 ; Number of colors to allocate from the system palette
112 "AllocSystemColors" = "100"
113 ; Use a private color map
114 "PrivateColorMap" = "N"
115 ; Favor correctness over speed in some graphics operations
116 "PerfectGraphics" = "N"
117 ; Color depth to use on multi-depth screens
118 ;;"ScreenDepth" = "16"
119 ; Name of X11 display to use
120 ;;"Display" = ":0.0"
121 ; Allow the window manager to manage created windows
122 "Managed" = "Y"
123 ; Use a desktop window of 640x480 for Wine
124 ;"Desktop" = "640x480"
125 ; Use XFree86 DGA extension if present
126 ; (make sure /dev/mem is accessible by you !)
127 "UseDGA" = "Y"
128 ; Use XVidMode extension if present
129 "UseXVidMode" = "Y"
130 ; Use the take focus protocol
131 "UseTakeFocus" = "Y"
132 ; Enable DirectX mouse grab
133 "DXGrab" = "N"
134 ; Create the desktop window with a double-buffered visual
135 ; (useful to play OpenGL games)
136 "DesktopDoubleBuffered" = "N"
137 ; Run in synchronous mode (useful for debugging X11 problems)
138 ;;"Synchronous" = "Y"
139 ;
140 ; Use the Render extension to render client side fonts (default "Y")
141 ;;"ClientSideWithRender" = "Y"
142 ; Fallback on X core requests to render client side fonts (default "Y")
143 ;;"ClientSideWithCore" = "Y"
144 ; Set both of the previous two to "N" in order to force X11 server side fonts
145 ;
146 ; Anti-alias fonts if using the Render extension (default "Y")
147 ;;"ClientSideAntiAliasWithRender" = "Y"
148 ; Anti-alias fonts if using core requests fallback (default "Y")
149 ;;"ClientSideAntiAliasWithCore" = "Y"
150 ;
151
152 [fonts]
153 ;Read the Fonts topic in the Wine User Guide before adding aliases
154 ;See a couple of examples for russian users below
155 "Resolution" = "96"
156 "Default" = "-adobe-helvetica-"
157 "DefaultFixed" = "fixed"
158 "DefaultSerif" = "-adobe-times-"
159 "DefaultSansSerif" = "-adobe-helvetica-"
160
161 ;; default TrueType fonts with russian koi8-r encoding
162 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
163 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
164 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
165 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
166 ;; default cyrillic bitmap X fonts
167 ;"Default" = "-cronyx-helvetica-"
168 ;"DefaultFixed" = "fixed"
169 ;"DefaultSerif" = "-cronyx-times-"
170 ;"DefaultSansSerif" = "-cronyx-helvetica-"
171
172 ; the TrueType font dirs you want to make accessible to wine
173 [FontDirs]
174 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
175 ;"dir2" = "/usr/share/fonts/truetype"
176 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
177 ;"dir4" = "/usr/share/fonts/TT"
178
179 [serialports]
180 "Com1" = "/dev/ttyS0"
181 "Com2" = "/dev/ttyS1"
182 "Com3" = "/dev/ttyS2"
183 "Com4" = "/dev/modem"
184
185 [parallelports]
186 "Lpt1" = "/dev/lp0"
187
188 [ppdev]
189 ;; key:  io-base of the emulated port
190 ;; value : parport-device{,timeout}
191 ;; timeout for auto closing an open device ( not yet implemented)
192 ;"378" = "/dev/parport0"
193 ;"278" = "/dev/parport1"
194 ;"3bc" = "/dev/parport2"
195
196 [spooler]
197 "FILE:" = "tmp.ps"
198 "LPT1:" = "|lpr"
199 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
200 "LPT3:" = "/dev/lp3"
201
202 [ports]
203 ;"read"  = "0x779,0x379,0x280-0x2a0"
204 ;"write" = "0x779,0x379,0x280-0x2a0"
205
206 [Debug]
207 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
208 ;"RelayInclude" = "user32.CreateWindowA"
209 ;"RelayFromExclude" = "user32;x11drv"
210 ;"RelayFromInclude" = "sol.exe"
211 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
212 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
213
214 [registry]
215 ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
216 ;Defaults are read all, write to Home
217 ; Where to find the global registries
218 ;"GlobalRegistryDir" = "/etc";
219 ; Global registries (stored in /etc)
220 "LoadGlobalRegistryFiles" = "Y"
221 ; Home registries (stored in ~user/.wine/)
222 "LoadHomeRegistryFiles" = "Y"
223 ; Load Windows registries from the Windows directory
224 "LoadWindowsRegistryFiles" = "Y"
225 ; TRY to write all changes to home registries
226 "WritetoHomeRegistryFiles" = "Y"
227 ; Registry periodic save timeout in seconds
228 ; "PeriodicSave" = "600"
229 ; Save only modified keys
230 "SaveOnlyUpdatedKeys" = "Y"
231
232 [Tweak.Layout]
233 ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
234 ;; this has *nothing* to do with the windows version Wine returns:
235 ;; set the "Windows" value in the [Version] section if you want that.
236 "WineLook" = "Win95"
237
238 [Clipboard]
239 "ClearAllSelections" = "0"
240 "PersistentSelection" = "1"
241
242 ; List of all directories directly contain .AFM files
243 [afmdirs]
244 "1" = "/usr/share/ghostscript/fonts"
245 "2" = "/usr/share/a2ps/afm"
246 "3" = "/usr/share/enscript"
247 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
248
249 [WinMM]
250 ; Uncomment the "Drivers" line matching your sound setting.
251
252 "Drivers" = "wineoss.drv"      ; default for most common configurations
253 ;"Drivers" = "winearts.drv"    ; for KDE
254 ;"Drivers" = "winealsa.drv"    ; for ALSA users
255 ;"Drivers" = "winejack.drv"    ; for Jack sound server
256 ;"Drivers" = "winenas.drv"     ; for NAS sound system
257 ;"Drivers" = "wineaudioio.drv" ; for Solaris machines
258 ;"Drivers" = ""                ; to disable sound
259 "WaveMapper" = "msacm.drv"
260 "MidiMapper" = "midimap.drv"
261
262 [dsound]
263 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
264 ;"HELmargin" = "5"
265 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
266 ;"HELqueue" = "5"
267 ;; Max number of fragments to prebuffer
268 ;"SndQueueMax" = "28"
269 ;; Min number of fragments to prebuffer
270 ;"SndQueueMin" = "12"
271 ;; Forces emulation mode (using wave api)
272 ;"HardwareAcceleration" = "Emulation"
273 ;; Sets default playback device (0 - number of devices - 1)
274 ;"DefaultPlayback" = "0"        ; use first device (/dev/dsp)
275 ;"DefaultPlayback" = "1"        ; use second device (/dev/dsp1)
276 ;"DefaultPlayback" = "2"        ; use third device (/dev/dsp2)
277 ;; Sets default capture device (0 - number of devices - 1)
278 ;"DefaultCapture" = "0"         ; use first device (/dev/dsp)
279 ;"DefaultCapture" = "1"         ; use second device (/dev/dsp1)
280 ;"DefaultCapture" = "2"         ; use third device (/dev/dsp2)
281
282 [Network]
283 ;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
284 ;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs 
285 ;; from the Unix host name. You'll need to set ComputerName in 
286 ;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
287 ;"UseDnsComputerName" = "N"
288
289 ;; sample AppDefaults entries
290
291 ; 3 InstallShield versions who like to put their full screen window in front,
292 ; without any chance to switch to another X11 application.
293 ; So just catch them in a desktop window.
294
295 [AppDefaults\\_INS0432._MP\\x11drv]
296 "Desktop" = "640x480"
297
298 [AppDefaults\\_INS0466._MP\\x11drv]
299 "Desktop" = "640x480"
300
301 [AppDefaults\\_INS0576._MP\\x11drv]
302 "Desktop" = "640x480"
303
304 [AppDefaults\\_INS5176._MP\\x11drv]
305 "Desktop" = "640x480"
306
307 [AppDefaults\\_INS5576._MP\\x11drv]
308 "Desktop" = "640x480"
309
310 ; force it to install even though wine has a newer version
311 [AppDefaults\\dcom98.exe\\DllOverrides]
312 "ole32" = "native"
313
314 [AppDefaults\\dcom95.exe\\DllOverrides]
315 "ole32" = "native"
316
317
318 ;[AppDefaults\\iexplore.exe\\DllOverrides]
319 ;"shlwapi" = "native"
320 ;"rpcrt4" = "native"
321 ;"ole32" = "native"
322 ;"shdocvw" = "native"
323 ;"wininet" = "native"
324 ;"shfolder" = "native"
325 ;"shell32" = "native"
326 ;"shell" = "native"
327 ;"comctl32" = "native"
328 ;
329 ;[AppDefaults\\setup.exe\\x11drv]
330 ;"Desktop" = "800x600"
331 ;
332 ;[AppDefaults\\sol.exe\\Version]
333 ;"Windows" = "nt40"
334 ;
335 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
336 ;; You can add an AppDefault entry like this for such cases.
337 ;[AppDefaults\\pickygame.exe\\dsound]
338 ;"EmulDriver" = "N"
339
340 # [/wineconf]