Hello, This is my first script.
#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_SetupWindow_message "Bienvenido a la instalación del Tegnet 1.3.5"
select_prefix "$HOME/.PlayOnLinux/wineprefix/tegnet/"
POL_SetupWindow_prefixcreate
POL_SetupWindow_download "Descargando" "Tegnet 1.3.5" "http://www.tegnet.com.ar/es/download/TegNet_135_Setup.zip"
POL_SetupWindow_wait_next_signal "Instalando" "Tegnet"
unzip TegNet_135_Setup.zip
cd /TegNet_135_Setup/
wine "TegNet_135_Setup.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "Tegnet instalado"
POL_SetupWindow_Close
exit