MSFN Forum: New features in version 2.1.11 - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

New features in version 2.1.11 Rate Topic: -----

Poll: What do you think about new file/registry comparison feature? (11 member(s) have cast votes)

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

  1. This is better than current one (4 votes [66.67%])

    Percentage of vote: 66.67%

  2. Current one is better (please argue) (0 votes [0.00%])

    Percentage of vote: 0.00%

  3. Should be extended (2 votes [33.33%])

    Percentage of vote: 33.33%

Vote Guests cannot vote

#1 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 23 September 2004 - 04:06 PM

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

This post has been edited by BenjaminKalytta: 24 September 2004 - 04:23 PM



#2 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 24 September 2004 - 11:03 AM

That's a really good news :yes:

Good job, I will test it tonight.

Thanks

PS: I reverve my vote since the test is done, but sound better anyway :thumbup

#3 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 24 September 2004 - 01:34 PM

XPect said:

Good job, I will test it tonight


Not so fast, Im currently working on it. Will be ready tonight or tomorrow. rtf help file option will take a bit longer.

Benjamin

#4 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 24 September 2004 - 03:04 PM

So I released 2.1.11.2. test.x.n and test.eval.x and each new keyword except help.x is already available.

Benjamin Kalytta

#5 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 25 September 2004 - 02:27 PM

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)

Quote

[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

Quote

[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

#6 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 25 September 2004 - 04:52 PM

... but note, if "ClearRecentDocsOnExit" key wouldn't exists, it both always return false!

Benjamin

#7 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 25 September 2004 - 04:59 PM

OK good tips, could be helpfull for the next steps.

Thanks again fo the time spent.

XPect

#8 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 25 September 2004 - 06:41 PM

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

#9 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 26 September 2004 - 06:30 AM

And new release again. 2.1.11.4.
Everything works now.

Benjamin

#10 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 06:56 AM

You're faster than light :thumbup

I'll test this

XPect

#11 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 07:25 AM

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

#12 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 26 September 2004 - 08:11 AM

Just double click on the link ;)

XPect said:

Is it possible to edit the default rtf file,

Yes Im planing to add this feature. There will be a defaulthelp keyword in [settings] may be.

Benjamin

#13 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 08:39 AM

Double click don't work either, just select one word in the link (tried both on your default link and on my links).
I'm cheeking my IE settings anyway, but can't find the reason yet.

#14 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 26 September 2004 - 11:25 AM

I don't know what you are doing, double click works here. What web browser is your default browser? May be there could be a problem.
Btw. "defaulthelp=myfile.rtf" works now.

Benjamin

#15 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 12:02 PM

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).

#16 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 26 September 2004 - 12:37 PM

Please test new version, it should work there.
New keyword flags.x was added to set text formating style. Allowed values are a combination of "italic", "bold", "underline", "striked" or "italic:if.true", "italic:if.false" ...

Benjamin

This post has been edited by BenjaminKalytta: 26 September 2004 - 06:11 PM


#17 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 27 September 2004 - 01:22 AM

Hello Benjamin,

Just to let you know that URL tested on another computer work fine by ctrl click :thumbup

XPect

#18 User is offline   golan 

  • Group: Members
  • Posts: 9
  • Joined: 03-September 04

Posted 02 October 2004 - 01:17 PM

Benjamin,
The new features look great :thumbup

You made my wishes come true :D

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy