LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2005, 10:59 PM   #1
jeep4wd
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Rep: Reputation: 0
Cannot get wine to recognize my exiting windows installation


I am a newbie and am trying to be able to configure wine to work with my existing windows installation. I have Windows XP and it is located on /dev/hda1 and is mounted in my Fedora 4 at /mnt/xp. My current wine config file is as follows. Any help would be greatly appreciated.


WINE REGISTRY Version 2
;; inspired by Sidenet ()
;; continued for winetools by Joachim v. Thadden ()
;; Version 2.1.2jo
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;; If you think it is necessary to show others your complete config for a
;; bug report, filter out empty lines and comments with
;; grep -v "^;" ~/.wine/config | grep '.'

[drive c]
"Path" = "/mnt/xp"
"Type" = "hd"
"Label" = ""
"Filesystem" = "winxp"
"Device" = "/dev/hda1"

[wine]
"GraphicsDriver" = "x11drv"; (x11drv, ttydrv)
"ShowDotFiles" = "1"
"ShowDirSymlinks" = "1"
"Path" = "c:\\windows;c:\\windows\\system"
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "t:\\"
"Profile" = "c:\\windows\\Profiles\\Administrator"

# [wineconf]

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
; Set version to win98 is recommended.
"Windows" = "win98"
; DOS version to imitate
; Only effect when "Windows" = "win31"
;"DOS" = "6.22"

; Be careful here, wrong DllOverrides settings have the potential
; to pretty much kill your setup.

[DllOverrides]
; Some native dlls won't work, so leave these builtin.
; Do not modify these lines.
"advapi32" = "builtin";Native version won't work
"avicap32" = "builtin";Hardware related
"capi2032" = "builtin";Completely implemented
"comctl32" = "builtin";Native version cause bugs.
"comdlg32" = "builtin";thunk
"crtdll" = "builtin";Completely implemented
"ctl3d32" = "builtin";thunk
"d3d8" = "builtin";Hardware related
"d3d9" = "builtin";Hardware related
"dbghelp" = "builtin";Native version won't work
"ddeml" = "builtin";
"ddraw" = "builtin";Hardware related
"ddrawex" = "builtin";Hardware related
"dinput" = "builtin";
"dinput8" = "builtin";Hardware related
"dispdib" = "builtin";Completely implemented
"display.drv" = "builtin";Hardware related
"dmusic32" = "builtin";thunk
"dplay" = "builtin";
"dplayx" = "builtin";
"dpnet" = "builtin";
"dsound" = "builtin";Hardware related
"dswave" = "builtin";Hardware related
"dxdiagn" = "builtin";
"gdi.exe" = "builtin";Hardware related
"gdi32" = "builtin";Hardware related
"glu32" = "builtin";Hardware related
"gult32" = "builtin";Hardware related
"icmp" = "builtin";Hardware related
"ifsmgr.vxd" = "builtin";Completely implemented
"imaadp32.acm" = "builtin";Completely implemented
"imm" = "builtin";Special hack needed
"imm32" = "builtin";Special hack needed
"iphlpapi" = "builtin";Hardware related
"joystick.drv" = "builtin";Hardware related
"kernel32" = "builtin";Hardware related
"keyboard.drv" = "builtin";Hardware related
"krnl386.exe" = "builtin";Hardware related
"lz32" = "builtin";Completely implemented
"lzexpand" = "builtin";Completely implemented
"mcianim.drv" = "builtin";Completely implemented
"mciavi.drv" = "builtin";Completely implemented
"mcicda.drv" = "builtin";Completely implemented
"mciseq.drv" = "builtin";Completely implemented
"mciwave.drv" = "builtin";Completely implemented
"midimap.drv" = "builtin";Completely implemented
"mmsystem" = "builtin";Hardware related
"mouse.drv" = "builtin";Hardware related
"mpr" = "builtin";thunk
"msacm.drv" = "builtin";Completely implemented
"msacm32" = "builtin";thunk
"msadp32.acm" = "builtin";Completely implemented
"msvfw32" = "builtin";Hardware related
"msvidc32" = "builtin";Completely implemented
"mswsock" = "builtin";Hardware related
"newdev" = "builtin";Hardware related
"ntdll" = "builtin";Hardware related
"opengl32" = "builtin";Hardware related
"psapi" = "builtin";Hardware related
"rasapi16" = "builtin";Hardware related
"rasapi32" = "builtin";Hardware related
"serialui" = "builtin";Hardware related
"setupapi" = "builtin";thunk
"shell" = "builtin";Special hack needed
"shell32" = "builtin";Special hack needed
"snmpapi" = "builtin";Hardware related
"sound" = "builtin";Hardware related
"sti" = "builtin";Hardware related
"system.drv" = "builtin";Hardware related
"tapi32" = "builtin";Hardware related
"toolhelp" = "builtin";Hardware related
"twain" = "builtin";Hardware related
"twain_32" = "builtin";Hardware related
"user.exe" = "builtin";Hardware related
"user32" = "builtin";Hardware related
"ver" = "builtin";Special hack needed
"version" = "builtin";Special hack needed
"vnbt.vxd" = "builtin";
"vtdapi.vxd" = "builtin";
"vwin32.vxd" = "builtin";Hardware related
"w32skrnl" = "builtin";Hardware related
"w32sys" = "builtin";Hardware related
"win32s16" = "builtin";Hardware related
"win87em" = "builtin";Hardware related
"winaspi" = "builtin";Hardware related
"wing" = "builtin";Hardware related
"winmm" = "builtin";Hardware related
"winnls32" = "builtin";thunk
"winsock" = "builtin";Hardware related
"wintab" = "builtin";Hardware related
"wintab32" = "builtin";Hardware related
"wnaspi32" = "builtin";Hardware related
"wow32" = "builtin";
"wprocs" = "builtin";Hardware related
"ws2_32" = "builtin";Hardware related
"wsock32" = "builtin";Hardware related

