Bob, thanks for confirming my current understanding.

... so to *conditionally* display a custom dialog right before the last
dialog one must do the following:

a) have the exit dialog which is really two dialogs in one, with
controls hidden or shown, based on condition.
For ex. if the condition is false it shows the Finish button, otherwise
it shows the Next button.

b) have the last dialog, shown after the exit dialog if condition is
true, which looks exactly like the one above when condition is false


-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 29, 2008 12:11 PM
To: Tony Juricic
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Show dialog before ExitDialog

Tony Juricic wrote:
> Or do I have to 'cheat' and put in the example above the dialog that I
> want shown before 'the true exit dialog' and then link its Next button
> to the actual exit dialog? 
>   

Correct. MSI supports only one 'exit' dialog but it can show additional 
dialogs.

> If that is the case, what event must be published by the Finish
button?
> Something like:
>  <Control="Finish" Event="OnExit" Value="success" /> ?
>   

The WixUI dialogs do this:

<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" 
Value="Return" Order="999">1</Publish>

-- 
sig://boB
http://joyofsetup.com/





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to