Jump to content

New features in version 2.1.11


BenjaminKalytta

What do you think about new file/registry comparison feature?  

11 members have voted

  1. 1. What do you think about new file/registry comparison feature?

    • This is better than current one
      4
    • Current one is better (please argue)
      0
    • Should be extended
      2


Recommended Posts

Following new INI keywords are available in version 2.1.11:

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

Edited by BenjaminKalytta
Link to comment
Share on other sites


Hello Benjamin,

Good work with this new syntax, devinitively better than the previous one

But after a few test I've maybe identified a bug

Based on ini below (please note that the registry key is set to 1 on my computer)

[New test system]collapsed = 0

selected = 0

description.0 = Test 1

command.0 = calc.exe

test.0.0 = HKCU:Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ClearRecentDocsOnExit?=0

test.eval.0 = 0

selected.0 = if.true

description.1 = Test 2

command.1 = regedit.exe

test.1.0 = HKCU:Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ClearRecentDocsOnExit?=1

test.eval.1 = 0

selected.1 = if.true

Regedit should be launched without doing anything while Test2 is selected by default, but it's not the case.

It work only if I uncheck and recheck manually the Test2 line...

My mistake, I left the exemple if another one do the same mistake.

This works

[New test system]collapsed = 0

description.0 = Test 1

command.0 = calc.exe

test.0.0 = HKCU:Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ClearRecentDocsOnExit?=0

test.eval.0 = 0

selected.0 = if.true

description.1 = Test 2

command.1 = regedit.exe

test.1.0 = HKCU:Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ClearRecentDocsOnExit?=1

test.eval.1 = 0

selected.1 = if.true

Just removed selected=0 at the begining
Link to comment
Share on other sites

I released test version 2.1.11.3. help.x and help are available. Everything works except images and other OLE objects which wont be loaded currently. (If someone could give me a hint how to do this don't hesitate)

New [settings] "SplitterPos" was added to control the position of the software selection splitbar between help panel and software items panel. Allowed values are 0...100 (in percent).

Please also note: Don't use UNICODE RTF files, use UTF-8 or ANSI instead.

Benjamin

Link to comment
Share on other sites

Help file work well, including images, but I got a problem with the link.

It seem recognised as a link (mouse pointer change on crossover) but nothing appen when I click.

Same problem for all link tested, including the default one provided for wihu site.

Not so shure it's a wihu problem or my config, but if someone can do a testing, this woud be helpfull.

Benjamin,

Is it possible to edit the default rtf file, no to remove your crédits :D but my indend is to put "No help available" on all items not having a help file.

XPect

Link to comment
Share on other sites

My browser is IE6

I'm quite shure it come from my settings.

Probably come from a deactivated service, several testings to do... :wacko:

Question: If you open an RTF file in wordpad on your machine, does the link is functional by control click ? (not the case for me).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...