Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 23rd August 2004, 13:40   #1
Kjella
Junior Member
 
Join Date: Aug 2004
Posts: 1
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
Kjella is offline   Reply With Quote
Old 24th August 2004, 16:14   #2
razor_x
Member
 
Join Date: Feb 2004
Posts: 58
how can you compile files that are unknown?I'm sure this is a runtime thing..you can do all kinds of things runtime.
razor_x is offline   Reply With Quote
Old 24th August 2004, 19:39   #3
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
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.
zimsms is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump