kinook
04-08-2003, 08:55 AM
Define a conditional build rule (http://www.kinook.com/VisBuildPro/Manual/buildrules.htm) to build if [vbld_FSO.FileExists("C:\Path\To\File.ext")] is true (replace FileExists with FolderExists to test for folders). When building the project, if the file/folder exists, the rule will evaluate to -1 (True), and the step will be executed, otherwise it will evaluate to 0 and be skipped. To perform steps in both cases ("if" and "else"), use is false for the else condition (see the Advanced.bld (http://www.kinook.com/VisBuildPro/Manual/advancedsample.htm) sample for a demonstration).