;Windows Installer
; Install InstMsiA.exe if you get some errors.
"msi" = "native"

; DCOM 98
; If you'd like to go without DCOM98, remove this line.
"ole32" = "native"

; Windows ODBC
; If you'd like to use UNIX ODBC, remove this line.
"odbc32" = "native, builtin"

; AcroReader 6 ActiveX plugin
; must be disabled because it crashes IE6
"pdf.ocx" = "builtin"

; you can specify applications too
; this one will apply for all notepad.exe
;"*notepad.exe" = "native, builtin"
; this one will apply only for a particular file
;"C:\\windows\\regedit.exe" = "native, builtin"

; some spy or definitely not working programs we don't like to be started
"*autorun.exe" = "native,builtin"
"*ctfmon.exe" = "builtin"
"*ddhelp.exe" = "builtin"
"eMusicClient.exe" = "builtin"
"*findfast.exe" = "builtin"
"icwconn1.exe" = "builtin" ;Prevent from loading ICW even if registry key was changed
"*maildoff.exe" = "builtin"
"*mdm.exe" = "builtin"
"*mosearch.exe" = "builtin"
;"*pstores.exe" = "builtin" ; needed for IE installation
"qttask.exe" = "builtin"
"realsched.exe" = "builtin"
"winampa.exe" = "builtin"
"AGENTSVR.EXE" = "builtin"

; default for all other dlls and executables
"*" = "native, builtin"
;"*" = "builtin, native"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "1024x768"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "N"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use XRandR extension if present
"UseXRandR" = "N"
; Use the take focus protocol
"UseTakeFocus" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "Y"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"
;
; Use the Render extension to render client side fonts (default "Y")
;;"ClientSideWithRender" = "Y"
; Fallback on X core requests to render client side fonts (default "Y")
;;"ClientSideWithCore" = "Y"
; Set both of the previous two to "N" in order to force X11 server side fonts
;
; Anti-alias fonts if using the Render extension (default "Y")
;;"ClientSideAntiAliasWithRender" = "Y"
; Anti-alias fonts if using core requests fallback (default "Y")
;;"ClientSideAntiAliasWithCore" = "Y"
;
; Use the X Input Method (default "Y")
;;"UseXIM" = "Y"
; XIM Input Style (onthespot, offthespot, overthespot ,root)
;;"InputStyle" = "onthespot"
;
; Codepage for clipboard (0 for ANSI, 20932 for euc-jp)
"TextCP" = "0"

