[Wine] Re: Standalone Wine for console Win32 executables

FamilyGuy wineforum-user at winehq.org
Sat Apr 16 21:34:47 CDT 2011


Hi again,

WINEDEBUG=-all didn't do the trick, so I added the files that caused error messages but that were not required for my executables. My minimalistic (11.5MiB) portable wine setup is now:
Code:
wine:
dlls  libs  loader  programs  server  wine

wine/dlls:
advapi32  kernel32  msvcrt  ntdll  rpcrt4

wine/dlls/advapi32:
advapi32.dll.so

wine/dlls/kernel32:
kernel32.dll.so

wine/dlls/msvcrt:
msvcrt.dll.so

wine/dlls/ntdll:
ntdll.dll.so

wine/dlls/rpcrt4:
rpcrt4.dll.so

wine/libs:
wine

wine/libs/wine:
libwine.so.1

wine/loader:
wine  wine-preloader

wine/programs:
services  wineboot

wine/programs/services:
services.exe.so

wine/programs/wineboot:
wineboot.exe.so

wine/server:
wineserver



The file named wine in the main folder is the winewrapper. I modified it to run my portable wine in its own prefix in order to avoid problem with a hypothetical wine install. I used this command: export WINEPREFIX=$HOME/.wine-portable/

Now I got 2 small problems.
1) I can't find how to delete ~/.wine-portable/ using the wrapper (for those who might want to check the wrapper is the /tools/winewrapper/ files in the wines sources)
No matter where I insert a rm -r $HOME/.wine-portable command it does not get executed.

2) It always output this error: wine: failed to update /home/user/.wine-portable with /home/user/Desktop/test3/wine/loader/../tools/wine.inf: No such file or directory

Any help would be greatly appreciated!

Thank you in advance!

FG







More information about the wine-users mailing list