Estas Aqui

7-Zip

Informations

Creator Mensajes
thib25 Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 336287
Wine: 5.0.2

Feedbacks

Description

Archiving tool, supports multiple archives files formats. WebsiteWikipedia.

This script helps to run the Windows file on Linux and on OS X.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2011-11-06 18-56)
# Last revision : (2020-08-04 00-59)
# Wine version used : 5.0.1
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : thib25 & Tutul (update) && andykimpe (update)
#
# CHANGELOG
# [SuperPlumus] (2014-12-25 11-59)
#   Update Wine version 1.3.5 -> System
#   Update 7-Zip version 4.65 -> 9.20
#   Update messages
#   Change title and prefix names
# [SuperPlumus] (2014-12-25 11-59)
#   Clean code
# [p-90-for-retail] (2018-3-3 18-26)
#   Update 7-Zip version 9.20 -> 18.01
# [Yaotl] (2020-8-4 00-59)
#   Update System Wine -> 5.0.1
#   Update 7-Zip version 18.01 -> 19.00
#   Change Optimize code
#   Change Add local installation option
# [Dadu042] (2020-09-22 15-00)
#   Update System Wine 5.0.1 -> 5.0.2
#   Add POL_Shortcut category

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

TITLE="7-Zip"
PREFIX="7zip"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 373
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "7-Zip" "https://7-zip.org" "andykimpe" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "5.0.2"

# POL_Call POL_Install_LunaTheme

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Download "https://7-zip.org/a/7z1900-x64.exe" "d7b20f933be6cdae41efbe75548eba5f"
        INSTALLER="$POL_System_TmpDir/7z1900-x64.exe"
    else
        POL_Download "https://7-zip.org/a/7z1900.exe" "fabe184f6721e640474e1497c69ffc98"
        INSTALLER="$POL_System_TmpDir/7z1900.exe"
    fi
fi

POL_Wine_WaitBefore "$TITLE"
POL_AutoWine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "7zFM.exe" "$TITLE" "" "" "Archiving;"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Mensajes
morrissel311 Thursday 9 December 2021 at 16:50
morrissel311 Anonymous

Mensajes

This code will never be accepted panorama charter

 19216811.bid

Respuestas

Dadu042 Tuesday 22 September 2020 at 15:04
Dadu042

Information

This update has been approved by the team.

Mensajes

Wine 5.0.1 -> 5.0.2

Differences

@@ -20,7 +20,9 @@
 #   Update 7-Zip version 18.01 -> 19.00
 #   Change Optimize code
 #   Change Add local installation option
-
+# [Dadu042] (2020-09-22 15-00)
+#   Update System Wine 5.0.1 -> 5.0.2
+#   Add POL_Shortcut category
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -39,9 +41,9 @@
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "auto"
-POL_Wine_PrefixCreate "5.0.1"
+POL_Wine_PrefixCreate "5.0.2"
 
-#POL_Call POL_Install_LunaTheme
+# POL_Call POL_Install_LunaTheme
 
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" == "LOCAL" ]; then
@@ -65,7 +67,7 @@
 
 POL_System_TmpDelete
 
-POL_Shortcut "7zFM.exe" "$TITLE"
+POL_Shortcut "7zFM.exe" "$TITLE" "" "" "Archiving;"
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2011-11-06 18-56)
# Last revision : (2020-08-04 00-59)
# Wine version used : 5.0.1
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : thib25 & Tutul (update) && andykimpe (update)
#
# CHANGELOG
# [SuperPlumus] (2014-12-25 11-59)
#   Update Wine version 1.3.5 -> System
#   Update 7-Zip version 4.65 -> 9.20
#   Update messages
#   Change title and prefix names
# [SuperPlumus] (2014-12-25 11-59)
#   Clean code
# [p-90-for-retail] (2018-3-3 18-26)
#   Update 7-Zip version 9.20 -> 18.01
# [Yaotl] (2020-8-4 00-59)
#   Update System Wine -> 5.0.1
#   Update 7-Zip version 18.01 -> 19.00
#   Change Optimize code
#   Change Add local installation option
# [Dadu042] (2020-09-22 15-00)
#   Update System Wine 5.0.1 -> 5.0.2
#   Add POL_Shortcut category

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

TITLE="7-Zip"
PREFIX="7zip"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 373
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "7-Zip" "https://7-zip.org" "andykimpe" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "5.0.2"

# POL_Call POL_Install_LunaTheme

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Download "https://7-zip.org/a/7z1900-x64.exe" "d7b20f933be6cdae41efbe75548eba5f"
        INSTALLER="$POL_System_TmpDir/7z1900-x64.exe"
    else
        POL_Download "https://7-zip.org/a/7z1900.exe" "fabe184f6721e640474e1497c69ffc98"
        INSTALLER="$POL_System_TmpDir/7z1900.exe"
    fi
fi

POL_Wine_WaitBefore "$TITLE"
POL_AutoWine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "7zFM.exe" "$TITLE" "" "" "Archiving;"

POL_SetupWindow_Close
exit 0

Respuestas

Anonymous
Thursday 14 October 2021 at 14:45
Hi there! Thank you for this information!! :)))
Yaotl Tuesday 4 August 2020 at 8:56
Yaotl Anonymous

Warning

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

Differences

@@ -1,11 +1,10 @@
-#!/bin/bash
-   
+#!/usr/bin/env playonlinux-bash
 # Date : (2011-11-06 18-56)
-# Last revision : (2018-3-3 18-26)
-# Wine version used : System
-# Distribution used to test :
+# Last revision : (2020-08-04 00-59)
+# Wine version used : 5.0.1
+# Distribution used to test : Linux Mint 20 Cinnamon
 # Author : thib25 & Tutul (update) && andykimpe (update)
-   
+#
 # CHANGELOG
 # [SuperPlumus] (2014-12-25 11-59)
 #   Update Wine version 1.3.5 -> System
@@ -16,43 +15,57 @@
 #   Clean code
 # [p-90-for-retail] (2018-3-3 18-26)
 #   Update 7-Zip version 9.20 -> 18.01
- 
-   
- 
-[ "$PLAYONLINUX" = "" ] && exit
+# [Yaotl] (2020-8-4 00-59)
+#   Update System Wine -> 5.0.1
+#   Update 7-Zip version 18.01 -> 19.00
+#   Change Optimize code
+#   Change Add local installation option
+
+
+[ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-   
+
 TITLE="7-Zip"
 PREFIX="7zip"
-   
+
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 373
 POL_Debug_Init
-   
-POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
-   
+
+POL_SetupWindow_presentation "$TITLE" "7-Zip" "https://7-zip.org" "andykimpe" "$PREFIX"
+
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate
-   
-POL_System_TmpCreate "$PREFIX"
-   
-POL_Call POL_Install_LunaTheme
-   
-cd "$POL_System_TmpDir"
-if [ "$POL_ARCH" == "amd64" ]; then
-    POL_Download "http://www.7-zip.org/a/7z1801-x64.exe" "0710d1880c199cecd794762e9b7b2ac3"
-    POL_Wine_WaitBefore "$TITLE"
-    POL_AutoWine "7z1801-x64.exe"
-else
-    POL_Download "http://www.7-zip.org/a/7z1801.exe" "98eaebc6ebcf37d69658ac9871dbec6f"
-    POL_Wine_WaitBefore "$TITLE"
-    POL_AutoWine "7z1801.exe"
+POL_System_SetArch "auto"
+POL_Wine_PrefixCreate "5.0.1"
+
+#POL_Call POL_Install_LunaTheme
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+    cd "$HOME"
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
+    POL_System_TmpCreate "$PREFIX"
+    cd "$POL_System_TmpDir"
+    if [ "$POL_ARCH" == "amd64" ]; then
+        POL_Download "https://7-zip.org/a/7z1900-x64.exe" "d7b20f933be6cdae41efbe75548eba5f"
+        INSTALLER="$POL_System_TmpDir/7z1900-x64.exe"
+    else
+        POL_Download "https://7-zip.org/a/7z1900.exe" "fabe184f6721e640474e1497c69ffc98"
+        INSTALLER="$POL_System_TmpDir/7z1900.exe"
+    fi
 fi
- 
+
+POL_Wine_WaitBefore "$TITLE"
+POL_AutoWine "$INSTALLER"
+
 POL_System_TmpDelete
-   
+
 POL_Shortcut "7zFM.exe" "$TITLE"
-   
+
 POL_SetupWindow_Close
-exit
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2011-11-06 18-56)
# Last revision : (2020-08-04 00-59)
# Wine version used : 5.0.1
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : thib25 & Tutul (update) && andykimpe (update)
#
# CHANGELOG
# [SuperPlumus] (2014-12-25 11-59)
#   Update Wine version 1.3.5 -> System
#   Update 7-Zip version 4.65 -> 9.20
#   Update messages
#   Change title and prefix names
# [SuperPlumus] (2014-12-25 11-59)
#   Clean code
# [p-90-for-retail] (2018-3-3 18-26)
#   Update 7-Zip version 9.20 -> 18.01
# [Yaotl] (2020-8-4 00-59)
#   Update System Wine -> 5.0.1
#   Update 7-Zip version 18.01 -> 19.00
#   Change Optimize code
#   Change Add local installation option


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

