0
edits
Changes
added package to install version based on host attributes
|}
== Installing according to host attributes ==
The package below simplifies installing different versions according to host attributes.
For instance, Adobe Reader X is only supported on Windows XP and above, so for Windows 2000 Adobe Reader 9 must be installed.<br/>
The package below highly simplifies this, since you only apply one package to all hosts, which determines the version to install.
<source lang="xml">
<package
id="AdobeReader"
name="AdobeReader"
revision="2012.01.01"
reboot="false"
priority="10"
execute="once">
<!-- install version 9 on Windows 2000 -->
<include package-id="AdobeReader9" os="5\.0\.\d{4}"/>
<!-- install version 10 on Windows XP and above -->
<include package-id="AdobeReader10" os="(5\.[1-9]|6\.\d)\.\d{4}"/>
</package>
</source>
== Adobe Reader X ==