We need you!

Icon

The IzPack documentation needs work, and you are invited to edit it!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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

family

The parent element will only be applied when installing on this OS Family to restrict to

no

"unix" | "windows" | "mac"

nameExact

The parent element will only be applied when installing on this exact OS name to restrict to

no

Valid OS name defined by the OS vendor, for example "Windows XP" or "Linux"

version

Exact 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

arch

System The parent element will only be applied when installing on this system architecture/processor to restrict to (see the Java os.arch system property)

no

Valid OS architecture

A List of known OS names and architectures can be found here

Using OS Restrictions

The following example says that the <executable> element only applies when the installation is being done on a unix-like operating system.

...