Can I group certain actions together?

asked 12 Sep '11, 07:37

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


You can make the installer perform certain actions based on a set of rules using an <actionGroup> section. This will execute more than one action based on the same set of rules. See the conditional evaluation section in the documentation for details on rule-based execution of actions. You will have to include a section like the one below inside an action list section of your XML installer project file.

      <actionGroup>
          <actionList>
          <setInstallerVariable>
              <name>installapache</name>
              <value>1</value>
          </setInstallerVariable>
          <setInstallerVariable>
              <name>installtomcat</name>
              <value>1</value>
          </setInstallerVariable>
          </actionList>
          <ruleList>
             <compareText>
                 <text>${installtype}</text>
                 <logic>equals</logic>
                 <value>server</value>
             </compareText>
          </ruleList>
      </actionGroup>
link

answered 12 Sep '11, 07:38

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×14
×11

Asked: 12 Sep '11, 07:37

Seen: 1,515 times

Last updated: 12 Sep '11, 07:38