[wix-users] Need help with making custom dialog launch SetupTypeDlg

Gary M garym at oedata.com
Thu Apr 21 19:47:43 PDT 2016

I'm trying to inserting a custom dialog into the Mondo chain between
LicenseAgreementDlg and SetupTypeDlg. I started with the tutorial on the
WIX website.

The custom dialog launches via the  LicenseAgreementDlg Next button. The
custom dialog navigates back as well as executed the "cancel sequence.

The custom dialog will not launch the SetupTypeDlg. I'm at a loss to
understand why this does not work.

This is the bottom of the custom dialog:

  <Control Id="BottomLine" Type="Line" X="0" Y="352" Width="370" Height="0"
  <Control Id="Back" Type="PushButton" X="180" Y="361" Width="56"
Height="17" Text="&Back">
      <Publish Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
  <Control Id="Next" Type="PushButton" X="236" Y="361" Width="56"
Height="17" Default="yes" Text="&Next">
      <Publish Event="NewDialog" Value="SetupTypeDlg">ProductID</Publish>
  <Control Id="Cancel" Type="PushButton" X="304" Y="361" Width="56"
Height="17" Cancel="yes" Text="Cancel">
      <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>

This is the code inserting the custom dialog into the mondo sequence:
      <UI Id="UI.WORKFLOW">
        <UIRef Id="WixUI_Mondo" />
        <UIRef Id="WixUI_ErrorProgressText" />

        <DialogRef Id="AdminInfoDlg" />
        <!-- tell license dialog to call Admin Info dialog when "Next"
button is clicked -->
        <Publish Dialog="LicenseAgreementDlg" Control="Next"
Event="NewDialog" Value="AdminInfoDlg" Order="3">LicenseAccepted =
        <!-- tell "setup type" dialog to call Admin Info dialog when next
button is clicked -->
        <Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog"


More information about the wix-users mailing list