Hi,
This is my first scripts for Play on Linux.
I recently had to install Powerpoint viewer so I though this would be a good way to get my hands dirty.
All seems to work fine so far.
Any testers can give me any feedback?
Wine version: 1.1.24
Distribution: Ubuntu 9.04
Distribution Jaunty 32 bits
Comments: This script will download and install Microsoft Powerpoint viewer 2003.
Thanks
#!/bin/bash
if [ "$PLAYONLINUX" = "" ]then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check
POL_SetupWindow_Init
POL_SetupWindow_presentation "PowerPointViewer" "Microsoft" "http://www.microsoft.com/" "vampyre2000" "PowerPointViewer"
select_prefixe "$REPERTOIRE/wineprefix/PowerPointViewer"
POL_SetupWindow_prefixcreate
cd "$REPERTOIRE/wineprefix/PowerPointViewer/drive_c/"
POL_SetupWindow_download "Downloading PowerPointViewer2003..." "Downloading PowerPointViewer2003..." "http://download.microsoft.com/download/a/1/a/a1adc39b-9827-4c7a-890b-91396aed2b86/ppviewer.exe"
POL_SetupWindow_wait_next_signal "Installation in progress..." "PowerPointViewer"
wine "$REPERTOIRE/wineprefix/PowerPointViewer/drive_c/ppviewer.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_make_shortcut "PowerPointViewer" "Program Files/Microsoft Office/PowerPoint Viewer/" "PPTVIEW.EXE" "" "PowerPointViewer2003"
POL_SetupWindow_reboot
POL_SetupWindow_Close
exit
Edité par vampyre2000