Applications
Choose a category
Call Of Duty 2
Informations
This script is signed by PlayOnLinux.
Source code
#!/bin/bash
# Date : (2009-09-11 13-00)
# Last revision : (2009-09-11 13-00)
# Wine version used : -
# Distribution used to test : -
# Author : -
# Licence : -
# Depend : -
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
#fetching PROGRAMFILES environmental variable
#PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
#PROGRAMFILES=${PROGRAMFILES:3}
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
#Presentation
POL_SetupWindow_presentation "Call Of Duty 2" "Activision" "http://www.activision.com" "tef" "CallOfDuty2"
POL_SetupWindow_message "Un message d'erreur Directx sera affiché à la fin de l'installation du jeu, vous pouvez ignorer ce message."
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
#mkdir -p $REPERTOIRE/wineprefix/CallOfDuty2
select_prefix "$REPERTOIRE/wineprefix/CallOfDuty2"
POL_SetupWindow_prefixcreate
cd drive_c/windows/
mkdir temp
cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $CDROM ./d:
cd $CDROM
wine d:\setup.exe
POL_SetupWindow_reboot
[ ! "$PLAYONMAC" = "" ] && Set_Managed Off
POL_SetupWindow_make_shortcut "CallOfDuty2" "$PROGRAMFILES/Activision/Call of Duty 2/" "CoD2SP_s.exe" "" "Call Of Duty 2 solo"
POL_SetupWindow_make_shortcut "CallOfDuty2" "$PROGRAMFILES/Activision/Call of Duty 2/" "CoD2MP_s.exe" "" "Call Of Duty 2 - Multijoueur" "Cod2mp"
POL_SetupWindow_message "Installation terminée\n\nInstall finished"
POL_SetupWindow_Close
exit Signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAk2izpYACgkQ5TH6yaoTykdw2QCgkNLK5mY7JLY1k5N6Op01MtFT
Ma4AoIfI6FVrb3dPU8q6xOMExYFuxCEP
=RhYV
-----END PGP SIGNATURE-----
Date : 11 April 2011 11:49:10
Signed by : PlayOnLinux
E-Mail : gpg@playonlinux.com
Comment : PlayOnLinux and PlayOnMac scripting keys
Fingerprint : 45B56114D9EA1640D68135CCE531FAC9AA13CA47
Known install files