#!/bin/bash
[
"$PLAYONLINUX"
=
""
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
NAME=
"18 Wheels of Steel : Haulin"
PREFIX=
"18WOSH"
if
[
"$POL_LANG"
==
"fr"
];
then
INSTALLATION=
"Installation en cours.."
else
INSTALLATION=
"Installation in progress..."
fi
wget http:
//www
.scssoft.com
/image/haulin/18-wheels-of-steel-haulin-box
.jpg --output-document=
"$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert
"$REPERTOIRE/tmp/leftnotscaled.jpeg"
-scale 150x356\\!
"$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init
""
"$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom
"setup.exe"
select_prefix
"$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate
PROGRAMFILES=`wine cmd
/c
echo
"%ProgramFiles%"
`
PROGRAMFILES=${PROGRAMFILES:3}
POL_SetupWindow_wait_next_signal
"$INSTALLATION"
"$NAME"
wine
"$CDROM/setup.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_make_shortcut
"$PREFIX"
"$PROGRAMFILES/18 Wheels of Steel Haulin/"
"haulin.exe"
""
"$NAME"
POL_SetupWindow_install_wine
"1.1.26"
Set_WineVersion_Assign
"1.1.26"
"$NAME"
POL_SetupWindow_Close
exit