2

in wix: i want to replace action of Welcome page of my installer to SpecialDlg and not LicenseAgreementDlg. but using this code:

<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="SpecialDlg" >NOT Installed</Publish>

but this line dont replace the tuple in ControlEvent Table, and create new tuple instead of replacing. and the problem is : old action of Next button has not been replaced by new action. :(

enter image description here

thanks experts

1 Answers1

1

The button click handling is defined in the UI sequence which you refer to with the UIRef element.

You can copy that UI sequence from the wix sources, modify it for you own needs, and then update the UIRef element to point to your own customized UI sequence.

For more details, see my question/answer about inserting a warning dialog which is a similar scenario (though a bit more complex because I only wanted to insert it only if a certain condition is true).

Community
  • 1
  • 1
Wim Coenen
  • 66,094
  • 13
  • 157
  • 251