Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-09-2005, 06: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-10-2005, 12:58 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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


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 08:12 PM.


Copyright © 1999-2023 Kinook Software, Inc.