...
Files must be first added to the pack using <singlefile>
, <file>
or <fileset>
before they can be marked parsable.
...
The <executable>
tag is a very useful thing if you need to execute something during the installation process. It can also be used to set the executable flag on Unix-like systems.
Files must be first added to the pack using <singlefile>
, <file>
or <fileset>
before they can be marked executable.
Attributes
Attribute | Description | Required | Values |
---|---|---|---|
| the file to run, could be something like | yes | A previously added pack file path |
|
| no | "bin" | "jar" |
| If the executable is a jar file, this is the class to run for a Java program | no | A valid Java class within the jar file |
| Specifies at which stage when to launch the executable:
| no | "never" | "postinstall" | "uninstall" |
| specifies what to do when an error occurs:
| no | "ask" | "abort" | "warn" | "ignore" |
| specifies the operating system, works like for | no |
|
| Whether the file will be kept after execution | no | "true" | "false" |
| ID of a condition which has to be fulfilled to execute this file | no | A valid condition ID |
...