Oops, I meant this for the first <Publish/>:
<Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog"
Value="TestTextEnter" Order="1"><![CDATA[(&Feature2=3)]]></Publish>
On 1/4/07, Levi Wilson <[EMAIL PROTECTED]> wrote:
Ahhh! Thank you so much! I've been messing around with this for a bit,
and finally got it to work. I did run into a problem at first when I had
the following for the CompleteButton in the SetupTypeDlg:
----------------------------
<Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog"
Value="TestTextEnter"><![CDATA[(&Feature2=3)]] Order="1"></Publish>
<Publish Dialog="SetupTypeDlg" Control="CompleteButton"
Event="NewDialog" Value="VerifyReadyDlg" Order="2">1</Publish>
----------------------------
When the "Order" attribute was included, the condition always defaulted to
go to "VerifyReadyDlg" (I'm assuming because of the "1" condition?). When I
removed the "Order" attribute, it worked as expected. Can you explain this
behavior? I has assumed that the "Order" attribute would evaluate them one
by one (starting with an order of 1) until a condition was met. This was
not the case (unless I overlooked something). Thanks again for any
information that you can provide me.
- Levi
On 1/4/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
>
> Levi Wilson wrote:
> > Is it possible to optionally display a dialog in the wizard sequence
> > depending upon the features selected? Say that a component requires a
> > user to enter a server name....how do I not display the dialog in the
> > sequence if the component is not selected all the while not messing up
> > the UI wizard? Forgive my MSI parlance.
>
> Yes, it is but it's not terribly straightforward. The wizard sequence is
> faked in that the Back and Next buttons manually point to the right
> dialogs. To support branching, you need to have a dialog's Next button
> point to two different dialogs conditioned on the feature's action
> state.
>
> Unfortunately, I don't know of any examples. I hope to eventually add
> dialogs to the server custom actions and they'll demonstrate what you
> need. Unfortunately, that's a ways off yet.
>
> --
> sig://boB
> http://bobs.org
>
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users