Hey all,

Fairly simple problem for most that I'm having.  It's an issue with my UI
sequence on the exit.

Using wix 3.x, I want to conditionally choose to show one Dialog or the
other.  Something like this (which was ok for wix 2.x but yet again I'm
having trouble when moving to 3.x :|):

            <InstallUISequence>
                <Show Dialog="ExitDialog"
OnExit="success"><![CDATA[WIXUI_CONDITION]]></Show>
                <Show Dialog="ExitDialog" OnExit="success"><![CDATA[NOT
WIXUI_CONDITION]]></Show>
            </InstallUISequence

(the WIXUI_CONDITION is made-up, but I do something like that)

However, this sort of thing doesn't work with wix 3.x because I'll get the
linker error:
warning LGHT1050 : The InstallUISequence table contains actions 'ExitDialog'
and 'AltExitDialog' which both have the same sequence number -1.  Please
change the sequence number for one of these action
s to avoid an ICE warning.
error LGHT0204 : ICE82: This action AltExitDialog has duplicate sequence
number -1 in the table InstallUISequence

(well, in this case it builds the MSI but then it doesn't honor the
condition :|)

However if I add a Sequence number, I'll get a compile error:
error CNDL0071 : The sequence number for a Show element can be specified at
most once, with either a 'Sequence' or 'OnExit' attribute, but not both.

Could anyone help me with how I should properly do this?  Appreciated as
always :)

Steve
-- 
View this message in context: 
http://www.nabble.com/Conditional-Show-Dialog-with-onExit-tf4320378.html#a12303058
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to