microsoft office Proffecional Plus 2016

Informations

Creator Message
isaacangello Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

This script has the purpose of installing and giving the option to insert a key for office 2016, it already works and opens the ps programs of the suite, but still presents strange behaviors. It takes a way to crack it or insert a valid key,

Source code

				

Contributions

Filters:

Contribute
Member Message
isaacangello Thursday 22 November 2018 at 18:59
isaacangello Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,107 @@
+#!/bin/bash
+# 
+# [Isaac Angelo] (2018-09-27 21-25)
+# Script Baseado no Script de instalação do Office 2013
+#
+#
+version=0.04
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="Office2016"
+WINEVERSION="2.8-staging"
+TITLE="Microsoft Office 2016"
+ 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Office/top.jpg" "http://files.playonlinux.com/resources/setups/Office/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2665
+ 
+POL_SetupWindow_presentation "$TITLE" "Isaac Angelo" "versão = $version" "Microsoft"
+
+
+ 
+POL_RequiredVersion 4.0.18 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
+ 
+if [ "$POL_OS" = "Linux" ]; then
+        wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE"
+fi
+POL_Debug_Init
+POL_System_SetArch "x86"
+ 
+#POL_SetupWindow_message "Esse script foi  " "MUITO IMPORTANTE!!!!" 
+POL_SetupWindow_InstallMethod "LOCAL"
+ 
+if [ "$INSTALL_METHOD" = "DVD" ]; then
+#        POL_SetupWindow_cdrom
+#        POL_SetupWindow_check_cdrom "x86/setup.exe" "setup.exe"
+#        SetupIs="$CDROM_SETUP"
+#        cd "$CDROM"
+        POL_SetupWindow_browse "$(eval_gettext 'Selecione o Arquivo de Instalação do Office 32BITS')" "$TITLE"
+        SetupIs="$APP_ANSWER"
+
+else
+        POL_SetupWindow_browse "$(eval_gettext 'Selecione o Arquivo de Instalação do Office 32BITS')" "$TITLE"
+        SetupIs="$APP_ANSWER"
+fi
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+Set_OS "win7" 
+
+if [ "$POL_OS" = "Mac" ]; then
+    # Samba support
+    POL_Call POL_GetTool_samba3
+    source "$POL_USER_ROOT/tools/samba3/init"
+fi
+ 
+ 
+POL_Wine_WaitBefore "$TITLE"
+[ "$CDROM" ] && cd "$CDROM"
+ 
+if [ ! "$(file $SetupIs | grep 'x86-64')" = "" ]; then
+    POL_Debug_Fatal "$(eval_gettext "A Versão de  64bits não é compatível ! ")";
+fi
+POL_Wine "$SetupIs"
+POL_Wine_WaitExit "$TITLE"
+ 
+# See http://forum.winehq.org/viewtopic.php?f=8&t=23126&p=95555#p95555
+POL_Wine_OverrideDLL "native,builtin" "riched20"
+ 
+# Fix a crash when loading a file
+# POL_Call POL_Install_msxml6
+# scirpt necessários para rodar o Office 2016 
+ POL_Install_corefonts 
+ POL_Install_tahoma
+ POL_Install_tahoma2
+ POL_Internal_InstallFonts
+ POL_Install_msxml6
+ POL_Install_vcrun6
+ 
+ 
+POL_Shortcut "WINWORD.EXE" "Microsoft Word 2016" "" "" "Office;WordProcessor;"
+POL_Shortcut "EXCEL.EXE" "Microsoft Excel 2016" "" "" "Office;Spreadsheet;"
+POL_Shortcut "POWERPNT.EXE" "Microsoft Powerpoint 2016" "" "" "Office;Presentation;"
+POL_Shortcut "ONENOTE.EXE" "Microsoft OneNote 2016" "" "" "Network;InstantMessaging;" # No category for collaborative work?
+POL_Shortcut "OUTLOOK.EXE" "Microsoft Outlook 2016" "" "" "Network;Email;" # Calendar;ContactManagement; ? :p
+ 
+POL_Extension_Write doc "Microsoft Word 2016"
+POL_Extension_Write docx "Microsoft Word 2016"
+POL_Extension_Write xls "Microsoft Excel 2016"
+POL_Extension_Write xlsx "Microsoft Excel 2016"
+POL_Extension_Write ppt "Microsoft Powerpoint 2016"
+POL_Extension_Write pptx "Microsoft Powerpoint 2016"
+ 
+if [ "$POL_OS" = "Mac" ]; then
+    POL_Shortcut_InsertBeforeWine "Microsoft Word 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
+    POL_Shortcut_InsertBeforeWine "Microsoft Excel 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
+    POL_Shortcut_InsertBeforeWine "Microsoft Powerpoint 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
+    POL_Shortcut_InsertBeforeWine "Microsoft OneNote 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
+    POL_Shortcut_InsertBeforeWine "Microsoft Outlook 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
+fi
+ 
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully\n\nIf an installation Windows prevent your programs from running, you must remove and reinstall $TITLE')" "$TITLE"
+POL_SetupWindow_Close
+exit

