[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wine ne marche pas



Bonsoir,

Quand je lance une appli avec wine, peu importe laquelle, j'obtiens le
message suivant :

------------------------------------------------------------------------
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible. Warning: could not find DOS drive for current working
directory '/home/clement/.wine/fake_windows', starting in the Windows
directory. wine: cannot open (null)
Wine failed with return code 1
------------------------------------------------------------------------

Ou de manière plus détaillée en mode debug... (l'appli lancée est Setup.exe)

------------------------------------------------------------------------
warn:file:wine_nt_to_unix_file_name L"windows" not found in /home/clement/.wine/dosdevices/c:
warn:ntdll:NtQueryFullAttributesFile L"\\??\\C:\\windows" not found (c0000034)
Warning: the specified Windows directory L"c:\\windows" is not accessible.
warn:file:wine_nt_to_unix_file_name L"windows\\system32" not found in /home/clement/.wine/dosdevices/c:
warn:ntdll:NtQueryFullAttributesFile L"\\??\\C:\\windows\\system32" not found (c000003a)
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/home/clement/.wine/fake_windows', starting in the Windows directory.
warn:file:wine_nt_to_unix_file_name L"windows" not found in /home/clement/.wine/dosdevices/c:
warn:ntdll:NtCreateFile L"\\??\\C:\\windows" not found (c0000034)
warn:file:wine_nt_to_unix_file_name L"windows\\system32\\Setup.exe" not found in /home/clement/.wine/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"windows\\system\\Setup.exe" not found in /home/clement/.wine/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"windows\\Setup.exe" not found in /home/clement/.wine/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"windows\\system32\\Setup.exe" not found in /home/clement/.wine/dosdevices/c:
warn:ntdll:NtCreateFile L"\\??\\C:\\windows\\system32\\Setup.exe" not found (c000003a)
warn:file:CreateFileW Unable to create file L"c:\\windows\\system32\\Setup.exe" (status c000003a)
wine: cannot open (null)
Wine failed with return code 1
------------------------------------------------------------------------

Mon wine est a priori bien configuré, j'utilise winesetup, je crée un
fake_windows, rien de bien spécial. J'ai déjà utilisé wine auparavant
sur d'autres distros, sans trop de problèmes, mais là je sèche...

Ci dessous la config complète, pour les motivés, mais je ne pense pas
que ce soit dedans qu'il faille chercher.

------------------------------------------------------------------------
WINE REGISTRY Version 2
[Drive C]
"Path" = "/home/clement/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/clement/.wine/fake_windows"
"Filesystem" = "win95"

[Drive X]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive Y]
"Path" = "%HOME%"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[Drive Z]
"Path" = "/"
"Type" = "hd"
"Label" = "Root"
"Filesystem" = "win95"

[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Profile" = ""
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;X:\\test;Y:\\"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

"SymbolTableFile" = "wine.sym"

# [wineconf]

[Version]
"Windows" = "winxp"
[DllOverrides]
"oleaut32" = "builtin, native"
"ole32" = "builtin, native"
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"shdocvw" = "builtin, native"
"advapi32" = "builtin, native"
"msvcrt" = "native, builtin"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msi" = "native, builtin"
"*" = "builtin, native"

[x11drv]
"PrivateColorMap" = "N"
"PerfectGraphics" = "N"
;;"ScreenDepth" = "16"
;;"Display" = ":0.0"
"TextCP" = "0"
;; "XVideoPort" = "43"
;;"Synchronous" = "Y"
"Managed" = "Y"
"Desktop" = "N"
"DesktopDoubleBuffered" = "Y"
"UseDGA" = "Y"
"UseXShm" = "N"
"DXGrab" = "N"
"AllocSystemColors" = "100"
[fonts]
;Read the Fonts topic in the Wine User Guide before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

; the TrueType font dirs you want to make accessible to wine

[FontDirs]
;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
;"dir2" = "/usr/share/fonts/truetype"
;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
;"dir4" = "/usr/share/fonts/TT"

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

[parallelports]
"Lpt1" = "/dev/lp0"

[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]
"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"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
;; this has *nothing* to do with the windows version Wine returns:
;; set the "Windows" value in the [Version] section if you want that.
"WineLook" = "Win98"

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

; 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.

"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 dependent sections follow #
#########################################

[AppDefaults\\_INS5576._MP\\x11drv]
; Lotus Notes R5 installer
; I'm quite not sure this will run on some other machine than mine, but it
; can't hurt
"Managed" = "N"
"Desktop" = "N"

[AppDefaults\\nlnotes.exe\\x11drv]
"Desktop" = "800x600"

[AppDefaults\\explorer.exe\\x11drv]
"Desktop" = "800x600"

[AppDefaults\\notes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nlnotes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nhldaemn.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"
------------------------------------------------------------------------

-- 
Clément Plantier



Reply to: