Hello,

I get an error from the compiler that I cant solve myself. I hope you can help 
me to solve my fault.
The error message is:
ICE20: Specified ErrorDialog: 'ErrorDlg' not found in Dialog table (or its 
Control_First control is not 'ErrorText').  in Line 32

Following the Source-Code of my UI:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Fragment>
    <UI Id="UIWebProject">

      <Dialog Id="ExitDialog" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Description" Type="Text" X="135" Y="70" Width="220" 
Height="40"
                Text="Click the Finish button to exit the Setup Wizard." />
        <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60"
                 Text="{\UIFontBigger}Completed the [ProductName] Setup Wizard" 
/>
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="Cancel" />
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Text="&amp;Finish" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="&amp;Back" />
      </Dialog>
      
      <Dialog Id="FatalError" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Descrption" Type="Text" X="135" Y="70" Width="220" 
Height="80"
                 Text="[ProductName] Setup Wizard ended prematurely because of 
an error. 
                 Your system has not been modified. To install this program at 
a later time,
                 run Setup Wizard again. Click the Finish button to exit the 
Setup Wizard." />
        <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60"
                 Text="{\UIFontBigger}[ProductName] Setup Wizard ended 
prematurely" />
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="Cancel" />
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Text="&amp;Finish" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="&amp;Back" />
      </Dialog>
      
      <Property Id="ErrorDialog" Value="ErrorDlg" />
      <Dialog Id="ErrorDlg" Width="270" Height="105" Title="[ProductName] Setup"
              ErrorDialog="yes" NoMinimize="yes" >
        <Control Id="ErrorText" Type="Text" X="48" Y="15" Width="205" 
Height="60" Text="Information text" />
        <Control Id="N" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="&amp;No" />
        <Control Id="Y" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="&amp;Yes" />
        <Control Id="A" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="Cancel" />
        <Control Id="C" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="Cancel" />
        <Control Id="ErrorIcon" Type="Icon" X="15" Y="15" Width="24" 
Height="24" Text="UIIcoInfo" />
        <Control Id="I" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="&amp;Ingore" />
        <Control Id="O" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="OK" />
        <Control Id="R" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="&amp;Retry" />
      </Dialog>
      
      <!-- Is displayes when user aborts installation -->
      <Dialog Id="UserExit" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Description" Type="Text" X="135" Y="80" Width="220" 
Height="80">
          <Text>[ProductName] setup was interrupted. Your system has not been 
modified. 
          To install this program at a later time, please run the installation 
again. 
          Click the Finish button to exit the Setup Wizard.</Text>
        </Control>
        <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60">
          <Text>{\UIFontBigger}[ProductName] Setup Wizard was interrupted</Text>
        </Control>
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="Cancel" />
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Text="&amp;Finish" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="&amp;Back" />
      </Dialog>

      <!-- Standart dialog for files in use-->
      <Dialog Id="FilesInUse" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Description" Type="Text" X="20" Y="23" Width="280" 
Height="20"
                 Text="Some files that need to be updated are currently in 
use." />
        <Control Id="Text" Type="Text" X="20" Y="55" Width="330" Height="30"
                 Text="The following applications are using files that need to 
be updated by this setup.
                 Close these applications and then click &amp;Retry to continue 
the installation or Exit to exit it." />
        <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" 
Text="{\UIFontTitle}Files in Use" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Retry" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="&amp;Retry" />
        <Control Id="Ignore" Type="PushButton" X="235" Y="243" Width="56" 
Height="17" Text="&amp;Ingore" />
        <Control Id="Exit" Type="PushButton" X="166" Y="243" Width="56" 
Height="17" Text="E&amp;xit" />
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" 
Height="0" />
        <Control Id="List" Type="ListBox" X="20" Y="87" Width="330" 
Height="130" Property="FileInUseProcess" />
      </Dialog>
      
      <!-- The welcome dialog -->
      <Dialog Id="WelcomeDlg" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" 
Height="0" />
        <Control Id="InstallTitle" Type="Text" X="15" Y="15" Width="300" 
Height="15">
          <Text>{\UIFontBigger}Welcome to the [ProductName] Setup Wizard</Text>
        </Control>
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Install" Type="PushButton" X="212" Y="243" Width="80" 
Height="17" Text="&amp;Install" />
        <Control Id="InstallText" Type="Text" X="25" Y="70" Width="320" 
Height="80">
          <Text>The Setup Wizard will install [ProductName] on your computer.
          Click Next to continue or Cancel to exit the Setup Wizard.</Text>
        </Control>
      </Dialog>

      <Property Id="DefaultUIFont" Value="UIFontNormal" />
      <TextStyle Id="UIFontNormal" FaceName="Tahoma" Size="8" />
      <TextStyle Id="UIFontBigger" FaceName="Tahoma" Size="12" />
      <TextStyle Id="UIFontTitle" FaceName="Tahoma" Size="9" />
      
    </UI>

    <AdminUISequence>
      <Show Dialog="FatalError" OnExit="error" />
      <Show Dialog="UserExit" OnExit="cancel" />
      <Show Dialog="ExitDialog" OnExit="success" />
      <CostInitialize Sequence="800" />
      <FileCost Sequence="900" />
      <CostFinalize Sequence="1000" />
      <ExecuteAction Sequence="1300" />
    </AdminUISequence>

    <InstallUISequence>
      <Show Dialog="FatalError" OnExit="error" />
      <Show Dialog="UserExit" OnExit="cancel" />
      <Show Dialog="ExitDialog" OnExit="success" />
      <Show Dialog="WelcomeDlg" Sequence="49" />
      <AppSearch Sequence="50" />
      <LaunchConditions Sequence="100" />
      <ValidateProductID Sequence="700" />
      <CostInitialize Sequence="800" />
      <FileCost Sequence="900" />
      <CostFinalize Sequence="1000" />
      <ExecuteAction Sequence="1300" />
    </InstallUISequence>
    
  </Fragment>
</Wix>

Where I have my fault in the Source?
Since I am not so familiar with WiX-UI, I ask you whether this source is 
properly written.

Thank you!

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

Reply via email to