Comment #2 on issue 470 by
lanti...@gmail.com: Verb mspaint should install
Here is how I do it...
It should work in either 32-bit or 64-bit prefixes as the copying of the
EXE is handled by wine (so will use system32 or syswow64 as appropriate),
it also creates the proper icon and launcher required (comment if from the
comment the original shortcut has).
p.s. I've *not* needed to install GDI, seems to work for me without having
to get this from winetricks.
Installing Microsoft Paint
--------------------------
# Requires Wine to be installed first (tested on version 1.7.34)
# This is Paint 5.1 from Windows XP as no later non-ribbon version is
available in a standalone package
export WINEPREFIX=~/.wine-mspaint
winetricks -q vcrun6
wget
http://download.microsoft.com/download/0/A/4/0A40DF5C-2BAE-4C63-802A-84C33B34AC98/WindowsXP-KB978706-x86-ENU.exe
wine WindowsXP-KB978706-x86-ENU.exe /q /x:WindowsXP-KB978706-x86-ENU
wine cmd /c copy
/y "WindowsXP-KB978706-x86-ENU\SP3GDR\mspaint.exe" %winsysdir%
wrestool -x -t14 -n2 WindowsXP-KB978706-x86-ENU/SP3GDR/mspaint.exe |
icotool -x - -i 7 -o ~/.local/share/icons/mspaint.png
echo -e '[Desktop Entry]\nName=Paint\nComment=Creates and edits drawings,
and displays and edits scanned photos.\nExec=env
WINEPREFIX='$HOME'/.wine-mspaint wine
mspaint\nIcon=mspaint.png\nType=Application\nCategories=Graphics' | tee
~/.local/share/applications/mspaint.desktop
rm -Rf WindowsXP-KB978706-x86-ENU*