Skip to content

Commit ba05511

Browse files
piscisaureusisaacs
authored andcommitted
Windows: installer shows license agreement dialog
1 parent 1330419 commit ba05511

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tools/msvs/msi/product.wxs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,12 @@
102102
<DialogRef Id="ProgressDlg" />
103103
<DialogRef Id="ResumeDlg" />
104104
<DialogRef Id="UserExit" />
105-
<DialogRef Id="WelcomeDlg" />
105+
<DialogRef Id="WelcomeDlg" />
106+
<DialogRef Id="LicenseAgreementDlg"/>
106107

107-
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="PrepareDlg">1</Publish>
108+
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
109+
<Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
110+
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="PrepareDlg">1</Publish>
108111
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
109112
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
110113
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
@@ -120,6 +123,7 @@
120123
<UIRef Id="WixUI_Common" />
121124
<WixVariable Id="WixUIBannerBmp" Value="..\..\..\doc\thin-white-stripe.jpg" />
122125
<WixVariable Id="WixUIDialogBmp" Value="..\..\..\doc\full-white-stripe.jpg" />
126+
<WixVariable Id="WixUILicenseRtf" Value="$(var.sourcedir)\LICENSE.rtf" />
123127
</Product>
124128

125129
</Wix>

0 commit comments

Comments
 (0)