Vous êtes ici

7-Zip

Informations

Créateur Messages
thib25 Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 340017
Wine: 5.0.2

Retours d'expérience

Description

Archiving tool, supports multiple archives files formats. WebsiteWikipedia.

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

Code source

#!/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:

Contribuer
Membre Messages
morrissel311 Jeudi 9 Décembre 2021 à 16:50
morrissel311 Anonymous

Messages

This code will never be accepted panorama charter

 19216811.bid

Réponses

Dadu042 Mardi 22 September 2020 à 15:04
Dadu042

Information

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

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Jeudi 14 Octobre 2021 à 14:45
Hi there! Thank you for this information!! :)))
Yaotl Mardi 4 Aoüt 2020 à 8:56
Yaotl Anonymous

Warning

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

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

Nouveau code source

#!/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

Réponses

Mardi 4 Aoüt 2020 à 13:13
Script approved.
redhound Mercredi 1 Avril 2020 à 21:55
redhound Anonymous

Messages

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/

Réponses

p-90-for-retail Samedi 3 Mars 2018 à 8:26
p-90-for-retail

Warning

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

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

Nouveau code source

#!/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

Réponses

petch Mercredi 2 September 2015 à 0:49
petch

Warning

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

Messages

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"

Nouveau code source

#!/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

Réponses

petch Mardi 30 Décembre 2014 à 10:17
petch

Warning

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

Messages

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"

Nouveau code source

#!/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

Réponses

Edité par petch

andykimpe Jeudi 25 Décembre 2014 à 12:00
andykimpe Anonymous

Warning

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

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

Nouveau code source

#!/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

Réponses

andykimpe Lundi 30 Juin 2014 à 22:24
andykimpe Anonymous

Warning

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

Messages

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

Nouveau code source

#!/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

Réponses

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

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