You need to remove all of the references to "ExitDialog".  Somewhere you are 
using a UIRef/@Id="WIXUI_SomeId".  If you look a the source for that, you'll 
see lots of references.  You need to modify those.  The exit dialog is a bit 
trickier to update since it referenced directly... inserting dialogs is much 
easier.

-----Original Message-----
From: Colin Fox [mailto:greenene...@gmail.com] 
Sent: Wednesday, January 28, 2009 14:54
To: wix-users
Subject: [WiX-users] Custom Dialogs

I'm trying to modify the look of the exit dialog, and it seems that the
recommended method is to take the ExitDialog.wxs file and modify it to my
needs.

I'm going off of some on-line web pages I've been able to find that talk
about this, but I'm getting a strange error, and I'm not sure how to pass
it.

I've copied ExitDialog.wxs into my project directory and renamed it
MyExitDialog.wxs. I've added it to my Wix project. I changed XML tag to read
"<Dialog Id="MyExitDialog" ..."

The last part of the dialog I've made it read thusly:

            <InstallUISequence>
                <Show Dialog="MyExitDialog" OnExit="success" />
            </InstallUISequence>

            <AdminUISequence>
                <Show Dialog="MyExitDialog" OnExit="success"  />
            </AdminUISequence>

Here are the errors I'm getting:

Warning    2    The AdminUISequence table contains actions 'MyExitDialog'
and 'ExitDialog' which both have the same sequence number -1.  Please change
the sequence number for one of these actions to avoid an ICE warning.
C:\Users\colinf\Documents\Mycompany\V4\RMWix\MyExitDialog.wxs    42    1
RMWix
Warning    4    The InstallUISequence table contains actions 'MyExitDialog'
and 'ExitDialog' which both have the same sequence number -1.  Please change
the sequence number for one of these actions to avoid an ICE warning.
C:\Users\colinf\Documents\Mycompany\V4\RMWix\MyExitDialog.wxs    38    1
RMWix

I tried shooting in the dark and putting a 'sequence="2"' (Is 2 a good
number? Bad? I have no idea.) but then it complained that I can't have both
an OnExit and a sequence attribute.

I hate to keep bothering the list with small stuff, but I just can't seem to
find where this is documented. The Wix.chm file doesn't really go into
details on customizing your dialogs.

-- 
Regards,
 cf
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to