Hi,
is there any way to set the description depending on a test evaluation.
I want to check if a programm is already installed and want to set different description parts then.
I tried something like this
test.0.0 = %ProgramFiles%\Ahead\Nero\Nero.exe
test.eval.0 = 0
if.true description.0=Nero ( already installed)
if.false description.0=Nero
is there any other way to achieve this?
thx
t2x
Page 1 of 1
setting description depending on test
#2
Posted 15 January 2005 - 07:26 AM
This is currently not supported, but shouldn't be hard too implement.
Will be supported may be in future versions.
Benjamin
Will be supported may be in future versions.
Benjamin
#3
Posted 16 January 2005 - 08:47 AM
Ok, I decided to add this feature and release a new version 2.1.13.0.
Usage example:
Syntax: if.true("your text") and if.false("your text")
This conditionals are allowed in each keyword which accept strings like description.x, command.x, help.x, helptext.x and workdir.x
Please also note:
key.x, file.x, key.comparison.x and file.comparison.x isn't available any more! Please use test.x and test.eval.x instead.
Benjamin Kalytta
Usage example:
[environment]
WmpVersion = %SystemRoot%\System32\wmp.dll?version
[test section]
description = This is the test section description text
test.0.0 = %SystemRoot%\System32\wmp.dll
test.eval.0 = 0
description.0 = Windows Media Player is if.true("already installed.")if.false("not installed yet.")
command.0 = ..\if.true("true.cmd")if.false("false.cmd")
helptext.0 = if.true("It is not necessary to install Windows Media Player because Version %WmpVersion% is already installed.")if.false("You should install Windows Media Player now.")
disabled.0 = if.true
flags.0 = italic:if.false
selected.0 = if.false
Syntax: if.true("your text") and if.false("your text")
This conditionals are allowed in each keyword which accept strings like description.x, command.x, help.x, helptext.x and workdir.x
Please also note:
key.x, file.x, key.comparison.x and file.comparison.x isn't available any more! Please use test.x and test.eval.x instead.
Benjamin Kalytta
Share this topic:
Page 1 of 1



Help
Back to top









