userspace:peazip
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| userspace:peazip [2014/05/05 11:15] – created Bela | userspace:peazip [2021/08/23 10:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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:// | ||
| + | |||
| + | The installation file can be downloaded from: http:// | ||
| + | |||
| ==== setup.ins ==== | ==== setup.ins ==== | ||
| + | |||
| <code winst> | <code winst> | ||
| + | |||
| [Initial] | [Initial] | ||
| - | ;Standard Text, der während der Installation angezeigt wird | ||
| Message = Please wait, product is installing... | Message = Please wait, product is installing... | ||
| - | |||
| - | ;Loglevel einstellen | ||
| setLogLevel = 6 | setLogLevel = 6 | ||
| - | |||
| - | ;Bei Fehlern abbrechen | ||
| ExitOnError = false | ExitOnError = false | ||
| - | |||
| - | ;Syntax Fehler werden in einem separaten Fenster angezeigt | ||
| ScriptErrorMessages = on | ScriptErrorMessages = on | ||
| - | |||
| - | ; | ||
| TraceMode = off | TraceMode = off | ||
| - | |||
| - | ;Im Batchmode das Winst-Fenster nicht im Vordergrund anzeigen | ||
| StayOnTop = false | StayOnTop = false | ||
| [Actions] | [Actions] | ||
| - | + | ||
| - | ;Variable für die Ermittlung des Betriebssystems | + | |
| DefVar $OS$ | DefVar $OS$ | ||
| Set $OS$ = GetOS | Set $OS$ = GetOS | ||
| - | |||
| - | ;Variable für die Ermittlung der Betriebssystem Unterversion | ||
| DefVar $NTVersion$ | DefVar $NTVersion$ | ||
| Set $NTVersion$ = GetNTVersion | Set $NTVersion$ = GetNTVersion | ||
| - | |||
| - | ;Die Variable zur Auswertung des ExitCodes | ||
| DefVar $ExitCode$ | DefVar $ExitCode$ | ||
| - | |||
| - | ;Name des Produkts (max. 12 Zeichen) | ||
| DefVar $ProductName$ | DefVar $ProductName$ | ||
| Set $ProductName$ = " | Set $ProductName$ = " | ||
| - | |||
| - | ; | ||
| DefVar $ProductNameFull1$ | DefVar $ProductNameFull1$ | ||
| Set $ProductNameFull1$ = " | Set $ProductNameFull1$ = " | ||
| - | |||
| - | ;Dateiname des Produktbildes mit Erweiterung | ||
| DefVar $ProductPicture$ | DefVar $ProductPicture$ | ||
| Set $ProductPicture$ = " | Set $ProductPicture$ = " | ||
| - | |||
| - | ;Anzeigen der Installationsbenachrichtigung incl. des vollen Produktnamens | ||
| Message " | Message " | ||
| - | |||
| - | ;Prüfen der Winst Version | ||
| requiredWinstVersion >= " | requiredWinstVersion >= " | ||
| - | + | ||
| - | ; | + | |
| ShowBitmap /3 " | ShowBitmap /3 " | ||
| - | + | ||
| - | ;Freien Speicherplatz ermitteln | + | |
| if not (HasMinimumSpace (" | if not (HasMinimumSpace (" | ||
| LogError "Not enough space on %SYSTEMDRIVE%" | LogError "Not enough space on %SYSTEMDRIVE%" | ||
| isFatalError | isFatalError | ||
| endif | endif | ||
| - | + | ||
| - | ;OS-Version ermitteln | + | |
| if ( $NTVersion$ = " | if ( $NTVersion$ = " | ||
| Winbatch_Install | Winbatch_Install | ||
| Line 74: | Line 59: | ||
| [Winbatch_Install] | [Winbatch_Install] | ||
| %SCRIPTPATH%\peazip-5.3.1.WINDOWS.exe /VERYSILENT | %SCRIPTPATH%\peazip-5.3.1.WINDOWS.exe /VERYSILENT | ||
| + | </ | ||
| + | |||
| + | ==== 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$ = " | ||
| + | |||
| + | DefVar $ProductNameFull1$ | ||
| + | set $ProductNameFull1$ = " | ||
| + | |||
| + | DefVar $ProductPicture$ | ||
| + | Set $ProductPicture$ = " | ||
| + | |||
| + | DefVar $ExitCode$ | ||
| + | |||
| + | Message " | ||
| + | |||
| + | ShowBitmap /3 " | ||
| + | |||
| + | DefVar $SystemType$ | ||
| + | Set $SystemType$ = GetSystemType | ||
| + | |||
| + | Winbatch_Uninstall | ||
| + | sub " | ||
| + | |||
| + | [Winbatch_Uninstall] | ||
| + | |||
| + | " | ||
| + | |||
| </ | </ | ||
userspace/peazip.1399281314.txt.gz · Last modified: (external edit)
