January 15, 200521 yr 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 thistest.0.0 = %ProgramFiles%\Ahead\Nero\Nero.exetest.eval.0 = 0if.true description.0=Nero ( already installed)if.false description.0=Nerois there any other way to achieve this?thx t2x
January 15, 200521 yr This is currently not supported, but shouldn't be hard too implement.Will be supported may be in future versions.Benjamin
January 16, 200521 yr Ok, I decided to add this feature and release a new version 2.1.13.0.Usage example:[environment]WmpVersion = %SystemRoot%\System32\wmp.dll?version[test section]description = This is the test section description texttest.0.0 = %SystemRoot%\System32\wmp.dlltest.eval.0 = 0description.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.trueflags.0 = italic:if.falseselected.0 = if.falseSyntax: 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.xPlease 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
Create an account or sign in to comment