fix(wix): show GPL-3 license on installer EULA page

WixUI_Minimal fell back to WiX's built-in placeholder (Lorem ipsum)
RTF because no WixUILicenseRtf was set. Ship License.rtf generated
from the repo GPL-3 LICENSE and point the variable at it via a new
-dLicense candle arg.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-06-12 16:55:09 +03:00
commit 3bafe45ab3
3 changed files with 685 additions and 0 deletions

View file

@ -20,6 +20,13 @@
<Property Id='WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT' Value='Launch Open CAD Studio' />
<Property Id='WIXUI_EXITDIALOGOPTIONALCHECKBOX' Value='1' />
<!--
License shown on the WixUI_Minimal EULA page. Without this variable WiX
falls back to its built-in placeholder (Lorem ipsum) RTF. Point it at the
project's GPL-3 text (License.rtf, generated from the repo LICENSE).
-->
<WixVariable Id='WixUILicenseRtf' Value='$(var.License)' />
<!--
Start the installed exe after the wizard closes. FileKey points at the
File defined in main.wxs (light resolves the cross-fragment reference).