Hi All,
I'm trying to implement msi UI in WIX and have some questions. My first question: I have three dialogs which have the same edit boxes (5 edit boxes), but values should end-up in different properties, what is the best approach? Should I create three separate dialogs which will be different only in names of properties and some dialog description and title? Should it be one dialog, which will have Indirect set to yes? Second question: I have some custom dialogs which should be shown only in case if some specific feature (features) is selected, so currently I was thinking only about next possible solution: <Publish Dialog="Dlg1" Control="Back" Event="NewDialog" Value="CustomizeDlg">1</Publish> <Publish Dialog="Dlg1" Control="Next" Event="NewDialog" Value="Dlg2" Order="1"> !Feature1 = 2 AND &Feature1 = 3</Publish> <Publish Dialog="Dlg1" Control="Next" Event="NewDialog" Value="Dlg3" Order="2"> !Feature2 = 2 AND &Feature2 = 3</Publish> <Publish Dialog="Dlg1" Control="Next" Event="NewDialog" Value="Dlg4" Order="3"> !Feature3 = 2 AND &Feature3 = 3</Publish> <Publish Dialog="Dlg1" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4"> 1</Publish> <Publish Dialog="Dlg2" Control="Back" Event="NewDialog" Value="Dlg1" Order="1">!Feature1 = 2 AND &Feature1 = 3</Publish> <Publish Dialog="Dlg2" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="2">1</Publish> <Publish Dialog="Dlg2" Control="Next" Event="NewDialog" Value="Dlg3" Order="1"> !Feature2 = 2 AND &Feature2 = 3</Publish> <Publish Dialog="Dlg2" Control="Next" Event="NewDialog" Value="Dlg4" Order="2"> !Feature3 = 2 AND &Feature3 = 3</Publish> <Publish Dialog="Dlg2" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="3"> 1</Publish> <Publish Dialog="Dlg3" Control="Back" Event="NewDialog" Value="Dlg2" Order="1">!Feature1 = 2 AND &Feature1 = 3</Publish> <Publish Dialog="Dlg3" Control="Back" Event="NewDialog" Value="Dlg1" Order="2">!Feature1 = 2 AND &Feature1 = 3</Publish> <Publish Dialog="Dlg3" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="3">1</Publish> <Publish Dialog="Dlg3" Control="Next" Event="NewDialog" Value="Dlg4" Order="1"> !Feature3 = 2 AND &Feature3 = 3</Publish> <Publish Dialog="Dlg3" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="2"> 1</Publish> <Publish Dialog="Dlg4" Control="Back" Event="NewDialog" Value="Dlg3" Order="1">!Feature2 = 2 AND &Feature2 = 3</Publish> <Publish Dialog="Dlg4" Control="Back" Event="NewDialog" Value="Dlg2" Order="2">!Feature1 = 2 AND &Feature1 = 3</Publish> <Publish Dialog="Dlg4" Control="Back" Event="NewDialog" Value="Dlg1" Order="3">!Feature1 = 2 AND &Feature1 = 3</Publish> <Publish Dialog="Dlg4" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="4">1</Publish> <Publish Dialog="Dlg4" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="1"> 1</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="Dlg4" Order="1">!Feature3 = 2 AND &Feature3 = 3</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="Dlg3" Order="2">!Feature2 = 2 AND &Feature2 = 3</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="Dlg2" Order="3">!Feature1 = 2 AND &Feature1 = 3</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="Dlg1" Order="4">!Feature1 = 2 AND &Feature1 = 3</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="5">1</Publish> It is the small example for 4 dialogs (and this part is only related to next/back handling base on feature selection, but I also need to call some custom actions to verify some input information). Currently I have 7 custom dialogs, I still not sure, but most probably all of them will be based on feature selection, so to add for example one more dialog, I will need to modify all other dialogs next/back events. Is there central place, where I can specify condition for showing dialog? Best Regards, Igor SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users