Thanks Rob, but I'm not sure I understand.  How would I do that when ExitDialog 
is a built-in control without modifying the WiX source and recompiling WiX?

I agree it's not a nice solution but I'm unable to override the ExitDialg with 
my own custom one which is what percipitated this email due to the ICE82 error 
I kept getting.  I was attempting to do what is suggested in the tutorial here:
http://wix.tramontana.co.hu/tutorial/user-interface-revisited/well-done

That's really what I'd prefer.

Arthur

-----Original Message-----
From: Rob Hamflett [mailto:rob_hamfl...@sn.scee.net] 
Sent: Thursday, January 17, 2013 9:47 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] ICE82 error with WiX 3.6

On 17/01/2013 14:59, Arthur Yousif wrote:
> I was able to find a solution for this finally.  Found it here:
> http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm
>
> However, even though it's working, the check box as the gray background 
> rather than a transparent one that would blend in with the rest of the 
> background.  Anyone have ideas on how to do this since now I'm using the 
> built-in ExitDialog and not a custom one?  Thank you.

There isn't really a nice way to do this, since you can't give a checkbox 
control a transparent background.  The only way to achieve this appearance is 
to resize the control to the size of just the checkbox (cutting off any text) 
and use a text control with a transparent background to show the associated 
text instead.  This looks right but doesn't play well with screen readers, and 
you have to click the checkbox directly.  Clicking the text next to it will do 
nothing.

Rob

>
> Arthur
>
>
> -----Original Message-----
> From: Arthur Yousif [mailto:art...@prism-grp.com]
> Sent: Wednesday, January 16, 2013 8:05 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] ICE82 error with WiX 3.6
>
> 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
>
> ----------------------------------------------------------------------
> -------- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, 
> HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your 
> skills current with LearnDevNow - 3,200 step-by-step video tutorials 
> by Microsoft MVPs and experts. ON SALE this month only -- learn more 
> at:
> http://p.sf.net/sfu/learnmore_122712
>



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, 
Windows 8 Apps, JavaScript and much more. Keep your skills current with 
LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. 
ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to