From 4a51ad114e7a296f0195e50c04974a69fc9635f2 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Wed, 24 Dec 2025 16:25:35 +0100 Subject: [PATCH] fix(installer): Use custom UI without license dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of trying to override WixUI_InstallDir, create a custom UI based on it but without the LicenseAgreementDlg. This is the proper way to remove dialogs from WiX UI sets. - Add CustomUI.wxs with dialog flow: Welcome -> InstallDir -> VerifyReady - Update installer.wxs to use CustomInstallDirUI instead of WixUI_InstallDir - Update workflow to build both .wxs files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/release.yml | 2 +- windows/CustomUI.wxs | 71 +++++++++++++++++++++++++++++++++++ windows/installer.wxs | 14 ++----- 3 files changed, 76 insertions(+), 11 deletions(-) create mode 100644 windows/CustomUI.wxs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8e28111..845e1ee2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,7 +84,7 @@ jobs: run: Compress-Archive -Path ./installer/* -DestinationPath ./CCExtractor_win_portable.zip working-directory: ./windows - name: Build installer - run: wix build -ext WixToolset.UI.wixext -d "AppVersion=${{ steps.get_version.outputs.VERSION }}.0.0" -o CCExtractor.msi installer.wxs + run: wix build -ext WixToolset.UI.wixext -d "AppVersion=${{ steps.get_version.outputs.VERSION }}.0.0" -o CCExtractor.msi installer.wxs CustomUI.wxs working-directory: ./windows - name: Upload as asset uses: AButler/upload-release-assets@v3.0 diff --git a/windows/CustomUI.wxs b/windows/CustomUI.wxs new file mode 100644 index 00000000..507ca6ba --- /dev/null +++ b/windows/CustomUI.wxs @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/windows/installer.wxs b/windows/installer.wxs index 7ddde4f1..6376c04f 100644 --- a/windows/installer.wxs +++ b/windows/installer.wxs @@ -1,4 +1,4 @@ - + @@ -12,15 +12,9 @@ - - - - - - - - - + + +