Managing Licenses

The package license fragment installer handles trial licenses for commercial CMS Packages

The PackageLicenseFragmentInstaller makes C1 CMS fetch a trial license and is required for commercial CMS Packages distributed by Composite.

During the installation it checks C1 CMS for a valid license (permanent or trial) installed for the package being installed. If the license is available, the installation continues; otherwise, a trial license is requested and installed in C1 CMS for this package.

To fetch and install the trial license, a pre-defined public key should be provided in the package's install.xml for this fragment installer.

The trial license is specific to the package being installed and the C1 CMS Installation ID, and expires in 30 days.

<mi:Add 
	installerType="Composite.Core.PackageSystem.PackageFragmentInstallers.PackageLicenseFragmentInstaller, Composite" 
	uninstallerType="Composite.Core.PackageSystem.PackageFragmentInstallers.PackageLicenseFragmentUninstaller, Composite">
	<RSAKeyValue>
		<Modulus>uAbSvVwlt2Z1oCbKIFy8aqx4Lh+MTB4af2w3OvoB6f5tKxepwnNTXMGmK1Rn853VPzZ0gEckzTQQKh+9qdyoZSe/4ifEAXQZehNbpEniojqWL6qvK203mUV3isdMwW401F2OC+NQxZMBh0yFPNzi8HWClPyr4xkIszpRovjPpUk=</Modulus>
		<Exponent>AQAB</Exponent>
	</RSAKeyValue>
</mi:Add>
The RSAKeyValue element contains the public key in XML format (see the example above) used by the installer to fetch the trial license.