I was under the impression that while it is only permitted to *trigger*
one "NewDialog" operation, it is permitted to include definitions for
several trigger operations as long as the conditions under which the
separate dialogs are shown are mutually exclusive.

I agree however that is not what the documentation (currently at
http://msdn2.microsoft.com/en-us/library/aa368037.aspx) appears to
suggest.

One thing I would make sure of... presumably the default state for
&MyFeature will be set during CostFinalize (which I believe should have
occurred before the UI is shown). I have a horrible sneaking suspicion
that any modifications the user makes to the feature installation state
will not be stored until the next dialog is triggered... which means
that at the time you are performing the test (still inside the
CustomizeDlg) the value for &MyFeature will not yet have been modified.
(A look at the verbose log may confirm this).

In the sample from the tutorial, the property being tested was already
set before entering the CustomizeDlg, and is not modified by the
CustomizeDlg. As a result, it operates correctly.

Of course, this is just a hypothesis. Hopefully someone with more
Microsoft Installer knowledge will be able to confirm if I am barking up
the wrong tree!

Regards,
Richard (there are too many of us around here! :-) )

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: Tuesday, October 23, 2007 8:44 PM
To: WiX Users
Subject: Re: [WiX-users] Feature selection conditions don't work on
reinstall


In article <[EMAIL PROTECTED]>,
    OneReallyCoolApplication <[EMAIL PROTECTED]>  writes:

> But how come the sample WiX code from Tramontana has multiple
NewDialog
> events?

Because its buggy?  I didn't write that sample code, so I can't tell
you why it is the way it is.

However, if you look at the Windows Installer documentation, you will
the restriction of a single NewDialog control event on any given
control.

If you don't observe the restriction, sometimes it works.  But its
only working by accident, not by design.
-- 

"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

------------------------------------------------------------------------
-
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



* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Quixote Traffic 
Corporation is neither liable for the contents, nor for the proper, complete 
and timely transmission of (the information contained in) this communication. 
If you have received this communication in error, please notify the author by 
replying to this e-mail immediately and delete the material from any computer.



-------------------------------------------------------------------------
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