Archive: Conditional FILE statements...


Conditional FILE statements...
Is there any way to include ONLY files newer than a (potentially hardcoded) date? I don't mean during install time (where the setOverwrite = ifNewer does the same thing) but during compile time.

Actually, coming from C++ I really miss something like:

File /r [Mydir]\*.* onCondition=foo();

bool Function foo
{
if ( FileLocalTime > FixedDate )
return true;
else
return false;
}

Would work for string comarisons and who knows what...

Kjella


how can you compile files that are unknown?I'm sure this is a runtime thing..you can do all kinds of things runtime.


If you use cvs or a similar product to vesion control your releases then you woulddn't require this functionality.

Anyways use an install that compares the files and builds a master list which it's child install could then use.