XPect
Content Type
Profiles
Forums
Events
Posts posted by XPect
-
-
Abilon to big to be posted here so I join you dirkey where I got the same problem.
Here is the script:
[Test]selected=0description.0 = Dirkey version Test
command.0 = Some command
file.0.0 = %programfiles%\Dirkey2\dirkey.exe?>2.0.2.4018
But I think I made a mistake in the way I do the check.
The version of the instaled program is 2.0.2.4019 so comparing with 2.0.2.4018, the result is TRUE. In this case, the description should be with the cross line or normal ?
I'm a bit confused
On the tests I've done
file.0.0 = %programfiles%\Dirkey2\dirkey.exe?>2.0.2.4020
Line not crossed
file.0.0 = %programfiles%\Dirkey2\dirkey.exe?>2.0.2.4019
Line crossed
file.0.0 = %programfiles%\Dirkey2\dirkey.exe?>2.0.2.4018
Line crossed
So I don't understand why while comparing with 4019 tha line is crossed
0 -
I definitely like this app
I now trying to get the maximum from it and I'm now stuck with file version testing.
My purpose is to check the presence (and the version) of each program. For this, I mainly use the file version check rather than registry keys.
The problem I got is that the checking seem to be done only on the 1st digit of the version.
With the code below:
[Test]selected=0description.0 = File version Test
command.0 = Some command
file.0.0 = %programfiles%\Abilon\Abilon.exe?1.0.1.0
The result is the same whatever I check version 1.0.1.0 or only 1 (same result with operator ?>) It seem that the check is done only on the 1st digit only.
I use version 2.1.10.0, is this a bug or a syntax error ?
0 -
That's it, thanks for your quick response.
It's just a presentation issue, not a problem for me.
You've done a really good job. Good luck for your studies.
0 -
I don't really know if this is a bug or a miss in my syntax.
What I whant to do is to allow the installation of a codec pack or individually select the codec to be installed.
ini file:
[Test]selected=0description.0 = Codecs
command.0 = *
group.0 = 1
description.0.0 = The Codecs pack
command.0.0 = command line to install pack
description.0.1 = Individual installation
command.0.1 = *
description.0.1.0 = DivX 5
command.0.1.0 = command line to install DivX 5
description.0.1.1 = XVid
command.0.1.1 = command line to install XVid
The problem come when I select the individual installation, then the codec pack, the individual codecs, in this case DivX5 and XVid stay checked...
Maybe I missed something in the syntax
0
Problem in file version testing
in WIHU
Posted
That's what I was thinking, I've misunderstud the logic beyong.
I will change my settings to reflect this.
Thanks again for your help.
PS: any chance to have some day the impossibility to check an item if the existing version is the same or newer ?
See that after your studdies...