# Add the Wine repository
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get install wine1.2
cd /home/[username]

# this installs winetricks and fixes the  "unable to find a volume for file extraction" error
wget && sh winetricks volnum

# this installs dotnet2.0 sp2,, set wine to XP emulation and a few other things
sh winetricks d3dx9 ie7 mdac28 jet40 mono24 vb6runsp6 wsh56 wsh56vb fakeie6 winxp volnum dotnet20sp2