If you are the author of the MSI, then why not set the condition up properly in 
the first place? You can condition your actions based on a property, and then 
in your immediate CA you can modify the value of your property so your install 
takes the appropriate action. 

-----Original Message-----
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: Monday, March 17, 2014 12:58 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Changing the condition of an existing action.

I am looking for a way to open the msi database, check and see if a specific 
action exists in the InstallExecuteSequence table, and if it exists to modify 
the Condition statement related to that action.  I have been considering doing 
this either at compile time but am concerned about the fact that the order of 
processing nodes is not something which should be assumed.  I am also looking 
at doing it in an immediate action but do not know if it is possible to change 
the Condition statement of an existing action at runtime.

1) Is it possible to change the Condition string of an entry in 
InstallExecuteSequence using an immediate CA?
2) In either case above, if one is possible, can you suggest any example code 
(or relevant functions) in the wix src (or elsewhere) which might be useful to 
study.  (I think I see how to open the db but it is the issue of changing it 
that am researching.  I read about adding a temporary record, but I am looking 
for a way to modify when an existing record is fired.)

Thanks
Phill



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Changing-the-condition-of-an-existing-action-tp7593475.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to