Microsoft Word Viewer 2003

Informations

Créateur Messages
fekir Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 89673
Wine:

Retours d'expérience

Code source

#!/bin/bash
# Date : (2012-06-20 16-57)
# Last revision : (2013-05-15 20-35)
# Distribution used to test :
# Author: Fekir

# CHANGELOG
# [SuperPlumus] (2013-05-15 20-35)
#   Clean script
# [gang65] (2016-02-02 02-02)
#   Viewer is opening more files with Wine 1.6

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Microsoft Word Viewer 2003"
PREFIX="WordViewer2003"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'This Procedure will install Microsoft Office $TITLE, a free program that will let you view .doc and .docx documents, but you will not be able to edit them. This program is intended for users that are not able to display complex doc or docx documents. If you want to edit a document, use LibreOffice, OpenOffice or some other editor. ')"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Wine_InstallFonts

POL_System_TmpCreate "$PREFIX"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    APP_ANSWER="wordview_en-us.exe"
    cd "$POL_System_TmpDir"
    POL_Download "http://download.microsoft.com/download/6/a/6/6a689355-b155-4fa7-ad8a-dfe150fe7ac6/wordview_en-us.exe" "ef59dc6b88eab99362b3ba4982f1a4cb"
fi

POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$APP_ANSWER"

POL_System_TmpDelete

POL_Wine_reboot

POL_Shortcut "WORDVIEW.EXE" "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
gang65 Mercredi 3 Février 2016 à 2:03
gang65

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -3,18 +3,18 @@
 # Last revision : (2013-05-15 20-35)
 # Distribution used to test :
 # Author: Fekir
-# Wine version used: 1.4
 
 # CHANGELOG
 # [SuperPlumus] (2013-05-15 20-35)
 #   Clean script
+# [gang65] (2016-02-02 02-02)
+#   Viewer is opening more files with Wine 1.6
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Microsoft Word Viewer 2003"
 PREFIX="WordViewer2003"
-WORKING_WINE_VERSION="1.4"
 
 POL_SetupWindow_Init
 POL_Debug_Init

Nouveau code source

#!/bin/bash
# Date : (2012-06-20 16-57)
# Last revision : (2013-05-15 20-35)
# Distribution used to test :
# Author: Fekir

# CHANGELOG
# [SuperPlumus] (2013-05-15 20-35)
#   Clean script
# [gang65] (2016-02-02 02-02)
#   Viewer is opening more files with Wine 1.6

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Microsoft Word Viewer 2003"
PREFIX="WordViewer2003"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'This Procedure will install Microsoft Office $TITLE, a free program that will let you view .doc and .docx documents, but you will not be able to edit them. This program is intended for users that are not able to display complex doc or docx documents. If you want to edit a document, use LibreOffice, OpenOffice or some other editor. ')"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Wine_InstallFonts

POL_System_TmpCreate "$PREFIX"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    APP_ANSWER="wordview_en-us.exe"
    cd "$POL_System_TmpDir"
    POL_Download "http://download.microsoft.com/download/6/a/6/6a689355-b155-4fa7-ad8a-dfe150fe7ac6/wordview_en-us.exe" "ef59dc6b88eab99362b3ba4982f1a4cb"
fi

POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$APP_ANSWER"

POL_System_TmpDelete

POL_Wine_reboot

POL_Shortcut "WORDVIEW.EXE" "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Anonymous
Samedi 6 Février 2016 à 0:55
You probably want to set $WORKING_WINE_VERSION so there aren't any errors thrown. Also, some very old distros might not package Wine 1.6.x. In that case, it's probably better just to set $WORKING_WINE_VERSION to 1.8.1.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com