Sagar Let's go back to your original message:
{If the user presses WarningDialog 'Do not proceed' button in WarningDialog, i should close WarningDialog and return to Dlg1. Everything works fine till this point. What i want is If the user presses 'Proceed Anyways' dialogbox in WarningDialog, i should close WarningDialog and navigate to Dlg2.....} As I can see that now on clicking Proceed Anyways you are setting a property PROCEED=1. What you need now is only to check this property on Dlg1's Next button's NewDialog event. <Publish Dialog="Dlg1" Control="Next" Event="NewDialog" Value="CustomizeDlg" Order="5"><![CDATA[PROCEED ="1"]]></Publish> This should work. Regards Rohit -----Original Message----- From: Sagar1111 [mailto:sagarkavitak...@gmail.com] Sent: Friday, March 26, 2010 10:57 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix UI navigation Help Hi Rohit How can we call a WarningDialog from custom action ? Following is the code snippet of my wxs file which is calling WarningDialog. <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="&Next"> <Publish Event="DoAction" Value="Check" Order="1">1</Publish> <Publish Event="SpawnDialog" Value="WarningDialog">WARNING = "1"</Publish> <Publish Event="NewDialog" Value="Dlg2">PROCEED = "1" OR WARNING="0"</Publish> </Control> <Dialog Id="WarningDialog" Width="260" Height="85" Title="Warning"> <Control Id="No" Type="PushButton" X="132" Y="57" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUINo)"> <Publish Event="EndDialog" Value="Return">1</Publish> </Control> <Control Id="Yes" Type="PushButton" X="72" Y="57" Width="56" Height="17" Text="!(loc.WixUIYes)"> <Publish Property="PROCEED" Value="1">1</Publish> <Publish Event="EndDialog" Value="Return">1</Publish> </Control> <Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30" NoPrefix="yes" Text="Hey Do u wish to proceed?" /> </Dialog> -- View this message in context: http://n2.nabble.com/Wix-UI-navigation-Help-tp4796837p4802225.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ======= Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. or any of its affiliates or subsidiaries that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users