From 556989dbdb5626f04e54becd1d5897ef0e1c7989 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 12 Jun 2026 07:24:36 +0000 Subject: [PATCH] feat(installer): add finish screen with launch-app checkbox to Windows MSI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds WixUI_Minimal UI to the WiX installer so users see a proper Welcome → Progress → Finish wizard. The finish screen includes a pre-ticked "Launch Open CAD Studio" checkbox; clicking Finish with it checked starts the application immediately after the installer closes. Also updates the light.exe invocation in release.yml to include -ext WixUIExtension, which is required to link the WixUI dialogs. https://claude.ai/code/session_01DFVSKgViFaxEjZD2KsTdtt --- .github/workflows/release.yml | 2 +- packaging/windows/main.wxs | 32 +++++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9075158e..3b7aac55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,7 +138,7 @@ jobs: $wxsPath ` -out $wixObj if ($LASTEXITCODE -ne 0) { throw "candle failed" } - & $light $wixObj -out $msiPath + & $light $wixObj -ext WixUIExtension -out $msiPath if ($LASTEXITCODE -ne 0) { throw "light failed" } - name: Sign MSI installer (Azure Trusted Signing) diff --git a/packaging/windows/main.wxs b/packaging/windows/main.wxs index b48d2ebd..9e4e417e 100644 --- a/packaging/windows/main.wxs +++ b/packaging/windows/main.wxs @@ -6,7 +6,7 @@ candle.exe -arch x64 -dVersion= -dSource=target\release\OpenCADStudio.exe \ -dIcon=packaging\windows\AppIcon.ico packaging\windows\main.wxs \ -out packaging\windows\main.wixobj - light.exe packaging\windows\main.wixobj -out OpenCADStudio.msi + light.exe packaging\windows\main.wixobj -ext WixUIExtension -out OpenCADStudio.msi Provides: * Per-machine install under Program Files\Open CAD Studio. @@ -122,5 +122,35 @@ + + + + + + + + + + WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 AND NOT Installed + +