test.x.n = [!]<file>/<key>[?version][><!=]<version/data> test.eval.x = <index>[&|!=]<index>... evaluates the "test.x.n" results disabled.x = if.true/if.false/0/1[,inherit] Example File comparison (Test if version of wmp.dll is greater 9.0.0.3196) test.0.0 = %SystemRoot%\System32\wmp.dll?version>9.0.0.3196 Example File Existence Check (Test if wmp.dll exists) test.0.1 = %SystemRoot%\System32\wmp.dll Example File Non Existence Check test.0.2 = !%SystemRoot%\System32\wmp.dll Example Registry Value Comparison test.0.3 = HKLM:Software\Microsoft\DirectX\Version?>4.09.00.0902 Example Registry Default Value Comparison test.0.4 = HKLM:Software\Microsoft\DirectX\?=Test Example Registry Path Existence Check test.0.5 = HKLM:Software\Microsoft\DirectX\ Example Registry Key Existence Check test.0.6 = HKLM:Software\Microsoft\DirectX\Version Each expression may be negated by prepending ! operator. test.eval.0 = 0 & 1 | 5 & 3 & 2 Above will return true, if test.x.0 AND test.x.1 are true, OR if test.x.5 AND test.x.3 AND test.x.2 are _true_. Remark: Although no braces are supported currently, braces will be implied as follows: test.eval.0 = ((((0 & 1) | 5) & 3) & 2) Following keys may have additional new values "if.true" and "if.false" (also "inherit"): selected.x locked.x hidden.x collapsed.x group.x disabled.x Example: (Will disable item 0 and all it's subitems if comparison result was true) disabled.0 = if.true, inherit Default behaviour: test.eval.x: Is always true if no check.x is specified, i.e. in this case disabled.x = if.true is the same as disabled.x = 1 Remark: locked.x and disabled.x can't be combined!
This keywords are intended to replace current file/registry comparison in future.
It's also possible to load riched text help files for each software item which will be showed in right pane in software selection dialog.
Expectable there will be a keyword help.x = <.rtf file> for this purpose.
Note: This is expectable available in version 2.1.11.2
Benjamin
This post has been edited by BenjaminKalytta: 24 September 2004 - 04:23 PM



Help

Back to top








