Microsoft Office 2003

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 409807
Wine: 2.22

Retours d'expérience

Description

Code source

#!/bin/bash
# Date : (2009-06-25 11-00)
# Last revision : (2016-2-13)
# Wine version used : 1.8.1
# Distribution used to test : Not tested (yet)
# Author : Tinou (Revised by MTres19)
# Licence : Retail

# CHANGELOG
# [Tinou] (2009)
#   First script.
# [MTres19] (2016)
#   Wine 1.1 -> 1.8.1
#   ...
# [Dadu042] (2019-11-02)
#   Wine 1.8.1 -> 2.22.

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

TITLE="Microsoft Office 2003"
PREFIX="Office2003"
WINEVERSION="2.22"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Microsoft" "www.microsoft.com" "Tinou" "$PREFIX"

[ "$POL_OS" = "Linux" ] && wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE"
if [ "$POL_OS" = "Mac" ]
    then
        # Samba support
        POL_Call POL_GetTool_samba3
        source "$POL_USER_ROOT/tools/samba3/init"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Function_FontsSmoothRGB

POL_SetupWindow_InstallMethod "LOCAL,DVD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
    then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
        POL_SetupWindow_WaitBefore "$TITLE"
        POL_Wine "$APP_ANSWER"
fi

if [ "$INSTALL_METHOD" = "DVD" ]
    then
        POL_SetupWindow_cdrom
        cd "$CDROM"
        POL_SetupWindow_WaitBefore "$TITLE"
        POL_Wine "setup.exe"
fi

POL_Shortcut "WINWORD.EXE" "Microsoft Word"
POL_Shortcut "EXCEL.EXE" "Microsoft Excel"
POL_Shortcut "POWERPNT.EXE" "Microsoft PowerPoint"
POL_Shortcut "ONENOTE.EXE" "Microsoft OneNote"
POL_Shortcut "INFOPATH.EXE" "Microsoft InfoPath"
POL_Shortcut "MSPUB.EXE" "Microsoft Publisher"
POL_Shortcut "OUTLOOK.EXE" "Microsoft Outlook"
POL_Shortcut "MSACCESS.EXE" "Microsoft Access"

if [ "$POL_OS" = "Mac" ]
    then
        POL_Shortcut_InsertBeforeWine "Microsoft Word 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Excel 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Powerpoint 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft OneNote 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Outlook 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
fi

POL_Wine_reboot
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 3 Novembre 2019 à 0:12
Dadu042

Information

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

Messages

Upgrade from Wine 1.8.1 to Wine 2.22

Differences

@@ -6,12 +6,21 @@
 # Author : Tinou (Revised by MTres19)
 # Licence : Retail
 
+# CHANGELOG
+# [Tinou] (2009)
+#   First script.
+# [MTres19] (2016)
+#   Wine 1.1 -> 1.8.1
+#   ...
+# [Dadu042] (2019-11-02)
+#   Wine 1.8.1 -> 2.22.
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Microsoft Office 2003"
 PREFIX="Office2003"
-WINEVERSION="1.8.1"
+WINEVERSION="2.22"
 
 POL_SetupWindow_Init
 POL_Debug_Init

Nouveau code source

#!/bin/bash
# Date : (2009-06-25 11-00)
# Last revision : (2016-2-13)
# Wine version used : 1.8.1
# Distribution used to test : Not tested (yet)
# Author : Tinou (Revised by MTres19)
# Licence : Retail

# CHANGELOG
# [Tinou] (2009)
#   First script.
# [MTres19] (2016)
#   Wine 1.1 -> 1.8.1
#   ...
# [Dadu042] (2019-11-02)
#   Wine 1.8.1 -> 2.22.

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

TITLE="Microsoft Office 2003"
PREFIX="Office2003"
WINEVERSION="2.22"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Microsoft" "www.microsoft.com" "Tinou" "$PREFIX"

[ "$POL_OS" = "Linux" ] && wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE"
if [ "$POL_OS" = "Mac" ]
    then
        # Samba support
        POL_Call POL_GetTool_samba3
        source "$POL_USER_ROOT/tools/samba3/init"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Function_FontsSmoothRGB

