License Package
In this step, we will create a new license package, a package that includes your license, which imports the license into the Business Central server installation and update.
Example:
$ErrorActionPreference = 'stop'
Import-Module LsPackageTools\LicensePackageCreator
Import-Module UpdateServiceServer
$Arguments = @{
Id = 'my-license'
Name = 'My License'
Version = '1.0.0'
Path = 'c:\path\to\license.flf'
OutputDir = 'c:\MyGoCPackages\Output'
}
New-LicensePackage @Arguments -Force | Import-UssPackage
The specific parameters for this cmdlet are:
Id
,Name
,Version
andOutputDir
are common package parameters.Path
: Specify the path to your license file to include in the package.