Applications

Choose a category

accessories
Accessories
development
Development
education
Education
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

Age Of Empires 2 : The Age of Kings

#!/bin/bash

if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check


if [ "$POL_LANG" == "fr" ]
then

LNG_WAIT="Installation en cours..."
LNG_NEXT="Cliquez sur suivant uniquement quand l'installation sera terminée."
else

LNG_WAIT="Installing..."
LNG_NEXT="Click on Next ONLY if the install is finished"
fi

POL_SetupWindow_Init "" ""

POL_SetupWindow_presentation "Age Of Empires 2 : The Age of Kings" "Microsoft Games" "http://www.microsoft.com" "MulX" "AOE2"


mkdir -p $REPERTOIRE/wineprefix/AOE2
select_prefixe "$REPERTOIRE/wineprefix/AOE2"
POL_SetupWindow_prefixcreate

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "AOESETUP.EXE"

cd "$CDROM"
wine "AOESETUP.EXE"
POL_SetupWindow_message "$LNG_NEXT"

Set_Desktop On 1024 768

POL_SetupWindow_make_shortcut "AOE2" "Program Files/Microsoft Games/Age of Empires II/" "empires2.exe" "AgeOfEmpires.xpm" "Age of Empires II The Age of Kings"

Set_WineVersion_Assign 1.0.0 "Age of Empires II The Age of Kings"

POL_SetupWindow_reboot

POL_SetupWindow_Close

exit