New source code

#!/bin/bash
# 
# [Isaac Angelo] (2018-09-27 21-25)
# Script Baseado no Script de instalação do Office 2013
#
#
version=0.04
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Office2016"
WINEVERSION="2.8-staging"
TITLE="Microsoft Office 2016"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Office/top.jpg" "http://files.playonlinux.com/resources/setups/Office/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2665
 
POL_SetupWindow_presentation "$TITLE" "Isaac Angelo" "versão = $version" "Microsoft"


 
POL_RequiredVersion 4.0.18 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
 
if [ "$POL_OS" = "Linux" ]; then
        wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE"
fi
POL_Debug_Init
POL_System_SetArch "x86"
 
#POL_SetupWindow_message "Esse script foi  " "MUITO IMPORTANTE!!!!" 
POL_SetupWindow_InstallMethod "LOCAL"
 
if [ "$INSTALL_METHOD" = "DVD" ]; then
#        POL_SetupWindow_cdrom
#        POL_SetupWindow_check_cdrom "x86/setup.exe" "setup.exe"
#        SetupIs="$CDROM_SETUP"
#        cd "$CDROM"
        POL_SetupWindow_browse "$(eval_gettext 'Selecione o Arquivo de Instalação do Office 32BITS')" "$TITLE"
        SetupIs="$APP_ANSWER"

else
        POL_SetupWindow_browse "$(eval_gettext 'Selecione o Arquivo de Instalação do Office 32BITS')" "$TITLE"
        SetupIs="$APP_ANSWER"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win7" 

if [ "$POL_OS" = "Mac" ]; then
    # Samba support
    POL_Call POL_GetTool_samba3
    source "$POL_USER_ROOT/tools/samba3/init"
fi
 
 
POL_Wine_WaitBefore "$TITLE"
[ "$CDROM" ] && cd "$CDROM"
 
if [ ! "$(file $SetupIs | grep 'x86-64')" = "" ]; then
    POL_Debug_Fatal "$(eval_gettext "A Versão de  64bits não é compatível ! ")";
fi
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"
 
# See http://forum.winehq.org/viewtopic.php?f=8&t=23126&p=95555#p95555
POL_Wine_OverrideDLL "native,builtin" "riched20"
 
# Fix a crash when loading a file
# POL_Call POL_Install_msxml6
# scirpt necessários para rodar o Office 2016 
 POL_Install_corefonts 
 POL_Install_tahoma
 POL_Install_tahoma2
 POL_Internal_InstallFonts
 POL_Install_msxml6
 POL_Install_vcrun6
 
 
POL_Shortcut "WINWORD.EXE" "Microsoft Word 2016" "" "" "Office;WordProcessor;"
POL_Shortcut "EXCEL.EXE" "Microsoft Excel 2016" "" "" "Office;Spreadsheet;"
POL_Shortcut "POWERPNT.EXE" "Microsoft Powerpoint 2016" "" "" "Office;Presentation;"
POL_Shortcut "ONENOTE.EXE" "Microsoft OneNote 2016" "" "" "Network;InstantMessaging;" # No category for collaborative work?
POL_Shortcut "OUTLOOK.EXE" "Microsoft Outlook 2016" "" "" "Network;Email;" # Calendar;ContactManagement; ? :p
 
POL_Extension_Write doc "Microsoft Word 2016"
POL_Extension_Write docx "Microsoft Word 2016"
POL_Extension_Write xls "Microsoft Excel 2016"
POL_Extension_Write xlsx "Microsoft Excel 2016"
POL_Extension_Write ppt "Microsoft Powerpoint 2016"
POL_Extension_Write pptx "Microsoft Powerpoint 2016"
 
if [ "$POL_OS" = "Mac" ]; then
    POL_Shortcut_InsertBeforeWine "Microsoft Word 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
    POL_Shortcut_InsertBeforeWine "Microsoft Excel 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
    POL_Shortcut_InsertBeforeWine "Microsoft Powerpoint 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
    POL_Shortcut_InsertBeforeWine "Microsoft OneNote 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
    POL_Shortcut_InsertBeforeWine "Microsoft Outlook 2016" "source \"$POL_USER_ROOT/tools/samba3/init\""
fi
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully\n\nIf an installation Windows prevent your programs from running, you must remove and reinstall $TITLE')" "$TITLE"
POL_SetupWindow_Close
exit

Replies