I can agree that relying on conditions like Not Installed during custom 
actions does not scale.  Component Action states are a much better 
indicator of when to do something.


My only regret is that MSI never implemented a pattern for hooking into the 
resilency process. It would have been nice for me to be able to write a 
component checker provider to indicate if the custom things associated to a 
component are in a good state or not.

----------------------------------------

From: "Rob Mensching" <r...@robmensching.com>

Sent: Friday, February 03, 2012 12:25 AM

To: "General discussion for Windows Installer XML toolset." 
<wix-users@lists.sourceforge.net>

Subject: Re: [WiX-users] Custom Action Condition Table


Better to write your CustomActions to be data driven and use Component

states to control when things get installed. That's what the WiX custom

actions do so there is plenty of example code.


On Thu, Feb 2, 2012 at 8:05 PM, Amit Khurana <amit.khur...@gmail.com> 
wrote:


> Yes. But I don't want to include these files. I would like to see simple

> chart which use these properties e.g. REMOVE="ALL", Installed, NOT

> Upgrading, NOT Uninstalling AND NOT UPGRADINGPRODUCTCODE and tell me 
where

> they are applicable. But I think I'll try to get that information from 
this

> link that you provided.

>

> Thanks very much for the link.

>

> Amit

>

> --

> View this message in context:

> 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-
Condition-Table-tp7246590p7249613.html

> Sent from the wix-users mailing list archive at Nabble.com.

>

>

> 
----------------------------------------------------------------------------
--

> Try before you buy = See our experts in action!

> The most comprehensive online learning library for Microsoft developers

> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,

> Metro Style Apps, more. Free future releases when you subscribe now!

> http://p.sf.net/sfu/learndevnow-dev2

> _______________________________________________

> WiX-users mailing list

> WiX-users@lists.sourceforge.net

> https://lists.sourceforge.net/lists/listinfo/wix-users

>


-- 

virtually, Rob Mensching - http://RobMensching.com LLC

----------------------------------------------------------------------------
--

Try before you buy = See our experts in action!

The most comprehensive online learning library for Microsoft developers

is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,

Metro Style Apps, more. Free future releases when you subscribe now!

http://p.sf.net/sfu/learndevnow-dev2

_______________________________________________

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to