;[ppdev]
;; key: io-base of the emulated port
;; value : parport-device{,timeout}
;; timeout for auto closing an open device ( not yet implemented)
;"378" = "/dev/parport0"
;"278" = "/dev/parport1"
;"3bc" = "/dev/parport2"

;[spooler]
;;Wine detects CUPS configuration automaticly.
;"FILE:" = "tmp.ps"
;"LPT1:" = "|lpr"
;"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
;"LPT3:" = "/dev/lp3"

;[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
;"write" = "0x779,0x379,0x280-0x2a0"

;[Debug]
;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"RelayInclude" = "user32.CreateWindowA"
;"RelayFromExclude" = "user32;x11drv"
;"RelayFromInclude" = "sol.exe"
;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"SpyExclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Where to find the global registries
;"GlobalRegistryDir" = "/etc";
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
"UsePrimary" = "0"

; List of all directories directly contain .AFM files
;[afmdirs]
;"1" = "/usr/share/ghostscript/fonts"
;"2" = "/usr/share/a2ps/afm"
;"3" = "/usr/share/enscript"
;"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[WinMM]
; Uncomment the "Drivers" line matching your sound setting.
; Note that currently the OSS driver is the most implemented one and so it is recommended for sound apps

"Drivers" = "wineoss.drv" ; default for most common configurations
;"Drivers" = "winearts.drv" ; for KDE
;"Drivers" = "winealsa.drv" ; for ALSA users
;"Drivers" = "winejack.drv" ; for Jack sound server
;"Drivers" = "winenas.drv" ; for NAS sound system
;"Drivers" = "wineaudioio.drv" ; for Solaris machines
;"Drivers" = "" ; to disable sound
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[dsound]
;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
;"HELmargin" = "5"
;; HEL only: Number of waveOut fragments ahead to queue to driver.
;"HELqueue" = "5"
;; Max number of fragments to prebuffer
;"SndQueueMax" = "28"
;; Min number of fragments to prebuffer
;"SndQueueMin" = "12"
;; Forces emulation mode (using wave api)
;"HardwareAcceleration" = "Emulation"
;; Sets default playback device (0 - number of devices - 1)
;"DefaultPlayback" = "0" ; use first device (/dev/dsp)
;"DefaultPlayback" = "1" ; use second device (/dev/dsp1)
;"DefaultPlayback" = "2" ; use third device (/dev/dsp2)
;; Sets default capture device (0 - number of devices - 1)
;"DefaultCapture" = "0" ; use first device (/dev/dsp)
;"DefaultCapture" = "1" ; use second device (/dev/dsp1)
;"DefaultCapture" = "2" ; use third device (/dev/dsp2)

[Network]
;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs
;; from the Unix host name. You'll need to set ComputerName in
;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
;"UseDnsComputerName" = "N"

;; Application specific configuration

; 3 InstallShield versions who like to put their full screen window in front,
; without any chance to switch to another X11 application.
; So just catch them in a desktop window.
; Note: KDE handles this correctry.
;
;[AppDefaults\\_INS0432._MP\\x11drv]
;"Desktop" = "640x480"
;
;[AppDefaults\\_INS0466._MP\\x11drv]
;"Desktop" = "640x480"
;
;[AppDefaults\\_INS0576._MP\\x11drv]
;"Desktop" = "640x480"
;
;[AppDefaults\\_INS5176._MP\\x11drv]
;"Desktop" = "640x480"
;
;[AppDefaults\\_INS5576._MP\\x11drv]
;"Desktop" = "800x600"


;Disable window management for some apps.
;
;Densi denwachou 2003
[AppDefaults\\Blarea8.exe\\x11drv]
"Managed" = "N"
;
;Half Life Demo
[AppDefaults\\hldemo.exe\\x11drv]
"Managed" = "N"
;
;Real Player 10
[AppDefaults\\realplay.exe\\x11drv]
"Managed" = "N"
;
;Winamp
[AppDefaults\\winamp.exe\\x11drv]
"Managed" = "N"


;;Some apps work better with native comctl32
;;NOTE: May cause side effects
;
;;Winamp
;[AppDefaults\\winamp.exe\\DllOverrides]
;"comctl32" = "native"
;
;;WinnyP
;[AppDefaults\\winnyp.exe\\DllOverrides]
;"comctl32" = "native"
;
;;Lunascape
;[AppDefaults\\Luna.exe\\DllOverrides]
;"comctl32" = "native"
;
;;Mame file 2
;[AppDefaults\\mame2.exe\\DllOverrides]
;"comctl32" = "native"


;OpenJane_IE sppedup hack
[AppDefaults\\Jane2ch.exe\\DllOverrides]
"mlang" = "builtin, native"
;"comctl32" = "native"
;;Internet Explorer
;[AppDefaults\\iexplore.exe\\DllOverrides]
;"mlang" = "builtin, native"

;IE4,5,6 Installer
[AppDefaults\\grpconv.exe\\Version]
"Windows" = "nt40"
[AppDefaults\\grpconv.exe\\DllOverrides]
"*comctl32" = "builtin"
[AppDefaults\\acmsetup.exe\\DllOverrides]
"*comctl32" = "builtin"
[AppDefaults\\iebatch.exe\\DllOverrides]
"*comctl32" = "builtin"
[AppDefaults\\updcrl.exe\\DllOverrides]
"*comctl32" = "builtin"

;;Windows Media Player 9 Installer
;;WARNING: Windows Media Player 9 Installer may brake your setup!
;[AppDefaults\\setup_wm.exe\\Version]
;"Windows" = "winme"
;[AppDefaults\\setup_wm.exe\\DllOverrides]
;"msvcrt" = "builtin"


;;Example: Catch setup.exe in a desktop window.
;[AppDefaults\\setup.exe\\x11drv]
;"Desktop" = "800x600"

;;Example: Catch full screen games in a desktop window.
;;Half Life Demo
;[AppDefaults\\hldemo.exe\\x11drv]
;"Desktop" = "640x480"

;;Example: XIM Input Style
;[AppDefaults\\notepad.exe\\x11drv]
;"InputStyle" = "offthespot"

;;Example: Windows version
;[AppDefaults\\sol.exe\\Version]
;"Windows" = "nt40"

;; You can add an AppDefault entry like this for such cases.
;[AppDefaults\\pickygame.exe\\dsound]
;"EmulDriver" = "N"

;[AppDefaults\\control.exe\\DllOverrides]
;"ole32" = "builtin"
;"shlwapi" = "builtin"
;"shell32" = "builtin"
;"*" = "builtin, native"

[AppDefaults\\QuickTimePlayer.exe\\x11drv]
"Managed" = "N"
"Desktop" = "1024x768"

;[AppDefaults\\QuickTimePlayer.exe\\DllOverrides]
;"ddraw" = ""

[AppDefaults\\wmplayer2.exe\\DllOverrides]
"ddraw" = ""

;AcroReader 6
[AppDefaults\\AcroRd32.exe\\Version]
"Windows" = "win2k"

;Real Player 10
[AppDefaults\\realplay.exe\\x11drv]
"Managed" = "N"
"Desktop" = "1024x768"

[AppDefaults\\realplay.exe\\DllOverrides]
"ddraw" = ""

; Awasu RSS Feed Reader
[AppDefaults\\awasu.exe\\Version]
"Windows" = "win2k"

; Bottler XDCC Bott Interface
[AppDefaults\\Bottler.exe\\Version]
"Windows" = "win2k"

; DVD Shrink
[AppDefaults\\DVD Shrink 3.2.exe\\Version]
"Windows" = "win2k"

[AppDefaults\\DVD Shrink 3.2.exe\\DllOverrides]
"*" = "builtin, native"

; PowBallDX
[AppDefaults\\PowBallDX.exe\\x11drv]
"Desktop" = "640x480"
"Managed" = "Y"
"PerfectGraphics" = "Y"

[AppDefaults\\PowBallDX.exe\\DllOverrides]
"ddraw" = ""

; Miranda IM
[AppDefaults\\miranda32.exe\\Version]
"Windows" = "winxp"

; Wegweiser (Agenda)
[AppDefaults\\WEGWEISER.EXE\\x11drv]
"Desktop" = ""360x500""
"Managed" = "N"

; TVgenial
[AppDefaults\\TVgenial.exe\\x11drv]
"Desktop" = "1024x768"
"Managed" = "N"

; PhotoFiltre
[AppDefaults\\PhotoFiltre.exe\\DllOverrides]
"twain_32" = ""

; PhotoShop
[AppDefaults\\Photoshop.exe\\DllOverrides]
"twain_32" = ""

; KLV 4
[AppDefaults\\klv.exe\\x11drv]
"Desktop" = "1024x768"
"Managed" = "Y"

; MailWasher Pro
[AppDefaults\\MailWasher.exe\\DllOverrides]
"comctl32" = "native"

; WeatherScope
[AppDefaults\\WeatherScope.exe\\DllOverrides]
"comctl32" = "native"

# [/wineconf]
 
Old 08-10-2005, 05:49 PM   #2
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
The WINE config file is deprecated and is no longer in use. As of the latest version of WINE, it is no longer parsed.

You should use the winecfg program which comes with WINE. winecfg is the graphicial tool that is now used to configure WINE.

Last edited by damicatz; 08-10-2005 at 05:50 PM.
 
Old 08-10-2005, 09:20 PM   #3
jeep4wd
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks. Where is that program installed?
 
Old 08-10-2005, 09:31 PM   #4
jeep4wd
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Actually I found it, but when I run the program through the terminal I receive the following errors:

err:module:import_dll Library ole32.dll (which is needed by L"c:\\windows\\syste m\\shlwapi.dll") not found
err:module:import_dll Library shlwapi.dll (which is needed by L"c:\\windows\\sys tem\\shell32.dll") not found
err:module:import_dll Library shell32.dll (which is needed by L"c:\\windows\\sys tem\\comdlg32.dll") not found
err:module:import_dll Loading library shlwapi.dll (which is needed by L"c:\\wind ows\\system\\comdlg32.dll") failed (error c000007b).
err:module:import_dll Library comdlg32.dll (which is needed by L"c:\\windows\\sy stem\\winecfg.exe") not found
err:module:import_dll Loading library shell32.dll (which is needed by L"c:\\wind ows\\system\\winecfg.exe") failed (error c000007b).
err:module:import_dll Library ole32.dll (which is needed by L"c:\\windows\\syste m\\winecfg.exe") not found
err:module:import_dll Loading library shlwapi.dll (which is needed by L"c:\\wind ows\\system\\winecfg.exe") failed (error c000007b).
err:module:LdrInitializeThunk Main exe initialization for L"c:\\windows\\system\ \winecfg.exe" failed, status c0000135
[Bella@homea bin]$ cd
[Bella@homea ~]$ cd /usr/lib/wine
[Bella@homea wine]$ winecfg
err:module:import_dll Library ole32.dll (which is needed by L"c:\\windows\\system\\s hlwapi.dll") not found
err:module:import_dll Library shlwapi.dll (which is needed by L"c:\\windows\\system\ \shell32.dll") not found
err:module:import_dll Library shell32.dll (which is needed by L"c:\\windows\\system\ \comdlg32.dll") not found
err:module:import_dll Loading library shlwapi.dll (which is needed by L"c:\\windows\ \system\\comdlg32.dll") failed (error c000007b).
err:module:import_dll Library comdlg32.dll (which is needed by L"c:\\windows\\system \\winecfg.exe") not found
err:module:import_dll Loading library shell32.dll (which is needed by L"c:\\windows\ \system\\winecfg.exe") failed (error c000007b).
err:module:import_dll Library ole32.dll (which is needed by L"c:\\windows\\system\\w inecfg.exe") not found
err:module:import_dll Loading library shlwapi.dll (which is needed by L"c:\\windows\ \system\\winecfg.exe") failed (error c000007b).
err:module:LdrInitializeThunk Main exe initialization for L"c:\\windows\\system\\win ecfg.exe" failed, status c0000135

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of Windows bases programs on Wine avdb Linux - Software 1 03-29-2005 01:17 PM
SUSE9.2 Installation problem. Exiting Surejg Linux - Software 0 11-16-2004 01:54 AM
wine installation of windows apps Veteq Linux - Software 2 11-01-2004 09:16 AM
wine using windows installation insyte Linux - Software 2 09-02-2004 10:32 AM
Does Wine require the installation of windows? SuSE_User Linux - Software 1 02-25-2004 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration