User Tools

Site Tools


userspace:peazip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userspace:peazip [2014/05/05 09:16]
Bela
userspace:peazip [2021/08/23 08:37] (current)
Line 1: Line 1:
 +====== Peazip 5.3.1 ======
 +Script By Bela Bodon \\
 +Tested with opsi 4.0.1 \\
 +Tested with opsi-winst 4.10.x - 4.11.1.6 \\
 +Tested with Windows XP Professional and Windows 7 Ultimate x86/x64 \\
 +
 +Installation / Uninstallation Script for Peazip \\
 +
 +This script uses the check_innosetup-exitcode script: https://forum.opsi.org/wiki/userspace:check_innosetup-exitcode \\
 +
 +The installation file can be downloaded from: http://peazip.sourceforge.net/
 +
 ==== setup.ins ==== ==== setup.ins ====
  
Line 47: Line 59:
 [Winbatch_Install] [Winbatch_Install]
  %SCRIPTPATH%\peazip-5.3.1.WINDOWS.exe /VERYSILENT  %SCRIPTPATH%\peazip-5.3.1.WINDOWS.exe /VERYSILENT
 +</code>
 +
 +==== uninstall.ins ====
 +
 +<code winst>
 +
 +[Initial]
 +
 + Message = Please wait, product is uninstalling...
 + setLogLevel = 6
 + ExitOnError = false
 + ScriptErrorMessages = on
 + TraceMode = off
 + StayOnTop = false
 +
 +[Actions]
 +
 + DefVar $ProductName$
 + Set $ProductName$ = "Peazip"
 +
 + DefVar $ProductNameFull1$
 + set $ProductNameFull1$ = "Peazip 5.3.1"
 +
 + DefVar $ProductPicture$
 + Set $ProductPicture$ = "peazip.png"
 +
 + DefVar $ExitCode$
 +
 + Message "Uninstalling "+$ProductNameFull1$
 +
 + ShowBitmap /3 "%scriptpath%\" + $ProductPicture$ $ProductName$
 +
 + DefVar $SystemType$
 + Set $SystemType$ = GetSystemType
 +
 +Winbatch_Uninstall
 + sub "%ScriptDrive%\install\check_exitcode\check_innosetup-exitcode.ins"
 +
 +[Winbatch_Uninstall]
 + 
 + "%ProgramFilesSysnativeDir%\PeaZip\unins000.exe" /VERYSILENT /NORESTART
 + 
 </code> </code>
userspace/peazip.1399281415.txt.gz ยท Last modified: 2021/08/23 08:37 (external edit)