title: WixEdit - Custom UI sequence
body: <p>I am using <a href="http://wixedit.sourceforge.net/" rel="nofollow">WixEdit</a> to create an installation for our application. I am looking at creating a custom dialog to put in the UI sequence that allows the installer to enter some configuration that goes in the <code>.config</code> file that is installed alongside the executable.</p>
  
  <p>However, I am having a little trouble defining the UI sequence. I have created a simple dialog with a text and edit field. I want to display this before the <code>ProgressDlg</code>.</p>
  
  <p>I have the following XML in the WXS file:</p>
  
  <pre><code>&lt;UI&gt;
      &lt;Dialog Id="ProductConfigurationDialog" Width="370" Height="270" Title="[ProductName] Setup"&gt;
          &lt;Control Type="Text" Id="TextServerName" Width="60" Height="17" X="8" Y="15" Text="OPC Server:" /&gt;
          &lt;Control Type="Edit" Id="EditServerName" Width="151" Height="15" X="79" Y="15" Text="[SERVERNAME]" /&gt;
      &lt;/Dialog&gt;
      &lt;InstallUISequence&gt;
          &lt;Show Dialog="FatalError" OnExit="error" /&gt;
          &lt;Show Dialog="UserExit" OnExit="cancel" /&gt;
          &lt;Show Dialog="ExitDialog" OnExit="success" /&gt;
          &lt;Show Dialog="PrepareDlg" After="LaunchConditions" /&gt;
          &lt;Show Dialog="WelcomeDlg" After="MigrateFeatureStates"&gt;&lt;![CDATA[NOT Installed]]&gt;&lt;/Show&gt;
          &lt;Show Dialog="ResumeDlg" After="WelcomeDlg"&gt;&lt;![CDATA[Installed AND (RESUME OR Preselected)]]&gt;&lt;/Show&gt;
          &lt;Show Dialog="MaintenanceWelcomeDlg" After="ResumeDlg"&gt;&lt;![CDATA[Installed AND NOT RESUME AND NOT Preselected]]&gt;&lt;/Show&gt;
          &lt;Show Dialog="ProductConfigurationDialog" After="MaintenanceWelcomeDlg" /&gt;
          &lt;Show Dialog="ProgressDlg" After="ProductConfigurationDialog" /&gt;
      &lt;/InstallUISequence&gt;
  &lt;/UI&gt;
  </code></pre>
  
  <p>So my custom dialog is called ProductConfigurationDialog. I have copied the InstallUISequence from UISample.wxs, but I get the following errors.</p>
  
  <pre><code>C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\FatalError.wxs(29) : error LGHT0170 : The InstallUISequence table contains an action 'FatalError' that is declared in two different locations.  Please remove one of the actions or set the Overridable='yes' attribute on one of their elements.
  D:\Sandbox\OPS Wix Install\SetupOPC\SetupOPC\QuorumOPCSetup.wxs(122) : error LGHT0171 : The location of the action related to previous error.
  C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\UserExit.wxs(29) : error LGHT0170 : The InstallUISequence table contains an action 'UserExit' that is declared in two different locations.  Please remove one of the actions or set the Overridable='yes' attribute on one of their elements.
  D:\Sandbox\OPS Wix Install\SetupOPC\SetupOPC\QuorumOPCSetup.wxs(123) : error LGHT0171 : The location of the action related to previous error.
  C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\ExitDialog.wxs(33) : error LGHT0170 : The InstallUISequence table contains an action 'ExitDialog' that is declared in two different locations.  Please remove one of the actions or set the Overridable='yes' attribute on one of their elements.
  D:\Sandbox\OPS Wix Install\SetupOPC\SetupOPC\QuorumOPCSetup.wxs(124) : error LGHT0171 : The location of the action related to previous error.
  C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\PrepareDlg.wxs(35) : error LGHT0170 : The InstallUISequence table contains an action 'PrepareDlg' that is declared in two different locations.  Please remove one of the actions or set the Overridable='yes' attribute on one of their elements.
  D:\Sandbox\OPS Wix Install\SetupOPC\SetupOPC\QuorumOPCSetup.wxs(125) : error LGHT0171 : The location of the action related to previous error.
  C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\WelcomeDlg.wxs(29) : error LGHT0170 : The InstallUISequence table contains an action 'WelcomeDlg' that is declared in two different locations.  Please remove one of the actions or set the Overridable='yes' attribute on one of their elements.
  D:\Sandbox\OPS Wix Install\SetupOPC\SetupOPC\QuorumOPCSetup.wxs(126) : error LGHT0171 : The location of the action related to previous error.
  C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\ProgressDlg.wxs(60) : error LGHT0170 : The InstallUISequence table contains an action 'ProgressDlg' that is declared in two different locations.  Please remove one of the actions or set the Overridable='yes' attribute on one of their elements.
  D:\Sandbox\OPS Wix Install\SetupOPC\SetupOPC\QuorumOPCSetup.wxs(130) : error LGHT0171 : The location of the action related to previous error.
  C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\ResumeDlg.wxs(46) : error LGHT0170 : The InstallUISequence table contains an action 'ResumeDlg' that is declared in two different locations.  Please remove one of the actions or set the Overridable='yes' attribute on one of their elements.
  D:\Sandbox\OPS Wix Install\SetupOPC\SetupOPC\QuorumOPCSetup.wxs(127) : error LGHT0171 : The location of the action related to previous error.
  C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\MaintenanceWelcomeDlg.wxs(31) : error LGHT0170 : The InstallUISequence table contains an action 'MaintenanceWelcomeDlg' that is declared in two different locations.  Please remove one of the actions or set the Overridable='yes' attribute on one of their elements.
  D:\Sandbox\OPS Wix Install\SetupOPC\SetupOPC\QuorumOPCSetup.wxs(128) : error LGHT0171 : The location of the action related to previous error.
  </code></pre>
  
  <p>How can I include an additional custom dialog in my UI sequence?</p>
  
  <p>I am just getting started with WiX so any information or solutions would be most welcome. I am using the latest version of WiX 3.6 with WixEdit 0.7.5.0 to do this.</p>