Here is my script for the official german software to file a tax return "ElsterFormular".
[code language=playonlinux]
#!/bin/bash
# Date : 2013-09-29
# Last revision : 2013-09-29
# Distribution used to test : ubuntu 13.10 (64bit)
# Author: Michael Weimann <mail@michael-weimann.eu>
# Wine version used: 1.6
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="ElsterFormular"
PREFIX="ElsterFormular"
WINEVERSION="1.6"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Mozilla" "https://www.elster.de/elfo_home.php" "Michael Weimann" "ElsterFormular"
# create prefix
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
# install dependencies
POL_Call POL_Install_vcrun2008
# dll overrides
POL_Wine_OverrideDLL "native,builtin" "msvcp90"
POL_System_TmpCreate "$PREFIX"
POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
POL_SetupWindow_question "$(eval_gettext 'You want to open $TITLE download page in your browser?')" "$TITLE"
if [ "$APP_ANSWER" = "TRUE" ]
then
POL_Browser "https://www.elster.de/elfo_down.php"
fi
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
fi
POL_System_TmpDelete
# create shortcut for the ElsterFormular executable
POL_Shortcut "pica.exe" "$TITLE"
POL_SetupWindow_Close
exit
[/code]
22x22
44x44
top