This shows you the differences between two versions of the page.
userspace:peazip [2014/05/05 09:15] Bela created |
userspace:peazip [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== setup.ins ==== | ||
- | <code winst> | ||
- | [Initial] | ||
- | |||
- | ;Standard Text, der während der Installation angezeigt wird | ||
- | Message = Please wait, product is installing... | ||
- | ;Loglevel einstellen | ||
- | setLogLevel = 6 | ||
- | |||
- | ;Bei Fehlern abbrechen | ||
- | ExitOnError = false | ||
- | |||
- | ;Syntax Fehler werden in einem separaten Fenster angezeigt | ||
- | ScriptErrorMessages = on | ||
- | |||
- | ; | ||
- | TraceMode = off | ||
- | |||
- | ;Im Batchmode das Winst-Fenster nicht im Vordergrund anzeigen | ||
- | StayOnTop = false | ||
- | |||
- | [Actions] | ||
- | |||
- | ;Variable für die Ermittlung des Betriebssystems | ||
- | DefVar $OS$ | ||
- | Set $OS$ = GetOS | ||
- | |||
- | ;Variable für die Ermittlung der Betriebssystem Unterversion | ||
- | DefVar $NTVersion$ | ||
- | Set $NTVersion$ = GetNTVersion | ||
- | |||
- | ;Die Variable zur Auswertung des ExitCodes | ||
- | DefVar $ExitCode$ | ||
- | |||
- | ;Name des Produkts (max. 12 Zeichen) | ||
- | DefVar $ProductName$ | ||
- | Set $ProductName$ = " | ||
- | |||
- | ; | ||
- | DefVar $ProductNameFull1$ | ||
- | Set $ProductNameFull1$ = " | ||
- | |||
- | ;Dateiname des Produktbildes mit Erweiterung | ||
- | DefVar $ProductPicture$ | ||
- | Set $ProductPicture$ = " | ||
- | |||
- | ;Anzeigen der Installationsbenachrichtigung incl. des vollen Produktnamens | ||
- | Message " | ||
- | |||
- | ;Prüfen der Winst Version | ||
- | requiredWinstVersion >= " | ||
- | |||
- | ; | ||
- | ShowBitmap /3 " | ||
- | |||
- | ;Freien Speicherplatz ermitteln | ||
- | if not (HasMinimumSpace (" | ||
- | LogError "Not enough space on %SYSTEMDRIVE%" | ||
- | isFatalError | ||
- | endif | ||
- | |||
- | ;OS-Version ermitteln | ||
- | if ( $NTVersion$ = " | ||
- | Winbatch_Install | ||
- | sub " | ||
- | |||
- | else | ||
- | LogError " | ||
- | isFatalError | ||
- | endif | ||
- | |||
- | |||
- | [Winbatch_Install] | ||
- | %SCRIPTPATH%\peazip-5.3.1.WINDOWS.exe /VERYSILENT | ||
- | </ |