Maelstorm Posted March 24, 2005 Share Posted March 24, 2005 Is there a way to specify conditional execution of items in XPlode? The docs don't make any mention of it, and there really isn't a alot of forum posts on the subject either.I'm thinking something like this:<execute> <program>Program1.exe</program> <condition>REG:\HKLM\Software\Custom\Install\program1.exe=1</condition> <arguments>/silent</arguments> <hide>true</hide> <wait>true</wait></execute>I really don't care what form the conditional is in, but it would be nice to have this functionality as it currently seems there is no way to do this.Other keywords to use would be ENV for environment and FILE for file that would take on the following forms:<condition>ENV:INSTPROG=TRUE</condition><condition>FILE:%INSTALL%\FILE1.TXT=Program1.exe</condition>The ENV keyword would test if an evnironment variable was equal to some value and the FILE keyword would test if a file existed or if the file had the specified line using something similar to a grep function.That's my request anyways. I'm not above writing this code myself, I can to it, but it will take me awhile to analyze your source and determine where to add the additional keywords and their actions. Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now