Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-09-2005, 05:25 PM
lherz lherz is online now
Registered User
 
Join Date: 07-21-2005
Posts: 15
Process Files Question

I am trying to COM register a directory of files, with a twist. I need to exclude files that match a name pattern from being registered, but only if the condition of a specific macro is true. That is, I need to process all .dll files. If the %EXCLUDE_CLAIMS% macro evaluates to true, I will need to exclude any files with claim in the name.

I have tried using the step_Starting function and can determine when to skip the registration, but I need a way to exit the step if the condition evaluation requires it.
Reply With Quote
  #2  
Old 12-09-2005, 11:58 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,008
If I understand you correctly, it sounds like you want to process all files with a DLL extension, but sometimes exclude DLLs containing 'claim' in their name. One way to do that would be put *.dll in the Include field and this script expression in the Exclude field:

[vbld_IIf(%EXCLUDE_CLAIMS%, "*claim*", "")]
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off



All times are GMT -5. The time now is 04:01 PM.


Copyright © 1999-2023 Kinook Software, Inc.