This shows you the differences between two versions of the page.
userspace:peazip [2014/05/05 09:18] Bela |
userspace:peazip [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== setup.ins ==== | ||
- | <code winst> | ||
- | |||
- | [Initial] | ||
- | |||
- | Message = Please wait, product is installing... | ||
- | setLogLevel = 6 | ||
- | ExitOnError = false | ||
- | ScriptErrorMessages = on | ||
- | TraceMode = off | ||
- | StayOnTop = false | ||
- | |||
- | [Actions] | ||
- | |||
- | DefVar $OS$ | ||
- | Set $OS$ = GetOS | ||
- | DefVar $NTVersion$ | ||
- | Set $NTVersion$ = GetNTVersion | ||
- | DefVar $ExitCode$ | ||
- | DefVar $ProductName$ | ||
- | Set $ProductName$ = " | ||
- | DefVar $ProductNameFull1$ | ||
- | Set $ProductNameFull1$ = " | ||
- | DefVar $ProductPicture$ | ||
- | Set $ProductPicture$ = " | ||
- | Message " | ||
- | requiredWinstVersion >= " | ||
- | |||
- | ShowBitmap /3 " | ||
- | |||
- | if not (HasMinimumSpace (" | ||
- | LogError "Not enough space on %SYSTEMDRIVE%" | ||
- | isFatalError | ||
- | endif | ||
- | |||
- | if ( $NTVersion$ = " | ||
- | Winbatch_Install | ||
- | sub " | ||
- | |||
- | else | ||
- | LogError " | ||
- | isFatalError | ||
- | endif | ||
- | |||
- | |||
- | [Winbatch_Install] | ||
- | %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] | ||
- | |||
- | " | ||
- | |||
- | </ |