Changes between Version 4 and Version 5 of UsingWine
- Timestamp:
- Feb 23, 2014 1:38:28 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsingWine
v4 v5 34 34 }}} 35 35 36 '''WINEPREFIX''' specifies where the root of the wine directory is to be located. By default it's $HOME/.wine. '''WINEARCH''' specifies the architecture of the tool. We assume is a 32-bit window ("win32") binary. 36 '''WINEPREFIX''' specifies where the root of the wine directory is to be located. By default it's $HOME/.wine. 37 38 .NET may not run correctly because if the ''$WINEPREFIX'' variable points to a directory on a networked file system. To work around this problem, set ''$WINEPREFIX'' to reside in /tmp which resides on a local disk. 39 40 '''WINEARCH''' specifies the architecture of the tool. We assume is a 32-bit window ("win32") binary. 37 41 38 42 Use '''winetricks''' to install the necessary fonts and DLLs. You may not need to install anything. … … 58 62 59 63 {{{ 60 wine $WINEPREFIX/drive_c/Program Files/MyTool/mytool.exe64 wine $WINEPREFIX/drive_c/Program\ Files/MyTool/mytool.exe 61 65 }}} 62 66 … … 67 71 {{{ 68 72 file=`winepath --windows $HOME/myFile` 69 wine $WINEPREFIX/drive_c/Program Files/MyTool/mytool.exe "$file"73 wine $WINEPREFIX/drive_c/Program\ Files/MyTool/mytool.exe "$file" 70 74 }}} 71 75 The '''winepath''' command converts the file path from a UNIX path to a Windows path. 72 76 73 === Special Handling of .NET ===74 75 .NET may not run correctly because if the ''$WINEPREFIX'' variable points to a directory on a networked file system. To work around this problem, set ''$WINEPREFIX'' to reside in /tmp which resides on a local disk.76 {{{77 WINEPREFIX=/tmp/mytool78 export WINEPREFIX79 }}}80 81 You will need to follows steps 1 and 2 again to reinstall the tool.82 83 77 == Step 3. Sharing the tool with users ==