Applications

Choose a category

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

Microsoft Office 2003

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
echo "Ce script doit être executé dans PlayOnLinux."
exit 0
fi
source "$PLAYONLINUX/lib/sources"

#Verifier les dépendences
cfg_check

#Presentation
POL_SetupWindow_Init
POL_SetupWindow_presentation "Office 2003" "Microsoft" "http://www.microsoft.com" "Tinou" "Office2003" 1 5

POL_SetupWindow_cdrom
POL_SetupWindow_textbox "Quel est le nom du fichier d'installation ?" "Office 2003" "setup.exe"
SETUP="$APP_ANSWER"
POL_SetupWindow_check_cdrom $SETUP

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


cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $CDROM ./d:

#Set_WinVersion_Session 0.9.46

cd $CDROM
POL_SetupWindow_wait_next_signal "Installation de Office 2003 en cours..." "Office 2003"
wine $SETUP
POL_SetupWindow_detect_exit
POL_SetupWindow_reboot

#Fin du code du jeu
#Création du lanceur

POL_SetupWindow_make_shortcut "Office2003" "Program Files/Microsoft Office/OFFICE11" "EXCEL.EXE" "excel.xpm" "Excel 2003"
POL_SetupWindow_make_shortcut "Office2003" "Program Files/Microsoft Office/OFFICE11" "WINWORD.EXE" "word.xpm" "Word 2003"
POL_SetupWindow_make_shortcut "Office2003" "Program Files/Microsoft Office/OFFICE11" "POWERPNT.EXE" "powerpoint.xpm" "Powerpoint 2003"
POL_SetupWindow_make_shortcut "Office2003" "Program Files/Microsoft Office/OFFICE11" "MSPUB.EXE" "publisher.xpm" "Publisher 2003"

#Set_WineVersion_Assign "0.9.37" "Word 2003"
#Set_WineVersion_Assign "0.9.37" "Excel 2003"
#Set_WineVersion_Assign "0.9.37" "Powerpoint 2003"
#Set_WineVersion_Assign "0.9.37" "Publisher 2003"

POL_SetupWindow_message "Installation terminée" "Office 2003"
POL_SetupWindow_Close
exit