Sponsored Content
Full Discussion: Fake System32 Folder
Operating Systems Linux Fake System32 Folder Post 54738 by zazzybob on Monday 23rd of August 2004 05:04:44 AM
Old 08-23-2004
Hmm....

The first time you run wine it will run a configuration program for you to set up wine according to your needs (and version of Windows).

You'll find that normally you'll have a .wine directory under your home directory (i.e. ~/.wine) and then depending on your configuration a fake_windows directory beneath that.

You can, if need be, place native Windows DLLs into one of these locations:

1. The directory the program was started from.

2. The current directory.

3. The Windows system directory.

4. The Windows directory.

5. The PATH variable directories.

They are search in taht order. I'd say ~/.wine/fake_windows/Windows/System/ (or however you configure Wine) is the best place.

You'll then need to configure the ~/.wine/config file (man wine-conf) for any DLLs you want to override with ones you've taken from original Windows media.

You can either change the global dll overrides section so that changes affect all Wine apps....

Code:
[DllOverrides]
; some dlls you may want to change
"shell"        = "native, builtin"
"shell32"      = "native, builtin"

or just on an application dependent section....

Code:
;; sample AppDefaults entries
[AppDefaults\\my_app.exe\\DllOverrides]
"commctrl.dll" = "native"
"comctl32.dll" = "native"
"riched32.dll" = "native"
"shell.dll" = "native"
"shell32.dll" = "native"
"comdlg32.dll" = "native"

There is a ton of documentation at http://www.winehq.org and also via our old friend Mr. Google, so you'll need to do some reasearch.

Cheers
ZB
 

9 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Uh oh! system32/hal.dll is missing or corrupt.

Hi. I'm trying to load red hat linux 7.2 on my machine so that I can learn how to use it. I'm having a very difficult time. I attempted to install it so that I can dual boot between linux and w2k. But now I can't boot up. I get a message saying that system32/hal.dll is either missing or... (4 Replies)
Discussion started by: paulSF
4 Replies

2. Solaris

system Fake IPs

hi all ; I am using solaris 8 over SPARC . i was given the role to administer a webmail server running Iplanet 4.2 i was told also that this server is running a website . this server has 2 fake IPs . My question is how i can know these fake IPs and how they are mapped . cheers (2 Replies)
Discussion started by: ppass
2 Replies

3. Shell Programming and Scripting

Fake deletion of files

Hi, This is possibly an odd request to do with permissions as I seem to have tied myself up with these! I have the following directory (see below) that contains files that the 'usergrp' user needs to be able to 'delete' files from. drwxr-s--- 2 usergrp usergrp 512 16 Feb 14:37... (2 Replies)
Discussion started by: Peejay
2 Replies

4. Shell Programming and Scripting

Filtering Fake inputs

Hi My script takes input for a hostname. echo "enter hostname read hostname Now I would like to filter the fake inputs.My hostnames always follow same syntax ( abcd123.efgh.ijk.com). Appreciate everyones suggestions on this..Thanks.. (2 Replies)
Discussion started by: coolkid
2 Replies

5. UNIX for Advanced & Expert Users

port mapping with fake ip

Hi there, i have a question to all. The task is: Redirect port from local host to remote (datapipe etc.) with faking my ip. For example, nmap with -S option make fake ip of host it being running. pic: -> 10.1.1.1:80 ... (1 Reply)
Discussion started by: lecter
1 Replies

6. UNIX for Dummies Questions & Answers

fake network address....

Good morning! Why would having a fake network device be useful? Thanks in advance Bigben (0 Replies)
Discussion started by: bigben1220
0 Replies

7. IP Networking

What is a fake network device?

Thanks in advance! Ben (1 Reply)
Discussion started by: bigben1220
1 Replies

8. UNIX for Dummies Questions & Answers

fake email sender

Hi, I am using the below command to send the email. mailx -s "test from `hostname`" email@gmail.com < attachment.txt id uid=870(wlsuser) gid=641(wlsgrp) I recieve the email as "From: wlsuser@hostname Can I somehow have any string instead of wlsuser, if that grows too complex to... (4 Replies)
Discussion started by: shifahim
4 Replies

9. Cybersecurity

