Magic number : 11
#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check
#Presentation
POL_SetupWindow_Init
POL_SetupWindow_presentation "Star Wars Episode I : Racer" "LucasArts" "http://www.lucasarts.com" "Tinou" "StarWarsRacer"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "SETUP.EXE"
mkdir -p $REPERTOIRE/wineprefix/StarWarsRacer/
cd $REPERTOIRE/wineprefix/StarWarsRacer
#Use_WineVersion "0.9.28"
select_prefixe "$(pwd)"
POL_SetupWindow_prefixcreate
#POL_SetupWindow_install_wine "0.9.28"
POL_SetupWindow_wait_next_signal "Installation" "Star Wars Episode I : Racer"
sleep 10
wine "$CDROM/install/SETUP.EXE"
POL_SetupWindow_detect_exit
POL_SetupWindow_reboot
POL_SetupWindow_make_shortcut "StarWarsRacer" "Program Files/LucasArts/RACER/" "RACER.EXE" "StarWarsRacer.png" "Star Wars : Racer"
#Set_WineVersion_Assign "0.9.28" "Star Wars : Racer"
POL_SetupWindow_Close
exit