LibreOffice 5

Informations

Creator Message
gouchi Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 10469
Wine: System

Feedbacks

Description

LibreOffice 5 installer.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-01-27 20:00)
# Last revision : (2016-01-30 12:00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie 64 bits
# Author : Gouchi

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

#LibreOffice
TITLE="LibreOffice 5"
PREFIX="LibreOffice5"

#Current LibreOffice Fresh Version
LO_FRESH_VER="5.1.0"
MD5_LO_FRESH="2fe9e24065de1ff2baa41c50cd6827a9"

#LibreOffice Fresh URL
URL_LO_FRESH="http://download.documentfoundation.org/libreoffice/stable/$LO_FRESH_VER/win/x86/LibreOffice_""$LO_FRESH_VER""_Win_x86.msi"

#Prevent for asking to install mono
WINEDLLOVERRIDES="mscoree=d;$WINEDLLOVERRIDES"
export WINEDLLOVERRIDES

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2726
#Enable debug
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.libreoffice.org" "gouchi" "$TITLE"

POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
     
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Msi (*.msi)|*.msi;*.MSI"
     
    INSTALLER="$APP_ANSWER"
    
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
         
    POL_Download "$URL_LO_FRESH" "$MD5_LO_FRESH"
     
    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_FRESH")"
fi

#Installation LibreOffice
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
POL_Wine_WaitBefore "$TITLE"
POL_Wine msiexec /i "$INSTALLER"

#Delete temp directory
POL_System_TmpDelete

#Create shortcut
POL_Shortcut "soffice.exe" "$TITLE" "$TITLE.png"

POL_SetupWindow_Close

exit

Contributions

Filters:

Contribute
Member Message
gouchi Wednesday 10 February 2016 at 20:18
gouchi Anonymous

Information

This update has been approved by the team.

Message

Update to version 5.1.0.

Differences

@@ -13,8 +13,8 @@
 PREFIX="LibreOffice5"
 
 #Current LibreOffice Fresh Version
-LO_FRESH_VER="5.0.4"
-MD5_LO_FRESH="741eec1061aca21ee3305f9e8f1594e7"
+LO_FRESH_VER="5.1.0"
+MD5_LO_FRESH="2fe9e24065de1ff2baa41c50cd6827a9"
 
 #LibreOffice Fresh URL
 URL_LO_FRESH="http://download.documentfoundation.org/libreoffice/stable/$LO_FRESH_VER/win/x86/LibreOffice_""$LO_FRESH_VER""_Win_x86.msi"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-01-27 20:00)
# Last revision : (2016-01-30 12:00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie 64 bits
# Author : Gouchi

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

#LibreOffice
TITLE="LibreOffice 5"
PREFIX="LibreOffice5"

#Current LibreOffice Fresh Version
LO_FRESH_VER="5.1.0"
MD5_LO_FRESH="2fe9e24065de1ff2baa41c50cd6827a9"

#LibreOffice Fresh URL
URL_LO_FRESH="http://download.documentfoundation.org/libreoffice/stable/$LO_FRESH_VER/win/x86/LibreOffice_""$LO_FRESH_VER""_Win_x86.msi"

#Prevent for asking to install mono
WINEDLLOVERRIDES="mscoree=d;$WINEDLLOVERRIDES"
export WINEDLLOVERRIDES

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2726
#Enable debug
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.libreoffice.org" "gouchi" "$TITLE"

POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
     
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Msi (*.msi)|*.msi;*.MSI"
     
    INSTALLER="$APP_ANSWER"
    
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
         
    POL_Download "$URL_LO_FRESH" "$MD5_LO_FRESH"
     
    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_FRESH")"
fi

#Installation LibreOffice
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
POL_Wine_WaitBefore "$TITLE"
POL_Wine msiexec /i "$INSTALLER"

#Delete temp directory
POL_System_TmpDelete

#Create shortcut
POL_Shortcut "soffice.exe" "$TITLE" "$TITLE.png"

POL_SetupWindow_Close

exit

Replies

petch Thursday 4 February 2016 at 7:28
petch
Developer

Warning

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

Message

Use graphic resources

Differences

@@ -1,38 +1,41 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : (2016-01-27 20:00)
 # Last revision : (2016-01-30 12:00)
 # Wine version used : 1.6.2
 # Distribution used to test : Debian Jessie 64 bits
 # Author : Gouchi
- 
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 #LibreOffice
 TITLE="LibreOffice 5"
 PREFIX="LibreOffice5"
- 
+
 #Current LibreOffice Fresh Version
 LO_FRESH_VER="5.0.4"
 MD5_LO_FRESH="741eec1061aca21ee3305f9e8f1594e7"
- 
+
 #LibreOffice Fresh URL
 URL_LO_FRESH="http://download.documentfoundation.org/libreoffice/stable/$LO_FRESH_VER/win/x86/LibreOffice_""$LO_FRESH_VER""_Win_x86.msi"
- 
+
 #Prevent for asking to install mono
 WINEDLLOVERRIDES="mscoree=d;$WINEDLLOVERRIDES"
 export WINEDLLOVERRIDES
- 
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 2726
 #Enable debug
 POL_Debug_Init
-  
+
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.libreoffice.org" "gouchi" "$TITLE"
-  
+
 POL_System_TmpCreate "$TITLE"
-  
+
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-  
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     cd "$HOME"
@@ -49,21 +52,19 @@
      
     INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_FRESH")"
 fi
-  
+
 #Installation LibreOffice
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine msiexec /i "$INSTALLER"
- 
+
 #Delete temp directory
 POL_System_TmpDelete
-  
+
 #Create shortcut
-POL_Shortcut "soffice.exe" "$TITLE"
-  
-POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
- 
+POL_Shortcut "soffice.exe" "$TITLE" "$TITLE.png"
+
 POL_SetupWindow_Close
