Licenses and signature
These keys correspond to the Licenses & Certificate page of the Application builder.
Licenses
These keys are located under the <Licenses> node. They define how deployment licenses are embedded in the built application. If no license is embedded, the application starts in demo mode.
| Key | Values | Description |
|---|---|---|
| AutomaticLicenseIntegration | True / False (default) | When True, 4D automatically selects the most appropriate licenses to embed in the application. When False or omitted, the licenses must be designated with ArrayLicenseWin / ArrayLicenseMac |
| ArrayLicenseWin | Array of paths | License files to embed in the Windows version of the application. The files can be located anywhere on the machine |
| ArrayLicenseMac | Array of paths | License files to embed in the macOS version of the application. The files can be located anywhere on the machine |
| EvaluationMode | True / False | When True, an evaluation version of the application is built |
<Preferences4D>
<BuildApp>
<Licenses>
<ArrayLicenseWin>
<ItemsCount>2</ItemsCount>
<Item1>C:\MyLicenses\4DDP140HJDSOI00FAKE1861.license4D</Item1>
<Item2>C:\MyLicenses\4UUD140DDE0DISFAKEBC5F.license4D</Item2>
</ArrayLicenseWin>
<ArrayLicenseMac>
<ItemsCount>1</ItemsCount>
<Item1>MacHD:4DDP140HJDSOI00FAKE1861.license4D</Item1>
</ArrayLicenseMac>
</Licenses>
</BuildApp>
</Preferences4D>
macOS signature
These keys are located under the <SignApplication> node. See macOS signing certificate.
<Preferences4D>
<BuildApp>
<SignApplication>
<MacSignature>True</MacSignature>
<MacCertificate>Developer ID Application: My Company (XXXXXXXXXX)</MacCertificate>
</SignApplication>
</BuildApp>
</Preferences4D>