From f949d14f0b4089097a739d0180cb5e1d1e963a8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Petten=C3=B2?= Date: Mon, 6 Dec 2004 16:42:33 +0000 Subject: [PATCH] Updated the documentation telling to use the HKEY_CURRENT_USER/Environment key instead of the [wine] section for Path, Temp and System variables. --- documentation/configuring.sgml | 39 +++-------------------- documentation/faq.sgml | 1 - documentation/running.sgml | 56 +++++++++++++++++++++++++--------- 3 files changed, 46 insertions(+), 50 deletions(-) diff --git a/documentation/configuring.sgml b/documentation/configuring.sgml index 78101dc391..8eceecfff0 100644 --- a/documentation/configuring.sgml +++ b/documentation/configuring.sgml @@ -359,16 +359,13 @@ The [wine] Section - The [wine] section of the configuration file contains all kinds - of general settings for Wine. + The [wine] section of the configuration file contains basic settings for Wine. "Windows" = "c:\\windows" -"System" = "c:\\windows\\system" -"Temp" = "c:\\temp" -"Path" = "c:\\windows;c:\\windows\\system;c:\\blanco" "ShowDirSymlinks" = "1" +"ShowDotFiles" = "1" For a detailed description of drive layer configuration and the meaning of these parameters, please look at the - - "System" = "c:\\windows\\system" - This sets up where the windows system files are. The Windows - system directory should reside below the directory used for the - Windows setting. - Thus when using the example above, the system directory would be - /usr/local/wine_c/windows/system. - Again, no trailing slash, and write access! - - - "Temp" = "c:\\temp" This should - be the directory you want your temp files stored in, - /usr/local/wine_c/temp in our example. - Again, no trailing slash, and write - access!! - - - "Path" = "c:\\windows;c:\\windows\\system;c:\\blanco" - Behaves like the PATH setting on UNIX - boxes. When wine is run like wine - sol.exe, if sol.exe - resides in a directory specified in the - Path setting, wine will run it (Of - course, if sol.exe resides in the - current directory, wine will run that one). Make sure it - always has your windows directory and - system directory (For this setup, it must have - "c:\\windows;c:\\windows\\system"). - "ShowDirSymlinks" = "1" Wine doesn't pass directory symlinks to Windows programs by @@ -1017,6 +985,9 @@ ln -s /dev/lp0 lpt1 Windows programs when using the above method! (in other words: enabling it is certainly not recommended) + Old Path, Temp, System configuration are now moved into the + registry. See the Environment + Variables paragraph. diff --git a/documentation/faq.sgml b/documentation/faq.sgml index b526dd975f..0e7b025566 100644 --- a/documentation/faq.sgml +++ b/documentation/faq.sgml @@ -820,7 +820,6 @@ Windows=c:\windows System=c:\windows\system Temp=e:\ - Path=c:\windows;c:\windows\system;c: In /var/lib/wine/windows, you will need to diff --git a/documentation/running.sgml b/documentation/running.sgml index 7035b372bc..1d3d8f6928 100644 --- a/documentation/running.sgml +++ b/documentation/running.sgml @@ -88,16 +88,14 @@ Usage: wine PROGRAM [ARGUMENTS...] Run the specified program The first argument should be the name of the file you want wine to execute. If the executable is - in the Path parameter in the - configuration file, you can simply give the executable file - name. However, if the executable is not in - Path, you must give the full path to + in the Path environment variable, you can + simply give the executable file name. However, if the executable + is not in Path, you must give the full path to the executable (in Windows format, not UNIX format!). For example, given a Path of the following: -[wine] -"Path"="c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\" +Path="c:\windows;c:\windows\system;e:\;e:\test;f:\" You could run the file @@ -375,17 +373,45 @@ Usage: wine PROGRAM [ARGUMENTS...] Run the specified program place the setting into /etc/profile, or also ~/.bashrc in the case of bash. + Note however that there are some exceptions to the rule: + If you want to change the PATH, SYSTEM or TEMP variables, the of course + you can't modify it that way, since this will alter the Unix environment + settings. Instead, you should set them into the registry. To set them + you should launch wine regedit and then go to the + HKEY_CURRENT_USER/Environment key. Now you can create + or modify the values of the variables you need + - Note however that there is an exception to the rule: - If you want to change the PATH environment variable, then of - course you can't modify it that way, since this will alter the - Unix PATH environment setting. Instead, you should set the - WINEPATH environment variable. An alternative way to - indicate the content of the DOS PATH environment variable would - be to change the "path" setting in the wine config file's [wine] section. + "System" = "c:\\windows\\system" + This sets up where the windows system files are. The Windows + system directory should reside below the directory used for the + Windows setting. + Thus when using /usr/local/wine_c_windows as Windows path, + the system directory would be + /usr/local/wine_c/windows/system. + It must be set with no trailing slash, and you must be sure that + you have write access to it. + + + "Temp" = "c:\\temp" This should + be the directory you want your temp files stored in, + /usr/local/wine_c/temp in our previous example. + Again, no trailing slash, and write + access!! + + + "Path" = "c:\\windows;c:\\windows\\system;c:\\blanco" + Behaves like the PATH setting on UNIX + boxes. When wine is run like wine + sol.exe, if sol.exe + resides in a directory specified in the + Path setting, wine will run it (Of + course, if sol.exe resides in the + current directory, wine will run that one). Make sure it + always has your windows directory and + system directory (For this setup, it must have + "c:\\windows;c:\\windows\\system"). - -- 2.33.8