This shows you the differences between two versions of the page.
userspace:grepwin [2013/04/17 11:59] adlerweb created |
userspace:grepwin [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== grepWin Ver. 1.6.466 ====== | ||
- | |||
- | * Tested with opsi 4.0.3.x | ||
- | * requiredWinstVersion >= 4.10.8.6 | ||
- | * Files can be downloaded at http:// | ||
- | |||
- | Note: Homepage and setup says 1.6.0, registry however records it as 1.6.466 | ||
- | |||
- | By --- // | ||
- | |||
- | Tree:\\ | ||
- | < | ||
- | delsub.ins | ||
- | grepwin.png | ||
- | grepWin-1.6.0.msi | ||
- | grepWin-1.6.0-64.msi | ||
- | setup.ins | ||
- | uninstall.ins | ||
- | </ | ||
- | |||
- | ==== setup.ins ==== | ||
- | <code winst> | ||
- | [Actions] | ||
- | requiredWinstVersion >= " | ||
- | |||
- | DefVar $ProductId$ | ||
- | DefVar $MinimumSpace$ | ||
- | DefVar $LogDir$ | ||
- | DefVar $INST_SystemType$ | ||
- | DefVar $UninstallCommand$ | ||
- | |||
- | Set $ProductId$ | ||
- | Set $MinimumSpace$ | ||
- | |||
- | ShowBitmap " | ||
- | |||
- | Set $LogDir$ = " | ||
- | Set $INST_SystemType$ = GetSystemType | ||
- | |||
- | if not(HasMinimumSpace (" | ||
- | LogError "Not enough space on %SystemDrive%, | ||
- | isFatalError | ||
- | ; Stop process and set installation status to failed | ||
- | else | ||
- | if FileExists(" | ||
- | comment "Start uninstall sub section" | ||
- | Sub " | ||
- | endif | ||
- | |||
- | comment " | ||
- | |||
- | comment "Start setup program" | ||
- | if ($INST_SystemType$ = "x86 System" | ||
- | Message " | ||
- | Winbatch_install_32 | ||
- | endif | ||
- | |||
- | if ($INST_SystemType$ = "64 Bit System" | ||
- | Message " | ||
- | Winbatch_install_64 | ||
- | endif | ||
- | |||
- | endif | ||
- | |||
- | [Winbatch_install_32] | ||
- | | ||
- | |||
- | [Winbatch_install_64] | ||
- | | ||
- | |||
- | </ | ||
- | |||
- | ==== uninstall.ins ==== | ||
- | <code winst> | ||
- | [Actions] | ||
- | |||
- | DefVar $ProductId$ | ||
- | DefVar $LogDir$ | ||
- | DefVar $UninstallCommand$ | ||
- | |||
- | Set $LogDir$ = " | ||
- | Set $ProductId$ | ||
- | |||
- | requiredWinstVersion >= " | ||
- | |||
- | Message " | ||
- | ShowBitmap " | ||
- | |||
- | if FileExists(" | ||
- | comment "Start uninstall sub section" | ||
- | Sub " | ||
- | endif | ||
- | </ | ||
- | |||
- | ==== delsub.ins ==== | ||
- | <code winst> | ||
- | ;1.6.466 64 Bit | ||
- | if not (GetRegistryStringValue64(" | ||
- | set $UninstallCommand$ = " | ||
- | Winbatch_uninstall | ||
- | endif | ||
- | |||
- | ;1.6.466 32 Bit | ||
- | if not (GetRegistryStringValue32(" | ||
- | set $UninstallCommand$ = " | ||
- | Winbatch_uninstall | ||
- | endif | ||
- | |||
- | [Winbatch_uninstall] | ||
- | | ||
- | </ | ||
- | |||