#!/bin/sh

set -e

# run it in a custom WINEPREFIX to not mess with default ~/.wine
mingw_prefix=/usr/x86_64-w64-mingw32
export WINEPREFIX=${HOME}/.wine-x86_64-w64-mingw32

if test -z ${WINEDLLOVERRIDES+x}
then
  export WINEDLLOVERRIDES="mscoree,mshtml="
fi

if test -z ${WINEDEBUG+x}
then
  export WINEDEBUG=-all
fi

/usr/bin/msiexec "$@"

