Skip to content

Commit 23fe02f

Browse files
cfsmp3claude
andcommitted
fix(installer): Skip license dialog with Publish overrides
Override the WixUI_InstallDir dialog sequence to skip the license agreement dialog, restoring the original behavior before WiX v6 migration. - WelcomeDlg Next button now goes directly to InstallDirDlg - InstallDirDlg Back button returns to WelcomeDlg 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 394fb39 commit 23fe02f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

windows/installer.wxs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
<Icon Id="ccxgui.exe" SourceFile="./installer/ccxgui.exe"/>
1515
<!-- Use standard WixUI_InstallDir dialog set -->
1616
<ui:WixUI Id="WixUI_InstallDir" InstallDirectory="INSTALLFOLDER" />
17+
<!-- Override dialog sequence to skip license dialog -->
18+
<UI>
19+
<!-- WelcomeDlg Next -> InstallDirDlg (skip LicenseAgreementDlg) -->
20+
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg" Condition="NOT Installed" />
21+
<!-- InstallDirDlg Back -> WelcomeDlg (skip LicenseAgreementDlg) -->
22+
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" />
23+
</UI>
1724
</Package>
1825
<Fragment>
1926
<StandardDirectory Id="DesktopFolder">

0 commit comments

Comments
 (0)