...
Although each attribute is not required, it makes no sense to include <os> unless you specify at least one of family, name or arch. If <os> is specified with none of these, the parent element will be ignored in all installation environments.
Attribute | Description | Required | Values |
---|---|---|---|
| The parent element will only be applied when installing on this OS Family | no | "unix" | "windows" | "mac" |
| The parent element will only be applied when installing on this exact OS name | no | Valid OS name defined by the OS vendor, for example "Windows XP" or "Linux" |
| The parent element will only be applied when installing on this exact OS version (see the Java os.version system property) | no | Valid OS version |
| The parent element will only be applied when installing on this system architecture/processor (see the Java os.arch system property) | no | Valid OS architecture |
A List of known OS names and architectures can be found here
...
Code Block |
---|
<packs> (...) <pack name="Core" required="yes"> (...) <executable targetfile="$INSTALL_PATH/bin/compile" stage="never"> <os family="windowsmac"/> <os family="linux"/> </executable> (...) </pack> (...) </packs> |
...