This shows you the differences between two versions of the page.
userspace:freecommander [2014/05/07 08:38] Bela |
userspace:freecommander [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Freecommander XE ====== | ||
- | 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 FreeCommander XE \\ | ||
- | |||
- | This script uses the check_innosetup-exitcode script: https:// | ||
- | |||
- | The installation file can be downloaded from: http:// | ||
- | |||
- | ==== 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%\FreeCommanderXE_setup.exe /VERYSILENT /SP- /NORESTART | ||
- | </ | ||
- | |||
- | ==== 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] | ||
- | |||
- | " | ||
- | |||
- | </ |