PrintToVeraeTimeStamp/platform/macos/pkg/Distribution.xml.in
George Lambert 78cc3a40ec fix(macos-pkg): product ID, Verae branding, license Agree in installer
The product .pkg was a bare component wrapper with no Installer.app UI.

- Distribution.xml.in: title Verae Print Stamp, org ai.verae, product id
- resources: welcome/license/readme/conclusion HTML + plum brand backgrounds
- license.html requires Agree/Disagree before install continues
- readme.html product identification table (bundle/pkg IDs, version, publisher)
- App bundle: AppIcon.icns, VeraeProductID/VeraeBrand keys, PRODUCT.txt sidecar
- build-pkg.sh uses productbuild --distribution --resources
- SKIP_SIGN=1 for local UI smoke; smoke-installer-ui.sh (15 checks)

Verify: SKIP_SIGN=1 ./platform/macos/pkg/build-pkg.sh
        ./platform/macos/pkg/smoke-installer-ui.sh
2026-10-14 05:25:28 -04:00

67 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="2">
<title>Verae Print Stamp</title>
<organization>ai.verae</organization>
<!-- Product identification shown in Installer.app -->
<options
customize="never"
require-scripts="false"
hostArchitectures="x86_64,arm64"
rootVolumeOnly="true"/>
<domains enable_anywhere="false"
enable_currentUserHome="false"
enable_localSystem="true"/>
<!-- Verae branding backgrounds -->
<background file="background.png"
mime-type="image/png"
alignment="bottomleft"
scaling="proportional"/>
<background-darkAqua file="background-dark.png"
mime-type="image/png"
alignment="bottomleft"
scaling="proportional"/>
<!-- Welcome with product ID and brand -->
<welcome file="welcome.html" mime-type="text/html" />
<!-- Required license acceptance (Installer shows Agree / Disagree) -->
<license file="license.html" mime-type="text/html" />
<!-- Explicit product identification sheet -->
<readme file="readme.html" mime-type="text/html" />
<conclusion file="conclusion.html" mime-type="text/html" />
<installation-check script="pm_install_check()"/>
<script>
<![CDATA[
function pm_install_check() {
if (!(system.compareVersions(system.version.ProductVersion, '14.0') >= 0)) {
my.result.type = 'Fatal';
my.result.message = 'Verae Print Stamp requires macOS 14 or later.';
return false;
}
return true;
}
]]>
</script>
<choices-outline>
<line choice="verae-print-stamp"/>
</choices-outline>
<choice id="verae-print-stamp"
visible="false"
title="Verae Print Stamp"
description="Verae Print Stamp (PrintIt). Product ID ai.verae.print-stamp. Installs the branded app, helper, and print integration.">
<pkg-ref id="@PKG_ID@"/>
</choice>
<pkg-ref id="@PKG_ID@"
version="@VERSION@"
auth="Root"
onConclusion="none">@COMPONENT_NAME@</pkg-ref>
</installer-gui-script>