hop-frog
06-12-2005, 08:45 PM
I installed WINE in Mandriva, however there does not appear to be a wineconfig or winesetup tool with this. By default, WINE is unable to run Windows programs.
I have had great luck in the past using WINE installed from source code or when I was using SuSE Linux, however these are not options to me at this time. I have always used a fake windows install.
Here is a typical error when I run an installer:
$ wine setup.exe
Could not load 'KERNEL.DLL' required by 'SWITCHER', error=2
This is the default config file that came with Mandriva:
WINE REGISTRY Version 2
[wine]
"Windows" = "c:\\windows"
"GraphicsDriver" = "x11drv"
#
[Version]
"Windows" = "win98"
[DllOverrides]
"oleaut32" = "builtin, native"
"ole32" = "builtin, native"
"comdlg32" = "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"
"riched32" = "native, builtin"
"stdole.tlb" = "native, builtin"
"stdole2.tlb" = "native, builtin"
"stdole32.tlb" = "native, builtin"
"d3drm" = "native, builtin"
"d3dxof" = "native, builtin"
"dpnhpast" = "native, builtin"
"*" = "builtin, native"
[x11drv]
"AllocSystemColors" = "100"
"PrivateColorMap" = "N"
"PerfectGraphics" = "N"
"Managed" = "Y"
"UseDGA" = "Y"
"UseXVidMode" = "Y"
"UseXRandR" = "Y"
"UseTakeFocus" = "Y"
"DXGrab" = "N"
"DesktopDoubleBuffered" = "Y"
[fonts]
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"
[FontDirs]
"dir1" = "/usr/X11R6/lib/X11/fonts/TTF"
"dir2" = "/usr/share/fonts/ttf/western"
[ppdev]
"378" = "/dev/parport0"
[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile="/tmp/winetmp-%USER% -q -"
"LPT3:" = "/dev/lp3"
[ports]
[Debug]
[registry]
"LoadGlobalRegistryFiles" = "Y"
"LoadWindowsRegistryFiles" = "Y"
"SaveOnlyUpdatedKeys" = "Y"
[Clipboard]
"UsePrimary" = "0"
[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"
[WinMM]
"Drivers" = "wineoss.drv" ; default for most common configurations
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"
[dsound]
[Network]
[AppDefaults\\_INS0432._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\_INS0466._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\_INS0576._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\_INS5176._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\_INS5576._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\Photoshop.exe\\DllOverrides]
"uxtheme" = ""
"wintab32" = "n"
#
I have had great luck in the past using WINE installed from source code or when I was using SuSE Linux, however these are not options to me at this time. I have always used a fake windows install.
Here is a typical error when I run an installer:
$ wine setup.exe
Could not load 'KERNEL.DLL' required by 'SWITCHER', error=2
This is the default config file that came with Mandriva:
WINE REGISTRY Version 2
[wine]
"Windows" = "c:\\windows"
"GraphicsDriver" = "x11drv"
#
[Version]
"Windows" = "win98"
[DllOverrides]
"oleaut32" = "builtin, native"
"ole32" = "builtin, native"
"comdlg32" = "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"
"riched32" = "native, builtin"
"stdole.tlb" = "native, builtin"
"stdole2.tlb" = "native, builtin"
"stdole32.tlb" = "native, builtin"
"d3drm" = "native, builtin"
"d3dxof" = "native, builtin"
"dpnhpast" = "native, builtin"
"*" = "builtin, native"
[x11drv]
"AllocSystemColors" = "100"
"PrivateColorMap" = "N"
"PerfectGraphics" = "N"
"Managed" = "Y"
"UseDGA" = "Y"
"UseXVidMode" = "Y"
"UseXRandR" = "Y"
"UseTakeFocus" = "Y"
"DXGrab" = "N"
"DesktopDoubleBuffered" = "Y"
[fonts]
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"
[FontDirs]
"dir1" = "/usr/X11R6/lib/X11/fonts/TTF"
"dir2" = "/usr/share/fonts/ttf/western"
[ppdev]
"378" = "/dev/parport0"
[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile="/tmp/winetmp-%USER% -q -"
"LPT3:" = "/dev/lp3"
[ports]
[Debug]
[registry]
"LoadGlobalRegistryFiles" = "Y"
"LoadWindowsRegistryFiles" = "Y"
"SaveOnlyUpdatedKeys" = "Y"
[Clipboard]
"UsePrimary" = "0"
[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"
[WinMM]
"Drivers" = "wineoss.drv" ; default for most common configurations
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"
[dsound]
[Network]
[AppDefaults\\_INS0432._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\_INS0466._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\_INS0576._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\_INS5176._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\_INS5576._MP\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\Photoshop.exe\\DllOverrides]
"uxtheme" = ""
"wintab32" = "n"
#