7-Zip

Informations

Creator Message
thib25 Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 221253
Wine: System

Feedbacks

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

Contributions

Filters:

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

Information

This update has been approved by the team.

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

Replies

petch Wednesday 2 September 2015 at 0:49
petch
Developer

Warning

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

Message

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

Replies

petch Tuesday 30 December 2014 at 10:17
petch
Developer

Warning

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

Message

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

Replies

Edited by 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

Replies

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

Message

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

Replies

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.