Hello,
I have successfully built my first WiX installer and it's going well for the 
most part.  I only have one issue now in implementing my launch dialog.  
However, every time I compile, I get the error:

Error      9              ICE82: This action FinishDialog has duplicate 
sequence number -1 in the table InstallUISequence ...

I used orca to check the MSI file and sure enough there are two Action items 
under InstallUISequence that have -1: ExistDialog and FinishDialog.  My custom 
dialog is FinishDialog and the ExitDialog is the default.

I'm using a basic UI that allows the  user to enter custom info and then is 
only allowed to change the destination folder, i.e.,
<UIRef Id="WixUI_InstallDir"/>

Everything works fine without this final launch dialog but once I include it I 
keep getting this error and am not sure how to fix it.  We're currently using 
WiX 3.6.  The dialog code is fairly simple (below is the entire fragment) so 
let me know if you need any other info to help me resolve this issue please.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
       <Fragment>
    <Property Id="LAUNCHAPPLICATION">1</Property>
    <CustomAction Id="LaunchFile" FileKey="RUExec" ExeCommand="" 
Return="asyncNoWait"/>
    <UI>
      <Dialog Id="FinishDialog" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" 
Height="17"
                 Default="yes" Cancel="yes" Text="&amp;Finish">
          <Publish Event="EndDialog" Value="Return">1</Publish>
          <Publish Event="DoAction" Value="LaunchFile">(NOT Installed) AND 
(LAUNCHAPPLICATION = 1)</Publish>
        </Control>
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Disabled="yes" Text="&amp;Back"/>
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Disabled="yes" Text="&amp;Cancel"/>
        <Control Id="Launch" Type="CheckBox" X="135" Y="120" Width="150" 
Height="17"
                 Property="LAUNCHAPPLICATION" CheckBoxValue="1">
          <Text>Launch [ProductName]</Text>
        </Control>
        <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" 
TabSkip="no" Text="WixUI_Bmp_Dialog" />
        <Control Id="Description" Type="Text" X="25" Y="19" Width="280" 
Height="21" Transparent="yes" NoPrefix="yes" NoWrap="no">
          <Text>Installation complete.</Text>
        </Control>
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" 
Transparent="yes" NoPrefix="yes">
          <Text>{\WixUI_Font_Title}My Product Installation Completed</Text>
        </Control>
        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" 
Height="0" />
      </Dialog>

      <InstallUISequence>
        <Show Dialog="FinishDialog" OnExit="success"/>
      </InstallUISequence>
    </UI>
       </Fragment>
</Wix>

The fragment above is included as follows in the main WXS file:

    <UI Id="MyWixUI_InstallDir">
      <UIRef Id="WixUI_InstallDir"/>
      <UIRef Id="WixUI_ErrorProgressText" />

      . . .
      <DialogRef Id="FinishDialog"/>
      . . .
    </UI>

Thank you.

Arthur


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to