So I assume that the AddLocal and Remove events wouldn't function if I ran
the UI earlier? That certainly isn't documented anywhere that I can find. It
is certainly the case that ADDLOCAL and REMOVE can be set before
CostFinalize for example on the command line so I am surprised. The nearest
to a reference I can find is
http://msdn.microsoft.com/en-us/library/aa367842(v=vs.85).aspx - is that
what you are referring to?

The whole thing of having two almost independent and mutually exclusive ways
of specifying if components and features should be installed really confused
me when I first came to WiX and I still have to experiment to find out how
things work in real world cases. I am reduced in most cases to programming
by trial and error and hoping I don't end up relying on a bug or accidental
feature which will disappear in a later version which is unpleasant.

I haven't found any documentation which says that you can re-run the
standard actions and it is an approach I would never have thought of. I
would expect the effect of re-running them would be un-defined behaviour
messing up your whole installation at worst and a crash at best. I'd
certainly expect lots of custom actions scheduled after CostFinalize to get
rather confused - would they get run twice?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Why-is-WiX-UI-executed-after-CostFinalize-tp6047911p6053067.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to