Steuer Spar Erklärung under Ubuntu with Wine

# install wine staging
wget -q https://raw.githubusercontent.com/panticz/installit/master/install.wine.sh -O - | bash -s -- -s

#!/bin/bash

# add repository
sudo dpkg --add-architecture i386
wget -q https://dl.winehq.org/wine-builds/Release.key -O - | sudo apt-key add -
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get update -qq

# pre-answer installation questions
sudo debconf-set-selections <<\EOF
msttcorefonts msttcorefonts/defoma note
ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true
ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note
EOF

# install wine
if [ "$1" == "-s" ]; then
  # staging release
  sudo apt-get install -y --install-recommends winehq-staging
else
  # stable release
  sudo apt-get install -y --install-recommends winehq-stable
fi

# install latest winetricks
sudo apt-get install -y winetricks
sudo winetricks --self-update

#sudo dpkg --add-architecture i386
#wget -nc https://dl.winehq.org/wine-builds/Release.key
#sudo apt-key add Release.key
#sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
#sudo apt-get update
#sudo apt-get install --install-recommends winehq-staging
# install latest winetricks
#sudo apt-get install -y winetricks
#sudo winetricks --self-update

# install crypt32
winetricks crypt32

# install SteuerSparErklärung 2017
wget -q https://www.steuertipps.de/softwaregateway/demo/22/SteuerSparErklaerung/SteuerSparErklaerung_22.34.85.zip -P /tmp
unzip -d /tmp/ /tmp/SteuerSparErklaerung_22.34.85.zip
# Optional: create clean wine environment
# mv .wine .wine.$(date -I)
wine /tmp/SteuerSparErklaerung_22.34.85.exe

Debug
$ lsb_release -ds
Ubuntu 17.04

$ wine --version
wine-2.17 (Staging)

Links
https://wiki.winehq.org/Ubuntu
https://www.steuertipps.de/forum/threads/6104-Installation-unter-WINE?highlight=linux
https://appdb.winehq.org/objectManager.php?sClass=version&iId=34662