POL_SetupWindow_InstallMethod "LOCAL,DVD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
    then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
        POL_SetupWindow_WaitBefore "$TITLE"
        POL_Wine "$APP_ANSWER"
fi

if [ "$INSTALL_METHOD" = "DVD" ]
    then
        POL_SetupWindow_cdrom
        cd "$CDROM"
        POL_SetupWindow_WaitBefore "$TITLE"
        POL_Wine "setup.exe"
fi

POL_Shortcut "WINWORD.EXE" "Microsoft Word"
POL_Shortcut "EXCEL.EXE" "Microsoft Excel"
POL_Shortcut "POWERPNT.EXE" "Microsoft PowerPoint"
POL_Shortcut "ONENOTE.EXE" "Microsoft OneNote"
POL_Shortcut "INFOPATH.EXE" "Microsoft InfoPath"
POL_Shortcut "MSPUB.EXE" "Microsoft Publisher"
POL_Shortcut "OUTLOOK.EXE" "Microsoft Outlook"
POL_Shortcut "MSACCESS.EXE" "Microsoft Access"

if [ "$POL_OS" = "Mac" ]
    then
        POL_Shortcut_InsertBeforeWine "Microsoft Word 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Excel 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Powerpoint 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft OneNote 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Outlook 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
fi

POL_Wine_reboot
POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Lundi 6 Avril 2020 à 22:33
After the install of Office 2003 as typical installation and after starting it, I wanted to add additional features.



I went to

PlayOnLinuxConfig->Wine->Control Panel->Software->Microsoft Office Professional Edition 2003->change->add features->ticked the checkbox "advanced changes"-> "next"



Then an error appeared:

https://www.bilder-upload.eu/bild-d4b5b0-1586202121.jpg.html
Anonymous
Lundi 6 Avril 2020 à 22:34
see here https://www.playonlinux.com/en/topic-17053-Office_2003_changing_the_installation_add_more_features.html

Edité par Dadu042

MTres19 Dimanche 14 Février 2016 à 0:40
MTres19 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Same script as before, but with the suggested revisions. If you have Office 2003, please test it by clicking "Try this update."

Differences

@@ -1,108 +1,72 @@
 #!/bin/bash
 # Date : (2009-06-25 11-00)
-# Last revision : (2009-10-29 15-00)
-# Wine version used : 1.2
-# Distribution used to test : Mac OS 10.6.4
-# Author : Tinou
+# Last revision : (2016-2-13)
+# Wine version used : 1.8.1
+# Distribution used to test : Not tested (yet)
+# Author : Tinou (Revised by MTres19)
 # Licence : Retail
-# Depend : ImageMagick
- 
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-POL_SetupWindow_make_icon_for_shortcut()
-{
-	convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1"
-}
-
 TITLE="Microsoft Office 2003"
 PREFIX="Office2003"
-
-EXENAME[0]="WINWORD"
-APPNAME[0]="Word"
-ICOINDEX[0]="*_wordicon.0.png"
-
-EXENAME[1]="EXCEL"
-APPNAME[1]="Excel"
-ICOINDEX[1]="*_xlicons.0.png"
-
-EXENAME[2]="POWERPNT"
-APPNAME[2]="PowerPoint"
-ICOINDEX[2]="*_pptico.0.png"
-
-EXENAME[3]="ONENOTE"
-APPNAME[3]="OneNote"
-ICOINDEX[3]="*_joticon.0.png"
-
-EXENAME[4]="INFOPATH"
-APPNAME[4]="InfoPath"
-ICOINDEX[4]="*_inficon.0.png"
-
-EXENAME[5]="MSPUB"
-APPNAME[5]="Publisher"
-ICOINDEX[5]="*_pubs.0.png"
-
-EXENAME[6]="OUTLOOK"
-APPNAME[6]="Outlook"
-ICOINDEX[6]="*_outicon.0.png"
-
-EXENAME[7]="MSACCESS"
-APPNAME[7]="Access"
-ICOINDEX[7]="*_accicons.0.png"
+WINEVERSION="1.8.1"
 
 POL_SetupWindow_Init
+POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "Microsoft" "www.microsoft.com" "Tinou" "$PREFIX" 
-
-
-
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
-
-POL_SetupWindow_cdrom
-
-POL_SetupWindow_check_cdrom "setup.exe"
-POL_SetupWindow_prefixcreate
-POL_LoadVar_PROGRAMFILES
+POL_SetupWindow_presentation "$TITLE" "Microsoft" "www.microsoft.com" "Tinou" "$PREFIX"
 
-
-POL_Call POL_Function_FontsSmoothRGB 
-#POL_Call POL_Install_dotnet20
-
-
-POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
-cd "$CDROM"
-wine "setup.exe"
-POL_SetupWindow_detect_exit
-#POL_Call POL_Install_dcom98
-
-#making shortcuts
-for i in 0 1 2 3 4 5 6 7;
-do
-cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Office/OFFICE11"
-if [ -e "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Office/OFFICE11/${EXENAME[$i]}.EXE" ]; then
-POL_SetupWindow_make_icon_for_shortcut "Microsoft Office ${APPNAME[$i]} 2003" "${ICOINDEX[$i]}"
-POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Microsoft Office/OFFICE11" "${EXENAME[$i]}.EXE" "" "Microsoft Office ${APPNAME[$i]} 2003" "" ""
-
-	if [ "${APPNAME[$i]}" != "Outlook" ] ;then
-	appdir=$(detect_appdir "Microsoft Office ${APPNAME[$i]} 2003")
-	cd "$REPERTOIRE/configurations/installed"
-	mv "Microsoft Office ${APPNAME[$i]} 2003" "Microsoft Office ${APPNAME[$i]} 2003.bak"
-	cat "Microsoft Office ${APPNAME[$i]} 2003.bak" | head -n5 > "Microsoft Office ${APPNAME[$i]} 2003"
-	echo "docname=\${1##*/}" >> "Microsoft Office ${APPNAME[$i]} 2003"
-	echo "docpath=\${1%/*}" >> "Microsoft Office ${APPNAME[$i]} 2003"
-	echo "cd \"\$docpath\"" >> "Microsoft Office ${APPNAME[$i]} 2003"
-	echo "wine \"$appdir/${EXENAME[$i]}.EXE\" \"\$docname\"" >> "Microsoft Office ${APPNAME[$i]} 2003"
-	rm "Microsoft Office ${APPNAME[$i]} 2003.bak"
-	fi
+[ "$POL_OS" = "Linux" ] && wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE"
+if [ "$POL_OS" = "Mac" ]
+    then
+        # Samba support
+        POL_Call POL_GetTool_samba3
+        source "$POL_USER_ROOT/tools/samba3/init"
 fi
-done 
 
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+POL_Call POL_Function_FontsSmoothRGB
+
+POL_SetupWindow_InstallMethod "LOCAL,DVD"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+    then
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+        POL_SetupWindow_WaitBefore "$TITLE"
+        POL_Wine "$APP_ANSWER"
+fi
 
-#cleaning temp
-rm -r "$WINEPREFIX/drive_c/windows/temp/"
+if [ "$INSTALL_METHOD" = "DVD" ]
+    then
+        POL_SetupWindow_cdrom
+        cd "$CDROM"
+        POL_SetupWindow_WaitBefore "$TITLE"
+        POL_Wine "setup.exe"
+fi
 
-POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE"
+POL_Shortcut "WINWORD.EXE" "Microsoft Word"
+POL_Shortcut "EXCEL.EXE" "Microsoft Excel"
+POL_Shortcut "POWERPNT.EXE" "Microsoft PowerPoint"
+POL_Shortcut "ONENOTE.EXE" "Microsoft OneNote"
+POL_Shortcut "INFOPATH.EXE" "Microsoft InfoPath"
+POL_Shortcut "MSPUB.EXE" "Microsoft Publisher"
+POL_Shortcut "OUTLOOK.EXE" "Microsoft Outlook"
+POL_Shortcut "MSACCESS.EXE" "Microsoft Access"
+
+if [ "$POL_OS" = "Mac" ]
+    then
+        POL_Shortcut_InsertBeforeWine "Microsoft Word 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
+        POL_Shortcut_InsertBeforeWine "Microsoft Excel 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
+        POL_Shortcut_InsertBeforeWine "Microsoft Powerpoint 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
+        POL_Shortcut_InsertBeforeWine "Microsoft OneNote 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
+        POL_Shortcut_InsertBeforeWine "Microsoft Outlook 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
+fi
 