TITLE="7-Zip"
PREFIX="7zip"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 373
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "7-Zip" "https://7-zip.org" "andykimpe" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "5.0.1"

#POL_Call POL_Install_LunaTheme

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Download "https://7-zip.org/a/7z1900-x64.exe" "d7b20f933be6cdae41efbe75548eba5f"
        INSTALLER="$POL_System_TmpDir/7z1900-x64.exe"
    else
        POL_Download "https://7-zip.org/a/7z1900.exe" "fabe184f6721e640474e1497c69ffc98"
        INSTALLER="$POL_System_TmpDir/7z1900.exe"
    fi
fi

POL_Wine_WaitBefore "$TITLE"
POL_AutoWine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "7zFM.exe" "$TITLE"

POL_SetupWindow_Close
exit 0

Respuestas

Tuesday 4 August 2020 at 13:13
Script approved.
redhound Wednesday 1 April 2020 at 21:55
redhound Anonymous

Mensajes

Some (probably, most) users in Russia will experience the hanging of POL script then it trying to download the installer from 7-zip.org website. More info here: https://sourceforge.net/p/sevenzip/discussion/45797/thread/4c8936a456/

Respuestas

p-90-for-retail Saturday 3 March 2018 at 8:26
p-90-for-retail

Warning

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

Differences

@@ -1,11 +1,11 @@
 #!/bin/bash
-  
+   
 # Date : (2011-11-06 18-56)
-# Last revision : (2014-12-25 11-59)
+# Last revision : (2018-3-3 18-26)
 # Wine version used : System
 # Distribution used to test :
 # Author : thib25 & Tutul (update) && andykimpe (update)
-  
+   
 # CHANGELOG
 # [SuperPlumus] (2014-12-25 11-59)
 #   Update Wine version 1.3.5 -> System
@@ -14,43 +14,45 @@
 #   Change title and prefix names
 # [SuperPlumus] (2014-12-25 11-59)
 #   Clean code
