-
Notifications
You must be signed in to change notification settings - Fork 24
Autopackage package Rule
Contains general information about a CoApp package.
###Parameter None
###Number in .autopkg file 1
###Properties
###name
The name of the package. The name of the package may only
contain the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_-.
If you'd like users to see a less restrictive name, the display-name property is used.
###version
Version of the package. The version must be in one of two formats:
- w.x.y.z - where w and x each must be a integer between 0 and 255 and y and y and z each must be an integer between 0 and 65535. Any missing parts of the version will assumed to be zeros. For example: if the developer sets version to '6', autopackage assumes they mean '6.0.0.0'.
- auto - the version will come from the embedded file version of the first (from the top) assembly rule or exe-file rule found in the file (the first binary file). If the file contains neither rule or an embedded version isn't found in the first binary file, an error is thrown.
If the version property is missing, auto will be assumed.
If you'd like users to see a less restrictive version, the author-version property is used. ###arch The processor architecture of the package. The following values are valid:
- x86 - the 32-bit x86 architecture
- x64 - the 64-bit extended version of the x86 architecture (x86-64 or amd64)
- any - architecture independent (Most .NET related packages will use this)
- auto - the architecture will come from the architecture of the first (from the top) assembly rule or exe-file rule found in the file (the first binary file). If the file contains neither rule or an architecture can't be deduced from the first binary file, an error is thrown.
If the arch property is missing, auto will be assumed. ###icon File path to an icon for the package. The icon must be a portable network graphics (PNG) file with dimensions of 256x256.
The icon property is optional. ###display-name The preferred name of the package seen by the end-user. For example, while the name of the Java Development Kit might be jdk it's display-name might be Java Development Kit.
The display-name property is optional. ###description The file path to an html file describing the package. The user will see this in the package manager (eventually).
The description property is optional. ###short-desc The file path to a text file containing a short description of the package. The user will see this in the package manager (eventually). The short description must be no longer than 160 characters.
The short-desc property is optional.
###author-version
A less restrictive version of the package. For example, while Windows Vista's version would be 6.0.0.0, its author-version would be Vista.
###publish-date
The date that the package is published on. Any format which can be parsed by the .NET Framework System.DateTime.Parse
method is allowed.
If no publish-date is provided, the current date will be used. ###license The file path to a text file containing the license for the package.
license is optional but STRONGLY recommended. ###license-url The url to an online version of the license.
license-url is optional and is only allowed when license has also been specified. ###orig-location The direct url to download the package.
orig-location is optional. ###feed-location The url for a CoApp package feed where the package can be found.
feed-location is optional.
###binding-min The version number of the lowest version of the package this package is equivalent to and replaces. For example, since JREv6 update 25 (6.0.250.0) is binary compatible with any previous JREv6 version, JREv6 update 25's binding-min would be 6.0.0.0.
binding-min is optional.
###binding-max The version number of the highest version of the package this package is equivalent to and replaces. For example, since JREv6 update 25 (6.0.250.0) is binary compatible with any previous JREv6 version and the version number for JREv6 update 24 was 6.0.240.0, binding-max would be 6.0.240.0.
binding-max is optional.