Execute specific actions for a platform using a <platformTest> rule

asked 14 Sep '11, 07:45

Jake's gravatar image

Jake ♦♦
accept rate: 98%

You can enable or disable actions based on the platform in which the installer is running using a <platformTest>:

    <!-- Execute myProgram.exe just on 32bits Windows -->
            <platformTest type="windows"/>
            <platformTest type="windows-x64" negate="1"/>

    <!-- Execute myProgram.bin on Unix systems -->
            <platformTest type="unix"/>

You can find the complete list of types for the <platformTest> rule in this article.


answered 14 Sep '11, 07:49

Jake's gravatar image

Jake ♦♦
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



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



Asked: 14 Sep '11, 07:45

Seen: 1,345 times

Last updated: 14 Sep '11, 07:49