According to WiX documentation if you want to remove the LicenseAgreementDlg from the WixUI_InstallDir dialog set, you suggested to copy the full contents WixUI_InstallDir.wxs from the WiX sources to your project and than manually edit it.
It isn’t very convenient way.
There is more elegant solution I have found here:
<UI>
<UIRef Id="WixUI_InstallDir" />
<!-- skip licence dialog -->
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg" Order="2">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">1</Publish>
</UI>
Because of a greater value in the Order attribute new events have priority over events, which were set up in WixUI_InstallDir.wxs to redirect to license dialog.
You can use the same technique to add your own manually created dialogs to the installation sequence.
Thanks to slashh!
Subscribe to:
Post Comments (Atom)
4 comments:
Great. I was thinking about doing this, but thought it would be too much trouble. Stumbled on your post by accident. Thanks a bunch.
Wonderful! this is a great idea thanks! God Bless!
Wonderful! this is a great idea thanks! God Bless!
I completly agree with garwin4j !
This is very usefull information. Thank you
Post a Comment