-POL_SetupWindow_reboot
+POL_Wine_reboot
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2009-06-25 11-00)
# Last revision : (2016-2-13)
# Wine version used : 1.8.1
# Distribution used to test : Not tested (yet)
# Author : Tinou (Revised by MTres19)
# Licence : Retail

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

TITLE="Microsoft Office 2003"
PREFIX="Office2003"
WINEVERSION="1.8.1"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Microsoft" "www.microsoft.com" "Tinou" "$PREFIX"

[ "$POL_OS" = "Linux" ] && wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE"
if [ "$POL_OS" = "Mac" ]
    then
        # Samba support
        POL_Call POL_GetTool_samba3
        source "$POL_USER_ROOT/tools/samba3/init"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Function_FontsSmoothRGB

POL_SetupWindow_InstallMethod "LOCAL,DVD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
    then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
        POL_SetupWindow_WaitBefore "$TITLE"
        POL_Wine "$APP_ANSWER"
fi

if [ "$INSTALL_METHOD" = "DVD" ]
    then
        POL_SetupWindow_cdrom
        cd "$CDROM"
        POL_SetupWindow_WaitBefore "$TITLE"
        POL_Wine "setup.exe"
fi

POL_Shortcut "WINWORD.EXE" "Microsoft Word"
POL_Shortcut "EXCEL.EXE" "Microsoft Excel"
POL_Shortcut "POWERPNT.EXE" "Microsoft PowerPoint"
POL_Shortcut "ONENOTE.EXE" "Microsoft OneNote"
POL_Shortcut "INFOPATH.EXE" "Microsoft InfoPath"
POL_Shortcut "MSPUB.EXE" "Microsoft Publisher"
POL_Shortcut "OUTLOOK.EXE" "Microsoft Outlook"
POL_Shortcut "MSACCESS.EXE" "Microsoft Access"

if [ "$POL_OS" = "Mac" ]
    then
        POL_Shortcut_InsertBeforeWine "Microsoft Word 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Excel 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Powerpoint 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft OneNote 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
        POL_Shortcut_InsertBeforeWine "Microsoft Outlook 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
fi

POL_Wine_reboot
POL_SetupWindow_Close
exit 0

Réponses

