LibreOffice 4

Informations

Creator Message
gouchi Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 11729
Wine: System

Feedbacks

Description

LibreOffice 4 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 4"
PREFIX="LibreOffice4"

#Current LibreOffice Still Version
LO_STILL_VER="4.4.7"
MD5_LO_STILL="8239967f4181dffff11bfd5631e6e219"

#LibreOffice Still URL
URL_LO_STILL="http://download.documentfoundation.org/libreoffice/stable/$LO_STILL_VER/win/x86/LibreOffice_""$LO_STILL_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 2725

#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_STILL" "$MD5_LO_STILL"
     
    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_STILL")"
fi

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

#Fix for wine: Call from 0x7b8396ec to unimplemented function msvcr110.dll.?_GetConcurrency@details@Concurrency@@YAIXZ, aborting
POL_Call POL_Install_vcrun2012

#Delete temp directory
POL_System_TmpDelete

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

POL_SetupWindow_Close

exit

Contributions

Filters:

Contribute
Member Message
petch Thursday 4 February 2016 at 7:32
petch

Information

This update has been approved by the team.

Message

Use graphic resources

Differences

@@ -1,38 +1,42 @@
-#!/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 4"
 PREFIX="LibreOffice4"
- 
+
 #Current LibreOffice Still Version
 LO_STILL_VER="4.4.7"
 MD5_LO_STILL="8239967f4181dffff11bfd5631e6e219"
- 
+
 #LibreOffice Still URL
 URL_LO_STILL="http://download.documentfoundation.org/libreoffice/stable/$LO_STILL_VER/win/x86/LibreOffice_""$LO_STILL_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 2725
+
 #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"
@@ -48,24 +52,22 @@
      
     INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_STILL")"
 fi
-  
+
 #Installation LibreOffice
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine msiexec /i "$INSTALLER"
- 
+
 #Fix for wine: Call from 0x7b8396ec to unimplemented function msvcr110.dll.?_GetConcurrency@details@Concurrency@@YAIXZ, aborting
 POL_Call POL_Install_vcrun2012
- 
+
 #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 4"
PREFIX="LibreOffice4"

#Current LibreOffice Still Version
LO_STILL_VER="4.4.7"
MD5_LO_STILL="8239967f4181dffff11bfd5631e6e219"

#LibreOffice Still URL
URL_LO_STILL="http://download.documentfoundation.org/libreoffice/stable/$LO_STILL_VER/win/x86/LibreOffice_""$LO_STILL_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 2725

#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_STILL" "$MD5_LO_STILL"
     
    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_STILL")"
fi

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

#Fix for wine: Call from 0x7b8396ec to unimplemented function msvcr110.dll.?_GetConcurrency@details@Concurrency@@YAIXZ, aborting
POL_Call POL_Install_vcrun2012

#Delete temp directory
POL_System_TmpDelete

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

POL_SetupWindow_Close

exit

Replies

Saturday 6 January 2018 at 18:17
Hey! Hope all is well with you. :D I guess it may seem presumptuous, but having LibreOffice scripts seems silly when it already runs fantastic through any operating system, including mac. Should we really have these scripts available instead of having people run the free software natively? I noticed that with a script for FEZ, too. FEZ runs great on *nix, so having it go through POL seems a little strange. Plus, usually the reason people want to run them is because it's easier to get a bootlegged version (obviously this is not the case for LibreOffice). I mean, unless the Windows version of LibreOffice offers something that the Linux title does not. Just curious. Again, hope all is going well. It's been a while. I will be on IRC soon.
Anonymous
Sunday 7 January 2018 at 20:14
It is useful for Libreoffice QA team to test the windows version on Linux.
gouchi Thursday 4 February 2016 at 0:01
gouchi Anonymous

Message

Please find the icons for the installer.

Replies

gouchi Saturday 30 January 2016 at 21:55
gouchi Anonymous

Warning

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

Differences

@@ -0,0 +1,71 @@
+#!/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 4"
+PREFIX="LibreOffice4"
+ 
+#Current LibreOffice Still Version
+LO_STILL_VER="4.4.7"
+MD5_LO_STILL="8239967f4181dffff11bfd5631e6e219"
+ 
+#LibreOffice Still URL
+URL_LO_STILL="http://download.documentfoundation.org/libreoffice/stable/$LO_STILL_VER/win/x86/LibreOffice_""$LO_STILL_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_STILL" "$MD5_LO_STILL"
+     
+    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_STILL")"
+fi
+  
+#Installation LibreOffice
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine msiexec /i "$INSTALLER"
+ 
+#Fix for wine: Call from 0x7b8396ec to unimplemented function msvcr110.dll.?_GetConcurrency@details@Concurrency@@YAIXZ, aborting
+POL_Call POL_Install_vcrun2012
+ 
+#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 4"
PREFIX="LibreOffice4"
 
#Current LibreOffice Still Version
LO_STILL_VER="4.4.7"
MD5_LO_STILL="8239967f4181dffff11bfd5631e6e219"
 
#LibreOffice Still URL
URL_LO_STILL="http://download.documentfoundation.org/libreoffice/stable/$LO_STILL_VER/win/x86/LibreOffice_""$LO_STILL_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_STILL" "$MD5_LO_STILL"
     
    INSTALLER="$POL_System_TmpDir/$(basename "$URL_LO_STILL")"
fi
  
#Installation LibreOffice
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
POL_Wine_WaitBefore "$TITLE"
POL_Wine msiexec /i "$INSTALLER"
 
#Fix for wine: Call from 0x7b8396ec to unimplemented function msvcr110.dll.?_GetConcurrency@details@Concurrency@@YAIXZ, aborting
POL_Call POL_Install_vcrun2012
 
#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