I need to replace the FatalError dialog with a dialog of my own.

 

The setup is using a custom UI (see the source below).

However, if I simply remove the DialogRef Id="FatalError" and insert the
customized dialog I get 

ICE20: FatalError dialog/action not found in 'InstallUISequence' Sequence
Table.

ICE20: FatalError dialog/action not found in 'AdminUISequence' Sequence
Table.

 

If I insert Show elements for the dialog in the InstallUISequence and
AdminUISequence, I get

Duplicate symbol 'Dialog:FatalError' found.

 

What should I do?

 

Dan

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!--

First-time install dialog sequence:      Maintenance dialog sequence:

 - WixUI_WelcomeDlg                     - WixUI_MaintenanceWelcomeDlg

 - WixUI_InstallDirDlg                  - WixUI_MaintenanceTypeDlg

 - InstallOptionsDlg                    - WixUI_InstallDirDlg

   - WixUI_VerifyReadyDlg                 - WixUI_VerifyReadyDlg

   - WixUI_DiskCostDlg

-->

 

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>

  <Fragment>

    <WixVariable Id="WixUIBannerBmp" Value="Images\sysiax-logo.jpg" />

    <WixVariable Id="WixUIDialogBmp" Value ="Images\splash.jpg"/>

    <UI Id="NPSSetupMainUI">

      <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />

      <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />

      <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes"
/>

 

      <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />

      <Property Id="WixUI_Mode" Value="InstallDir" />

 

      <DialogRef Id="BrowseDlg" />

      <DialogRef Id="DiskCostDlg" />

      <DialogRef Id="ErrorDlg" />

      <DialogRef Id="FilesInUse" />

      <DialogRef Id="MsiRMFilesInUse" />

      <DialogRef Id="PrepareDlg"/>

      <DialogRef Id="ProgressDlg" />

      <DialogRef Id="ResumeDlg" />

      <DialogRef Id="UserExit"/>

      <DialogRef Id="FatalError"/>

 

      <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction"
Value="WixUIValidatePath" Order="3">1</Publish>

      <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog"
Value="InvalidDirDlg" Order="4">

        <![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]>

      </Publish>

    

      <Publish Dialog="ExitDialog" Control="Finish" Order="1"
Event="DoAction" Value="LaunchNps">LAUNCHAPP</Publish>

      <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog"
Value="Return" Order="999">1</Publish>

 

 

      <Publish Dialog ="WelcomeDlg" Control="Next"
Property="POPULATEGROUPDATA" Value="1" Order="1">

        <!-- Set default value for this property; if the file data.bin is
missing, 

        set the property to 0 (use the default value).

        If the file exists, set the property to 1.

        The user will have the option to uncheck this option on the UI later
on.

        -->

        <![CDATA[DATABIN<>"0"]]>

      </Publish>

      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="InstallOptionsDlg" Order="999">1</Publish>

 

 

 

      <Publish Dialog="InstallOptionsDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg">

        <![CDATA[ NOT SHOWADVOPTIONS]]>

      </Publish>

      <Publish Dialog="InstallOptionsDlg" Control="Next" Event="NewDialog"
Value="AdvancedOptionsDlg">

        SHOWADVOPTIONS

      </Publish>

 

      <Publish Dialog="InstallOptionsDlg" Control="Back" Event="NewDialog"
Value="WelcomeDlg"/>

 

      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="InstallOptionsDlg" Order="1">

        <![CDATA[ NOT SHOWADVOPTIONS]]>

      </Publish>

 

 

      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="AdvancedOptionsDlg" Order="1">

        SHOWADVOPTIONS

      </Publish>

 

      <Publish Dialog ="AdvancedOptionsDlg" Control="Back" Event="NewDialog"
Value ="InstallOptionsDlg"/>

      <Publish Dialog ="AdvancedOptionsDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" />

 

 

      <Publish Dialog="MaintenanceWelcomeDlg" Control="Next"
Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>

 

      <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton"
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton"
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog"
Value="MaintenanceWelcomeDlg">1</Publish>

 

 

 

 

 

      <Property Id="ARPNOMODIFY" Value="1" />

 

      <ProgressText Action="SqlCmd">Managing database FILESTREAM support
</ProgressText>

 

    </UI>

 

    <UIRef Id="WixUI_Common" />

  </Fragment>

</Wix>

 

 

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to