Dimanche 3 Novembre 2019 à 0:07
Approved (copy of the previous 2009 script: https://pastebin.com/4Kw23VnE).
MTres19 Samedi 6 Février 2016 à 0:51
MTres19 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

I don't own this, so I can't test it. But I updated the script to use Wine 1.8.1, switched to POL v4 functions, and hopefully it works better now. If you want to give it a try, just click "Try this update" on this page. Maybe leave a comment if it works.

Differences

@@ -1,108 +1,49 @@
 #!/bin/bash
 # Date : (2009-06-25 11-00)
-# Last revision : (2009-10-29 15-00)
-# Wine version used : 1.2
-# Distribution used to test : Mac OS 10.6.4
-# Author : Tinou
+# Last revision : (2016-2-5)
+# Wine version used : 1.8.1
+# Distribution used to test : Not tested (yet)
+# Author : Tinou (Revised by MTres19)
 # Licence : Retail
-# Depend : ImageMagick
  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-POL_SetupWindow_make_icon_for_shortcut()
-{
-	convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1"
-}
-
 TITLE="Microsoft Office 2003"
 PREFIX="Office2003"
-
-EXENAME[0]="WINWORD"
-APPNAME[0]="Word"
-ICOINDEX[0]="*_wordicon.0.png"
-
-EXENAME[1]="EXCEL"
-APPNAME[1]="Excel"
-ICOINDEX[1]="*_xlicons.0.png"
-
-EXENAME[2]="POWERPNT"
-APPNAME[2]="PowerPoint"
-ICOINDEX[2]="*_pptico.0.png"
-
-EXENAME[3]="ONENOTE"
-APPNAME[3]="OneNote"
-ICOINDEX[3]="*_joticon.0.png"
-
-EXENAME[4]="INFOPATH"
-APPNAME[4]="InfoPath"
-ICOINDEX[4]="*_inficon.0.png"
-
-EXENAME[5]="MSPUB"
-APPNAME[5]="Publisher"
-ICOINDEX[5]="*_pubs.0.png"
-
-EXENAME[6]="OUTLOOK"
-APPNAME[6]="Outlook"
-ICOINDEX[6]="*_outicon.0.png"
-
-EXENAME[7]="MSACCESS"
-APPNAME[7]="Access"
-ICOINDEX[7]="*_accicons.0.png"
+WINEVERSION="1.8.1"
 
 POL_SetupWindow_Init
+POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "Microsoft" "www.microsoft.com" "Tinou" "$PREFIX" 
-
+POL_SetupWindow_presentation "$TITLE" "Microsoft" "www.microsoft.com" "Tinou" "$PREFIX"
 
+check_one "winbindd" "winbind"
+POL_SetupWindow_missing
 
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
-
-POL_SetupWindow_cdrom
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
 
-POL_SetupWindow_check_cdrom "setup.exe"
-POL_SetupWindow_prefixcreate
 POL_LoadVar_PROGRAMFILES
 
+POL_Call POL_Function_FontsSmoothRGB
 
-POL_Call POL_Function_FontsSmoothRGB 
-#POL_Call POL_Install_dotnet20
-
+POL_SetupWindow_cdrom
 
-POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
+POL_SetupWindow_wait "Installation in progress..." "$TITLE"
 cd "$CDROM"
-wine "setup.exe"
-POL_SetupWindow_detect_exit
-#POL_Call POL_Install_dcom98
-
-#making shortcuts
-for i in 0 1 2 3 4 5 6 7;
-do
-cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Office/OFFICE11"
-if [ -e "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Office/OFFICE11/${EXENAME[$i]}.EXE" ]; then
-POL_SetupWindow_make_icon_for_shortcut "Microsoft Office ${APPNAME[$i]} 2003" "${ICOINDEX[$i]}"
-POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Microsoft Office/OFFICE11" "${EXENAME[$i]}.EXE" "" "Microsoft Office ${APPNAME[$i]} 2003" "" ""
-
-	if [ "${APPNAME[$i]}" != "Outlook" ] ;then
-	appdir=$(detect_appdir "Microsoft Office ${APPNAME[$i]} 2003")
-	cd "$REPERTOIRE/configurations/installed"
-	mv "Microsoft Office ${APPNAME[$i]} 2003" "Microsoft Office ${APPNAME[$i]} 2003.bak"
-	cat "Microsoft Office ${APPNAME[$i]} 2003.bak" | head -n5 > "Microsoft Office ${APPNAME[$i]} 2003"
-	echo "docname=\${1##*/}" >> "Microsoft Office ${APPNAME[$i]} 2003"
-	echo "docpath=\${1%/*}" >> "Microsoft Office ${APPNAME[$i]} 2003"
-	echo "cd \"\$docpath\"" >> "Microsoft Office ${APPNAME[$i]} 2003"
-	echo "wine \"$appdir/${EXENAME[$i]}.EXE\" \"\$docname\"" >> "Microsoft Office ${APPNAME[$i]} 2003"
-	rm "Microsoft Office ${APPNAME[$i]} 2003.bak"
-	fi
-fi
-done 
-
-
-#cleaning temp
-rm -r "$WINEPREFIX/drive_c/windows/temp/"
+POL_Wine "setup.exe"
 
-POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE"
+POL_Shortcut "WINWORD.EXE" "Microsoft Word"
+POL_Shortcut "EXCEL.EXE" "Microsoft Excel"
+POL_Shortcut "POWERPNT.EXE" "Microsoft PowerPoint"
+POL_Shortcut "ONENOTE.EXE" "Microsoft OneNote"
+POL_Shortcut "INFOPATH.EXE" "Microsoft InfoPath"
+POL_Shortcut "MSPUB.EXE" "Microsoft Publisher"
+POL_Shortcut "OUTLOOK.EXE" "Microsoft Outlook"
+POL_Shortcut "MSACCESS.EXE" "Microsoft Access"
 
-POL_SetupWindow_reboot
+POL_Wine_reboot
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2009-06-25 11-00)
# Last revision : (2016-2-5)
# Wine version used : 1.8.1
# Distribution used to test : Not tested (yet)
# Author : Tinou (Revised by MTres19)
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Microsoft Office 2003"
PREFIX="Office2003"
WINEVERSION="1.8.1"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Microsoft" "www.microsoft.com" "Tinou" "$PREFIX"

check_one "winbindd" "winbind"
POL_SetupWindow_missing

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_LoadVar_PROGRAMFILES

POL_Call POL_Function_FontsSmoothRGB

POL_SetupWindow_cdrom

POL_SetupWindow_wait "Installation in progress..." "$TITLE"
cd "$CDROM"
POL_Wine "setup.exe"

POL_Shortcut "WINWORD.EXE" "Microsoft Word"
POL_Shortcut "EXCEL.EXE" "Microsoft Excel"
POL_Shortcut "POWERPNT.EXE" "Microsoft PowerPoint"
POL_Shortcut "ONENOTE.EXE" "Microsoft OneNote"
POL_Shortcut "INFOPATH.EXE" "Microsoft InfoPath"
POL_Shortcut "MSPUB.EXE" "Microsoft Publisher"
POL_Shortcut "OUTLOOK.EXE" "Microsoft Outlook"
POL_Shortcut "MSACCESS.EXE" "Microsoft Access"

POL_Wine_reboot
POL_SetupWindow_Close
exit 0

Réponses

Samedi 6 Février 2016 à 9:57
Nice cleanup :) Sadly I can't test it myself either...
My review:
check_one "winbindd" "winbind"
POL_SetupWindow_missing

Both statements are deprecated. And specifically for Winbind support, the Microsoft Office 2010 script uses

if [ "$POL_OS" = "Linux" ]; then
wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE"
fi

then later

if [ "$POL_OS" = "Mac" ]; then
# Samba support
POL_Call POL_GetTool_samba3
source "$POL_USER_ROOT/tools/samba3/init"
fi

and

if [ "$POL_OS" = "Mac" ]; then
POL_Shortcut_InsertBeforeWine "Microsoft Word 2010" "source \"$POL_USER_ROOT/tools/samba3/init\""
...
fi

---

POL_LoadVar_PROGRAMFILES

Initializing $PROGRAMFILES is now automatic, you can remove that statement

---

POL_SetupWindow_wait "Installation in progress..." "$TITLE"

Prefer POL_Wine_WaitBefore "$TITLE", one message to translate

You dropped the POL_SetupWindow_cdrom_check, but setup.exe is probably rather common, so I'm not sure it's a great loss ;)
Anonymous
Dimanche 14 Février 2016 à 0:12
Okay, I'll post a fix.
Anonymous
Mardi 21 Février 2017 à 11:31
I tested this with Office 2003 and it runs into problems. Seems my version only has SETUP.MSI and not setup.exe or any of the
Anonymous
Mardi 21 Février 2017 à 11:31
Sorry message sent prematurely....wine: cannot find L"C:\\windows\\system32\\setup.exe"
Anonymous
Mardi 21 Février 2017 à 12:43
I found a copy of Office 2003 with setup.exe. It gets further but gets stuck at a popup box asking me to insert disk 1. I am using a mounted .iso.
gang65 Vendredi 5 Février 2016 à 20:49
gang65

Messages

Please upgrade wine to version 1.8.1

With this version it is possible to add charts into Word document.

Steps to reproduce:

Select "Insert" - "Picture" - "Chart".

Unfortunately there are some display issues, but it could be edited and opened properly with LibreOffice and MS Office (Windows)

Under wine1.4 and wine1.6 it is not working at all. I'm not able to edit and save. Also LibreOffice unable to open such document

 

More information about how to add charts is available at:

http://tipsforwordprocessing.com/microsoft-word-2003-insert-chart.html

 

 

Réponses

gang65 Mercredi 3 Février 2016 à 1:45
gang65

Messages

From Wine 1.6 the Formula Equation works quite well.

Réponses

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