Hi 

We are working within a constrained environment which defines a set of
custom actions and custom tables for a deployment framework using wix. 

I am looking at creating simple patches for MSIs which will ONLY copy
modified files or new files to servers as some of the MSIs are reasonably
complex and do not warrant a full upgrade for a couple of file changes. 

I have looked at both methods - using "Patch Creation Properties" and also
using the "Purely Wix" methods described in the documentation at
http://wix.sourceforge.net/manual-wix3/patching.htm

The issue I have in both cases is that the patch appears to run the
ExecXmlFile custom action which "injects" properties from a custom table
into our config files and in the patch the properties are blank.  I do not
fully understand this but I suspect it is something to do with the custom
actions in our framework whcih are effectively a black box. 

However, we would be happy to omit this step as all we really need is a way
of copying new or modified files within the patch. 

I have reviewed the documenation and tried various approaches but cannot
find a way to do this successfully as yet. 

Things I have tried or investigated; 

Patch Creation Properties
 - Looked at trying to populate UpgradedFilesToIgnore to see if I could add
the config files to this but could not find a way to do this within the
patch.wxs - not sure if this would suppress the ExecXmlFile action anyway? 
 - Delete files from the admin upgrade target install to try to get them to
be ignored - no success as I think the custom action still runs 

Wix Only
 - In the Patch file only reference a single component (which doesn't
include any util:XmlFile calls) - still runs the custom action 
 - In the MSIs added <Condition>NO PATCH</Condition> to the component(s)
which include the util:XmlFile calls 





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Patching-tp7579825.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to