Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Autopackage sharedlib Rule

Eric Schultz edited this page Jul 1, 2011 · 4 revisions

Contains information about the SharedLib role of a CoApp package. If no assemblies are in this package, sharedlib and it's properties are unneeded.

Additionally, if there are assemblies in a package but no sharedlib properties are needed, the sharedlib rule is not required.

###Parameter None

###Number in .autopkg file 0 or 1

###Properties ###policy-file The major-minor version of the package versions that this packages is binary compatible with and replaces. Going back to the examples for binding-min and binding-max in the package rule, JREv6 update 25 (6.0.250.0) is binary compatible with any previous JREv6 version, and the major-minor version of each of the previous versions of JREv6 is 6.0, policy-file would be 6.0.

policy-file may be included multiple times. This is used when a new version is binary compatible with multiple major-minor previous versions. To illustrate the package being created Liba-6.1.1.0 is compatible with versions Liba-6.0.0.0 and Liba-6.1.0.0. In that case, there would be two policy-file properties, one set to 6.0 and another set to 6.1.