Fake MicroSoft calls

Dear colleagues, it's that time of the year again: in recent days and weeks I'm receiving annoying numbers of annoying "support" calls from dubious "MicroSoft Centers" telling me that my computer generates errors and / or downloads malicious SW. Although ignoring these pesterers on the phone,... (8 Replies)
Discussion started by: RudiC
8 Replies
WINE(1) 							  Windows On Unix							   WINE(1)

NAME
wine - run Windows programs on Unix SYNOPSIS
wine program [arguments ... ] wine --help wine --version For instructions on passing arguments to Windows programs, please see the PROGRAM/ARGUMENTS section of the man page. DESCRIPTION
wine loads and runs the given program, where the program is a DOS, Windows 3.x, or Win32 executable (x86 binaries only). For debugging wine, use winedbg instead. For running CUI executables (Windows console programs), use wineconsole instead of wine. This will display all the output in a separate windows (this requires X11 to run). Not using wineconsole for CUI programs will only provide very limited console support, and your program might not function properly. When invoked with --help or --version as the only argument, wine will simply print a small help message or its version respectively and exit. PROGRAM
/ARGUMENTS The program name may be specified in DOS format (C:\WINDOWS\SOL.EXE) or in Unix format (/msdos/windows/sol.exe). You may pass arguments to the program being executed by adding them to the end of the command line invoking wine (such as: wine notepad C:\TEMP\README.TXT). Note that you need to '' escape special characters (and spaces) when invoking Wine via a shell, e.g. wine C:\Program Files\MyPrg\test.exe ENVIRONMENT VARIABLES
wine makes the environment variables of the shell from which wine is started accessible to the windows/dos processes started. So use the appropriate syntax for your shell to enter environment variables you need. WINEPREFIX If set, the content of this variable is taken as the name of the directory where wine stores its data (the default is $HOME/.wine). This directory is also used to identify the socket which is used to communicate with the wineserver. All wine processes using the same wineserver (i.e.: same user) share certain things like registry, shared memory, and config file. By setting WINEPREFIX to dif- ferent values for different wine processes, it is possible to run a number of truly independent wine processes. WINESERVER Specifies the path and name of the wineserver binary. If not set, Wine will try to load /usr/bin/wineserver, and if this doesn't exist it will then look for a file named "wineserver" in the path and in a few other likely locations. WINELOADER Specifies the path and name of the wine binary to use to launch new Windows processes. If not set, Wine will try to load /usr/bin/wine, and if this doesn't exist it will then look for a file named "wine" in the path and in a few other likely locations. WINEDEBUG Turns debugging messages on or off. The syntax of the variable is of the form [class][+/-]channel[,[class2][+/-]channel2]. class is optional and can be one of the following: err, warn, fixme, or trace. If class is not specified, all debugging messages for the specified channel are turned on. Each channel will print messages about a particular component of wine. The following character can be either + or - to switch the specified channel on or off respectively. If there is no class part before it, a lead- ing + can be omitted. Note that spaces are not allowed anywhere in the string. Examples: WINEDEBUG=warn+all will turn on all warning messages (recommended for debugging). WINEDEBUG=warn+dll,+heap will turn on DLL warning messages and all heap messages. WINEDEBUG=fixme-all,warn+cursor,+relay will turn off all FIXME messages, turn on cursor warning messages, and turn on all relay messages (API calls). WINEDEBUG=relay will turn on all relay messages. For more control on including or excluding functions and dlls from the relay trace, look into the HKEY_CURRENT_USERSoftwareWineDebug registry key. For more information on debugging messages, see the Running Wine chapter of the Wine User Guide. WINEDLLPATH Specifies the path(s) in which to search for builtin dlls and Winelib applications. This is a list of directories separated by ":". In addition to any directory specified in WINEDLLPATH, Wine will also look in /usr/lib64/wine. WINEDLLOVERRIDES Defines the override type and load order of dlls used in the loading process for any dll. There are currently two types of libraries that can be loaded into a process' address space: native windows dlls (native), wine internal dlls (builtin). The type may be abbreviated with the first letter of the type (n, b). The library may also be disabled (''). Each sequence of orders must be sepa- rated by commas. Each dll may have its own specific load order. The load order determines which version of the dll is attempted to be loaded into the address space. If the first fails, then the next is tried and so on. Multiple libraries with the same load order can be separated with commas. It is also possible to use specify different loadorders for different libraries by separating the entries by ";". The load order for a 16-bit dll is always defined by the load order of the 32-bit dll that contains it (which can be identified by looking at the symbolic link of the 16-bit .dll.so file). For instance if ole32.dll is configured as builtin, storage.dll will be loaded as builtin too, since the 32-bit ole32.dll contains the 16-bit storage.dll. Examples: WINEDLLOVERRIDES="comdlg32,shell32=n,b" Try to load comdlg32 and shell32 as native windows dll first and try the builtin version if the native load fails. WINEDLLOVERRIDES="comdlg32,shell32=n;c:\foo\bar\baz=b" Try to load the libraries comdlg32 and shell32 as native windows dlls. Furthermore, if an application request to load c:fooaraz.dll load the builtin library baz. WINEDLLOVERRIDES="comdlg32=b,n;shell32=b;comctl32=n;oleaut32=" Try to load comdlg32 as builtin first and try the native version if the builtin load fails; load shell32 always as builtin and comctl32 always as native. Oleaut32 will be disabled. WINEARCH Specifies the Windows architecture to support. It can be set either to win32 (support only 32-bit applications), or to win64 (sup- port both 64-bit applications and 32-bit ones in WoW64 mode). The architecture supported by a given Wine prefix is set at prefix creation time and cannot be changed afterwards. When running with an existing prefix, Wine will refuse to start if WINEARCH doesn't match the prefix architecture. DISPLAY Specifies the X11 display to use. OSS sound driver configuration variables AUDIODEV Set the device for audio input / output. Default /dev/dsp. MIXERDEV Set the device for mixer controls. Default /dev/mixer. MIDIDEV Set the MIDI (sequencer) device. Default /dev/sequencer. FILES
/usr/bin/wine The wine program loader. /usr/bin/wineconsole The wine program loader for CUI (console) applications. /usr/bin/wineserver The wine server /usr/bin/winedbg The wine debugger /usr/lib64/wine Directory containing wine's shared libraries $WINEPREFIX/dosdevices Directory containing the DOS device mappings. Each file in that directory is a symlink to the Unix device file implementing a given device. For instance, if COM1 is mapped to /dev/ttyS0 you'd have a symlink of the form $WINEPREFIX/dosdevices/com1 -> /dev/ttyS0. DOS drives are also specified with symlinks; for instance if drive D: corresponds to the CDROM mounted at /mnt/cdrom, you'd have a symlink $WINEPREFIX/dosdevices/d: -> /mnt/cdrom. The Unix device corresponding to a DOS drive can be specified the same way, except with '::' instead of ':'. So for the previous example, if the CDROM device is mounted from /dev/hdc, the corresponding symlink would be $WINEPREFIX/dosdevices/d:: -> /dev/hdc. AUTHORS
wine is available thanks to the work of many developers. For a listing of the authors, please see the file AUTHORS in the top-level direc- tory of the source distribution. COPYRIGHT
wine can be distributed under the terms of the LGPL license. A copy of the license is in the file COPYING.LIB in the top-level directory of the source distribution. BUGS
A status report on many applications is available from http://appdb.winehq.org. Please add entries to this list for applications you cur- rently run, if there is no entry for this application. Bug reports may be posted to Wine Bugzilla http://bugs.winehq.org If you want to post a bug report, please see http://wiki.winehq.org/Bugs in the wine source to see what information is necessary Problems and suggestions with this manpage please also report to http://bugs.winehq.org AVAILABILITY
The most recent public version of wine can be downloaded from http://www.winehq.org/download The latest snapshot of the code may be obtained via GIT. For information on how to do this, please see http://www.winehq.org/site/git WineHQ, the wine development headquarters, is at http://www.winehq.org. This website contains a great deal of information about wine. For further information about wine development, you might want to subscribe to the wine mailing lists at http://www.winehq.org/forums SEE ALSO
wineserver(1), winedbg(1) Wine 1.2-rc6 October 2005 WINE(1)
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy