Hi: 
Ok, given this limitation of deferred execution custom actions, how in mu 
custom action definition in wix source can I only schedule the custom action to 
execute if a component is being acted upon.
Essentially, what value does the component state equal when a rollback is 
occurring?
Any help appreciated.
Cheers
Sean. 
-----Original Message-----
From: Christopher Painter [mailto:chr...@deploymentengineering.com] 
Sent: 06 January 2011 22:15
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] component state during rollback


Deferred custom actions ( including commit and rollback ) can't access 
component state API's.  They can only access what was serialized to them 
through the CustomActionData property.

I think your question might indicate a misconception on how it all works.  
During the script generation phase the script is generated and it's only during 
the script execution phase that the operations are executed and a rollback 
occurs if needed.

Have you read: http://www.installsite.org/pages/en/isnews/200108/index.htm

Chris

--- On Thu, 1/6/11, Sean Farrow <sean.far...@seanfarrow.co.uk> wrote:

> From: Sean Farrow <sean.far...@seanfarrow.co.uk>
> Subject: [WiX-users] component state during rollback
> To: "wix-users@lists.sourceforge.net" 
> <wix-users@lists.sourceforge.net>
> Date: Thursday, January 6, 2011, 7:54 AM
> Hi:
> When executing a rollback custom action, what will be the state of 
> components that were selected through features to be installed?
> Regards
> Sean.
> ----------------------------------------------------------------------
> -------- Learn how Oracle Real Application Clusters (RAC) One Node 
> allows customers to consolidate database storage, standardize their 
> database environment, and, should the need arise, upgrade to a full 
> multi-node Oracle RAC database without downtime or disruption 
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


      

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to