-
-  
-
+# [p-90-for-retail] (2018-3-3 18-26)
+#   Update 7-Zip version 9.20 -> 18.01
+ 
+   
+ 
 [ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
-  
+   
 TITLE="7-Zip"
 PREFIX="7zip"
-  
+   
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 373
 POL_Debug_Init
-  
+   
 POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
-  
+   
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
-  
+   
 POL_System_TmpCreate "$PREFIX"
-  
+   
 POL_Call POL_Install_LunaTheme
-  
+   
 cd "$POL_System_TmpDir"
 if [ "$POL_ARCH" == "amd64" ]; then
-    POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
+    POL_Download "http://www.7-zip.org/a/7z1801-x64.exe" "0710d1880c199cecd794762e9b7b2ac3"
     POL_Wine_WaitBefore "$TITLE"
-    POL_AutoWine "7z920-x64.msi"
+    POL_AutoWine "7z1801-x64.exe"
 else
-    POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
+    POL_Download "http://www.7-zip.org/a/7z1801.exe" "98eaebc6ebcf37d69658ac9871dbec6f"
     POL_Wine_WaitBefore "$TITLE"
-    POL_Wine 7z920.exe
+    POL_AutoWine "7z1801.exe"
 fi
-
+ 
 POL_System_TmpDelete
-  
+   
 POL_Shortcut "7zFM.exe" "$TITLE"
-  
+   
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit

New source code

#!/bin/bash
   
# Date : (2011-11-06 18-56)
# Last revision : (2018-3-3 18-26)
# Wine version used : System
# Distribution used to test :
# Author : thib25 & Tutul (update) && andykimpe (update)
   
# CHANGELOG
# [SuperPlumus] (2014-12-25 11-59)
#   Update Wine version 1.3.5 -> System
#   Update 7-Zip version 4.65 -> 9.20
#   Update messages
#   Change title and prefix names
# [SuperPlumus] (2014-12-25 11-59)
#   Clean code
# [p-90-for-retail] (2018-3-3 18-26)
#   Update 7-Zip version 9.20 -> 18.01
 
   
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
   
TITLE="7-Zip"
PREFIX="7zip"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 373
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
   
POL_System_TmpCreate "$PREFIX"
   
POL_Call POL_Install_LunaTheme
   
cd "$POL_System_TmpDir"
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download "http://www.7-zip.org/a/7z1801-x64.exe" "0710d1880c199cecd794762e9b7b2ac3"
    POL_Wine_WaitBefore "$TITLE"
    POL_AutoWine "7z1801-x64.exe"
else
    POL_Download "http://www.7-zip.org/a/7z1801.exe" "98eaebc6ebcf37d69658ac9871dbec6f"
    POL_Wine_WaitBefore "$TITLE"
    POL_AutoWine "7z1801.exe"
fi
 
POL_System_TmpDelete
   
POL_Shortcut "7zFM.exe" "$TITLE"
   
POL_SetupWindow_Close
exit

Respuestas

petch Wednesday 2 September 2015 at 0:49
petch

Warning

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

Mensajes

Install in 32bit, .msi install seems to crash in 64bit

Differences

@@ -31,7 +31,6 @@
 POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
   
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "auto"
 POL_Wine_PrefixCreate
   
 POL_System_TmpCreate "$PREFIX"

New source code

#!/bin/bash
  
# Date : (2011-11-06 18-56)
# Last revision : (2014-12-25 11-59)
# Wine version used : System
# Distribution used to test :
# Author : thib25 & Tutul (update) && andykimpe (update)
  
# CHANGELOG
# [SuperPlumus] (2014-12-25 11-59)
#   Update Wine version 1.3.5 -> System
#   Update 7-Zip version 4.65 -> 9.20
#   Update messages
#   Change title and prefix names
# [SuperPlumus] (2014-12-25 11-59)
#   Clean code

  

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
  
TITLE="7-Zip"
PREFIX="7zip"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 373
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
  
POL_System_TmpCreate "$PREFIX"
  
POL_Call POL_Install_LunaTheme
  
cd "$POL_System_TmpDir"
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
    POL_Wine_WaitBefore "$TITLE"
    POL_AutoWine "7z920-x64.msi"
else
    POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine 7z920.exe
fi

POL_System_TmpDelete
  
POL_Shortcut "7zFM.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Respuestas

petch Tuesday 30 December 2014 at 10:17
petch

Warning

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

Mensajes

Use architecture detected by PlayOnLinux/PlayOnMac instead of system architecture (On Mac, Wine can currently only run 32bit)

Differences

@@ -25,6 +25,7 @@
   
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 373
 POL_Debug_Init
   
 POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
@@ -38,18 +39,16 @@
 POL_Call POL_Install_LunaTheme
   
 cd "$POL_System_TmpDir"
-if [ $(uname -m) == x86_64 ]
-then
-POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
-POL_Wine_WaitBefore "$TITLE"
-POL_Wine start /unix "7z920-x64.msi"
+if [ "$POL_ARCH" == "amd64" ]; then
+    POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_AutoWine "7z920-x64.msi"
 else
-POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
-POL_Wine_WaitBefore "$TITLE"
-POL_Wine 7z920.exe
+    POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_Wine 7z920.exe
 fi
-POL_Wine_WaitExit "$TITLE"
-  
+
 POL_System_TmpDelete
   
 POL_Shortcut "7zFM.exe" "$TITLE"

New source code

#!/bin/bash
  
# Date : (2011-11-06 18-56)
# Last revision : (2014-12-25 11-59)
# Wine version used : System
# Distribution used to test :
# Author : thib25 & Tutul (update) && andykimpe (update)
  
# CHANGELOG
# [SuperPlumus] (2014-12-25 11-59)
#   Update Wine version 1.3.5 -> System
#   Update 7-Zip version 4.65 -> 9.20
#   Update messages
#   Change title and prefix names
# [SuperPlumus] (2014-12-25 11-59)
#   Clean code

  

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
  
TITLE="7-Zip"
PREFIX="7zip"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 373
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate
  
POL_System_TmpCreate "$PREFIX"
  
POL_Call POL_Install_LunaTheme
  
cd "$POL_System_TmpDir"
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
    POL_Wine_WaitBefore "$TITLE"
    POL_AutoWine "7z920-x64.msi"
else
    POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine 7z920.exe
fi

POL_System_TmpDelete
  
POL_Shortcut "7zFM.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Respuestas

Editado por: petch

andykimpe Thursday 25 December 2014 at 12:00
andykimpe Anonymous

Warning

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

Differences

@@ -1,50 +1,58 @@
 #!/bin/bash
-
+  
 # Date : (2011-11-06 18-56)
-# Last revision : (2013-06-21 21-43)
-# Wine version used : 1.3.30
+# Last revision : (2014-12-25 11-59)
+# Wine version used : System
 # Distribution used to test :
-# Author : thib25 & Tutul (update)
-
+# Author : thib25 & Tutul (update) && andykimpe (update)
+  
 # CHANGELOG
-# [SuperPlumus] (2011-12-12 11:57)
-#   Update Wine version 1.3.5 -> 1.3.30
-#   Update 7-Zip version 4.65 -> 9.22
+# [SuperPlumus] (2014-12-25 11-59)
+#   Update Wine version 1.3.5 -> System
+#   Update 7-Zip version 4.65 -> 9.20
 #   Update messages
 #   Change title and prefix names
-# [SuperPlumus] (2013-06-21 21:43)
+# [SuperPlumus] (2014-12-25 11-59)
 #   Clean code
 
+  
+
 [ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+  
 TITLE="7-Zip"
 PREFIX="7zip"
-WORKING_WINE_VERSION="1.3.30"
-
+  
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_Debug_Init
-
-POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "thib25" "$PREFIX"
-
+  
+POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
+  
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "auto"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+POL_Wine_PrefixCreate
+  
 POL_System_TmpCreate "$PREFIX"
-
+  
 POL_Call POL_Install_LunaTheme
-
+  
 cd "$POL_System_TmpDir"
-POL_Download "http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.22/7z922.exe" "441274c321383936860e845bd1eb4340"
+if [ $(uname -m) == x86_64 ]
+then
+POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix "7z920-x64.msi"
+else
+POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "7z922.exe"
+POL_Wine 7z920.exe
+fi
 POL_Wine_WaitExit "$TITLE"
-
+  
 POL_System_TmpDelete
-
+  
 POL_Shortcut "7zFM.exe" "$TITLE"
-
+  
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
  
# Date : (2011-11-06 18-56)
# Last revision : (2014-12-25 11-59)
# Wine version used : System
# Distribution used to test :
# Author : thib25 & Tutul (update) && andykimpe (update)
  
# CHANGELOG
# [SuperPlumus] (2014-12-25 11-59)
#   Update Wine version 1.3.5 -> System
#   Update 7-Zip version 4.65 -> 9.20
#   Update messages
#   Change title and prefix names
# [SuperPlumus] (2014-12-25 11-59)
#   Clean code

  

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
  
TITLE="7-Zip"
PREFIX="7zip"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "andykimpe" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate
  
POL_System_TmpCreate "$PREFIX"
  
POL_Call POL_Install_LunaTheme
  
cd "$POL_System_TmpDir"
if [ $(uname -m) == x86_64 ]
then
POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "7z920-x64.msi"
else
POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
POL_Wine_WaitBefore "$TITLE"
POL_Wine 7z920.exe
fi
POL_Wine_WaitExit "$TITLE"
  
POL_System_TmpDelete
  
POL_Shortcut "7zFM.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Respuestas

andykimpe Monday 30 June 2014 at 22:24
andykimpe Anonymous

Warning

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

Mensajes

Système d'exploitation : Ubuntu 14.04 trusty LTS
Carte graphique :  adm fglrx
Commentaires : Update 9.20 install 64 bit or 32 bit depending on the system

Differences

@@ -1,11 +1,11 @@
 #!/bin/bash
-
+ 
 # Date : (2011-11-06 18-56)
 # Last revision : (2013-06-21 21-43)
-# Wine version used : 1.3.30
+# Wine version used : System
 # Distribution used to test :
-# Author : thib25 & Tutul (update)
-
+# Author : thib25 & Tutul (update) && andykimpe (update)
+ 
 # CHANGELOG
 # [SuperPlumus] (2011-12-12 11:57)
 #   Update Wine version 1.3.5 -> 1.3.30
@@ -15,36 +15,74 @@
 # [SuperPlumus] (2013-06-21 21:43)
 #   Clean code
 
+
+if [ $(uname -m) == x86_64 ]
+then
+
+ 
 [ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="7-Zip"
 PREFIX="7zip"
-WORKING_WINE_VERSION="1.3.30"
-
+ 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "thib25" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "auto"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+POL_Wine_PrefixCreate
+ 
 POL_System_TmpCreate "$PREFIX"
-
+ 
 POL_Call POL_Install_LunaTheme
-
+ 
 cd "$POL_System_TmpDir"
-POL_Download "http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.22/7z922.exe" "441274c321383936860e845bd1eb4340"
+POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "7z922.exe"
+POL_Wine start /unix "7z920-x64.msi"
 POL_Wine_WaitExit "$TITLE"
-
+ 
 POL_System_TmpDelete
-
+ 
 POL_Shortcut "7zFM.exe" "$TITLE"
-
+ 
+POL_SetupWindow_Close
+exit
+else
+[ "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="7-Zip"
+PREFIX="7zip"
+ 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "thib25" "$PREFIX"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "auto"
+POL_Wine_PrefixCreate
+ 
+POL_System_TmpCreate "$PREFIX"
+ 
+POL_Call POL_Install_LunaTheme
+ 
+cd "$POL_System_TmpDir"
+POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "7z920.exe"
+POL_Wine_WaitExit "$TITLE"
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut "7zFM.exe" "$TITLE"
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit
+fi
\ No newline at end of file

New source code

#!/bin/bash
 
# Date : (2011-11-06 18-56)
# Last revision : (2013-06-21 21-43)
# Wine version used : System
# Distribution used to test :
# Author : thib25 & Tutul (update) && andykimpe (update)
 
# CHANGELOG
# [SuperPlumus] (2011-12-12 11:57)
#   Update Wine version 1.3.5 -> 1.3.30
#   Update 7-Zip version 4.65 -> 9.22
#   Update messages
#   Change title and prefix names
# [SuperPlumus] (2013-06-21 21:43)
#   Clean code


if [ $(uname -m) == x86_64 ]
then

 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="7-Zip"
PREFIX="7zip"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "thib25" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate
 
POL_System_TmpCreate "$PREFIX"
 
POL_Call POL_Install_LunaTheme
 
cd "$POL_System_TmpDir"
POL_Download "http://downloads.sourceforge.net/sevenzip/7z920-x64.msi" "cac92727c33bec0a79965c61bbb1c82f"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "7z920-x64.msi"
POL_Wine_WaitExit "$TITLE"
 
POL_System_TmpDelete
 
POL_Shortcut "7zFM.exe" "$TITLE"
 
POL_SetupWindow_Close
exit
else
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="7-Zip"
PREFIX="7zip"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/7zip/top.jpg" "http://files.playonlinux.com/resources/setups/7zip/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "7-Zip" "http://www.7-zip.org" "thib25" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate
 
POL_System_TmpCreate "$PREFIX"
 
POL_Call POL_Install_LunaTheme
 
cd "$POL_System_TmpDir"
POL_Download "http://downloads.sourceforge.net/sevenzip/7z920.exe" "b3fdf6e7b0aecd48ca7e4921773fb606"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "7z920.exe"
POL_Wine_WaitExit "$TITLE"
 
POL_System_TmpDelete
 
POL_Shortcut "7zFM.exe" "$TITLE"
 
POL_SetupWindow_Close
exit
fi

Respuestas

Anonymous
Tuesday 1 July 2014 at 13:37
This code will never be accepted, because of the big "if"
Sunday 2 November 2014 at 15:38
We really shouldn't have this available considering it is a Linux-native app. Lol.