t2x Posted January 15, 2005 Posted January 15, 2005 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
BenjaminKalytta Posted January 15, 2005 Posted January 15, 2005 This is currently not supported, but shouldn't be hard too implement.Will be supported may be in future versions.Benjamin
BenjaminKalytta Posted January 16, 2005 Posted January 16, 2005 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now