- 
+
 exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2016-01-27 20:00)
# Last revision : (2016-01-30 12:00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie 64 bits
# Author : Gouchi

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

#LibreOffice
TITLE="LibreOffice 5"
PREFIX="LibreOffice5"

#Current LibreOffice Fresh Version
LO_FRESH_VER="5.0.4"
MD5_LO_FRESH="741eec1061aca21ee3305f9e8f1594e7"

#LibreOffice Fresh URL
URL_LO_FRESH="http://download.documentfoundation.org/libreoffice/stable/$LO_FRESH_VER/win/x86/LibreOffice_""$LO_FRESH_VER""_Win_x86.msi"

#Prevent for asking to install mono
WINEDLLOVERRIDES="mscoree=d;$WINEDLLOVERRIDES"
export WINEDLLOVERRIDES

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2726
#Enable debug
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.libreoffice.org" "gouchi" "$TITLE"

POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
     
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Msi (*.msi)|*.msi;*.MSI"
     
    INSTALLER="$APP_ANSWER"
    
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
         
    POL_Download "$URL_LO_FRESH" "$MD5_LO_FRESH"
     
    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_FRESH")"
fi

#Installation LibreOffice
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
POL_Wine_WaitBefore "$TITLE"
POL_Wine msiexec /i "$INSTALLER"

#Delete temp directory
POL_System_TmpDelete

#Create shortcut
POL_Shortcut "soffice.exe" "$TITLE" "$TITLE.png"

POL_SetupWindow_Close

exit

Replies

gouchi Thursday 4 February 2016 at 0:00
gouchi Anonymous

Message

Please find the icons for the installer.

Replies

gouchi Saturday 30 January 2016 at 22:00
gouchi Anonymous

Message

Please remove Mac platform.

Replies

Saturday 30 January 2016 at 23:38
Script doesn't work with PlayOnMac?
Anonymous
Sunday 31 January 2016 at 16:04
I don't know as I can't test it on Mac.
Sunday 31 January 2016 at 16:17
In such case the policy is to enable it by default
Anonymous
Sunday 31 January 2016 at 17:21
Ok didn't know it. Thank you.
gouchi Saturday 30 January 2016 at 21:57
gouchi Anonymous

Warning

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

Differences

@@ -0,0 +1,69 @@
+#!/bin/bash
+# Date : (2016-01-27 20:00)
+# Last revision : (2016-01-30 12:00)
+# Wine version used : 1.6.2
+# Distribution used to test : Debian Jessie 64 bits
+# Author : Gouchi
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+#LibreOffice
+TITLE="LibreOffice 5"
+PREFIX="LibreOffice5"
+ 
+#Current LibreOffice Fresh Version
+LO_FRESH_VER="5.0.4"
+MD5_LO_FRESH="741eec1061aca21ee3305f9e8f1594e7"
+ 
+#LibreOffice Fresh URL
+URL_LO_FRESH="http://download.documentfoundation.org/libreoffice/stable/$LO_FRESH_VER/win/x86/LibreOffice_""$LO_FRESH_VER""_Win_x86.msi"
+ 
+#Prevent for asking to install mono
+WINEDLLOVERRIDES="mscoree=d;$WINEDLLOVERRIDES"
+export WINEDLLOVERRIDES
+ 
+POL_SetupWindow_Init
+#Enable debug
+POL_Debug_Init
+  
+POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.libreoffice.org" "gouchi" "$TITLE"
+  
+POL_System_TmpCreate "$TITLE"
+  
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+  
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    cd "$HOME"
+     
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Msi (*.msi)|*.msi;*.MSI"
+     
+    INSTALLER="$APP_ANSWER"
+    
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+         
+    POL_Download "$URL_LO_FRESH" "$MD5_LO_FRESH"
+     
+    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_FRESH")"
+fi
+  
+#Installation LibreOffice
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine msiexec /i "$INSTALLER"
+ 
+#Delete temp directory
+POL_System_TmpDelete
+  
+#Create shortcut
+POL_Shortcut "soffice.exe" "$TITLE"
+  
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
+ 
+POL_SetupWindow_Close
+ 
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-01-27 20:00)
# Last revision : (2016-01-30 12:00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie 64 bits
# Author : Gouchi
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
#LibreOffice
TITLE="LibreOffice 5"
PREFIX="LibreOffice5"
 
#Current LibreOffice Fresh Version
LO_FRESH_VER="5.0.4"
MD5_LO_FRESH="741eec1061aca21ee3305f9e8f1594e7"
 
#LibreOffice Fresh URL
URL_LO_FRESH="http://download.documentfoundation.org/libreoffice/stable/$LO_FRESH_VER/win/x86/LibreOffice_""$LO_FRESH_VER""_Win_x86.msi"
 
#Prevent for asking to install mono
WINEDLLOVERRIDES="mscoree=d;$WINEDLLOVERRIDES"
export WINEDLLOVERRIDES
 
POL_SetupWindow_Init
#Enable debug
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.libreoffice.org" "gouchi" "$TITLE"
  
POL_System_TmpCreate "$TITLE"
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
     
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Msi (*.msi)|*.msi;*.MSI"
     
    INSTALLER="$APP_ANSWER"
    
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
         
    POL_Download "$URL_LO_FRESH" "$MD5_LO_FRESH"
     
    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_FRESH")"
fi
  
#Installation LibreOffice
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
POL_Wine_WaitBefore "$TITLE"
POL_Wine msiexec /i "$INSTALLER"
 
#Delete temp directory
POL_System_TmpDelete
  
#Create shortcut
POL_Shortcut "soffice.exe" "$TITLE"
  
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
 
POL_SetupWindow_Close
 
exit

Replies