Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What type of UI are you referencing (Mondo?). This information is not present in your piece of code. I think daddyman's comment is right, you probably have multiple events for that Back button, since Mondo itself hooks its own 'handlers' on this button-click event. </p> <p>I have created a custom UI dialog flow recently and my approach was not referencing WiXUI_Mondo at all. Instead of it, I created my own new UI based on Mondo source code (you have to check WiX sources). At the end I have this code (irrelevant code parts have been removed) and it works fine.</p> <p><code></p> <pre><code>&lt;Fragment&gt; &lt;!-- this is based on the WixUI_Mondo dialog set --&gt; &lt;UI Id="WixUI_MyNewUI"&gt; &lt;TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /&gt; &lt;TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" /&gt; &lt;TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /&gt; &lt;Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /&gt; &lt;Property Id="WixUI_Mode" Value="Mondo" /&gt; &lt;DialogRef Id="ErrorDlg" /&gt; &lt;DialogRef Id="FatalError" /&gt; &lt;DialogRef Id="FilesInUse" /&gt; &lt;DialogRef Id="MsiRMFilesInUse" /&gt; &lt;DialogRef Id="PrepareDlg" /&gt; &lt;DialogRef Id="ProgressDlg" /&gt; &lt;DialogRef Id="ResumeDlg" /&gt; &lt;DialogRef Id="UserExit" /&gt; &lt;Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="CustomizeDlg"&gt;1&lt;/Publish&gt; &lt;!-- we do not use the SetupTypeDlg which allows user to choose either Typical, Complete or Custom installation; this ensures InstallCustom schema is run --&gt; &lt;Publish Dialog="WelcomeDlg" Control="Next" Property="WixUI_InstallMode" Value="InstallCustom" Order="2"&gt;1&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2"&gt;WixUI_InstallMode = "InstallCustom"&lt;/Publish&gt; &lt;Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="MyDlg1"&gt;1&lt;/Publish&gt; &lt;Publish Dialog="MyDlg1" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="1"&gt;MY_CONDITION_PROPERTY = 0&lt;/Publish&gt; &lt;Publish Dialog="MyDlg1" Control="Next" Event="NewDialog" Value="MyDlg2" Order="2"&gt;MY_CONDITION_PROPERTY = 1&lt;/Publish&gt; &lt;Publish Dialog="MyDlg2" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="1" /&gt; &lt;Publish Dialog="MyDlg2" Control="Back" Event="NewDialog" Value="MyDlg1"&gt;1&lt;/Publish&gt; &lt;Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MyDlg1" Order="1"&gt;WixUI_InstallMode = "InstallCustom" and MY_CONDITION_PROPERTY = 0&lt;/Publish&gt; &lt;Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MyDlg2" Order="2"&gt;WixUI_InstallMode = "InstallCustom" and MY_CONDITION_PROPERTY = 1&lt;/Publish&gt; &lt;/UI&gt; &lt;UIRef Id="WixUI_Common" /&gt; &lt;UIRef Id="WixUI_ErrorProgressText" /&gt; &lt;/Fragment&gt; </code></pre> <p></code></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload