Community Forums
Results 1 to 3 of 3

Thread: Conditional Builder

  1. #1
    AgRichard Guest

    Conditional Builder

    Can anyone help me with the syntax for the Componenet Conditional Builder...The Help Files and documentation lacks the information I need....

    I want to install my component if two specific Features are Selected.....

    BloomerVille has suggested this is possible, with the following e.g.
    (&FeatureA=3) AND (&FeatureB=3)

    Is this how I specify "features"
    I have tried, it does not work.

    If the features are :-
    golf
    tennis

    How do I structure the Conditional Statement...??

    Thanks.....

  2. #2
    Join Date
    Feb 2002
    Location
    NY
    Posts
    95
    what &FeatureA=3 means is that feature A is moving from an state of not installed to a state of to be installed. Essentially, this means that the feature was selected and marked for installation. I am not sure why this did not work for you. I use similar conditions on numerous components so that they are only installed in specific situations. I have had no problems. Maybe if you could provide me with more information I could help. I.e. Your exact conditions statement.

  3. #3
    Join Date
    Feb 2002
    Location
    Ottawa, Canada
    Posts
    32
    To conditional build, you can use Preprocessor statement.

    In your script,
    #ifdef XXX

    #endif

    In Settings of Build,
    type XXX in Preprocess Defines of Compile tab.

    I use this way to build 8 type CDs from on project.

    I hope it helpful for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •