userspace:peazip
This is an old revision of the document!
setup.ins
[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$ = "Peazip"
DefVar $ProductNameFull1$
Set $ProductNameFull1$ = "Peazip 5.3.1"
DefVar $ProductPicture$
Set $ProductPicture$ = "peazip.png"
Message "Installing "+$ProductNameFull1$
requiredWinstVersion >= "4.10"
ShowBitmap /3 "%scriptpath%\" + $ProductPicture$ $ProductName$
if not (HasMinimumSpace ("%SYSTEMDRIVE%", "20 MB"))
LogError "Not enough space on %SYSTEMDRIVE%"
isFatalError
endif
if ( $NTVersion$ = "Win2K" OR $NTVersion$ = "WinXP" OR $NTVersion$ = "Win NT 5.2" OR $NTVersion$ = "Windows Vista" )
Winbatch_Install
sub "%ScriptDrive%\install\check_exitcode\check_innosetup-exitcode.ins"
else
LogError "Incompatible system"
isFatalError
endif
[Winbatch_Install]
%SCRIPTPATH%\peazip-5.3.1.WINDOWS.exe /VERYSILENT
userspace/peazip.1399281415.txt.gz · Last modified: (external edit)
