Applications

Choose a category

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

Microsoft Office 2000

#!/bin/bash
#Vérifier que PlayOnLinux est bien exécuté avant
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Charger les librairies
source "$PLAYONLINUX/lib/sources"

#Verifier les dépendences
cfg_check

POL_SetupWindow_Init "" ""

#Presentation
POL_SetupWindow_presentation "Office 2000" "Microsoft" "http://www.microsoft.com/" "Toumeno" "Office2000"

#Préparation de Wine

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

Set_WineVersion_Session 1.1.0

#Détection du cd-rom
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "install.exe"

#Lancement de l'installeur
wine $CDROM/install.exe

POL_SetupWindow_message "Cliquez sur suivant dans cette fenetre UNIQUEMENT quand l'installation sera terminée\n\nClick on Next in this window ONLY if the install is finished"

#Création du lanceur


POL_SetupWindow_make_shortcut "Office2000" "Program Files/Microsoft Office/Office" "WINWORD.EXE" "word2000.png" "Word 2000"

POL_SetupWindow_make_shortcut "Office2000" "Program Files/Microsoft Office/Office" "EXCEL.EXE" "excel2000.png" "Excel 2000"

POL_SetupWindow_make_shortcut "Office2000" "Program Files/Microsoft Office/Office" "POWERPNT.EXE" "powerpnt2000.png" "PowerPoint 2000"

#Configuration de Wine
Set_OS win98
POL_SetupWindow_reboot

POL_SetupWindow_Close

exit