Im not aware of a way to select files to be excluded rather than
included. However, if you do as you suggest and put ComponentRefs (or
CustomactionRefs or PropertyRefs etc) into a PatchFamily then only those
things will be included in the patch.

Have a look at this comment on Peter Marcu's very useful post on wix
patch building 
http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx#559121
2



-----Original Message-----
From: gree...@cox.net [mailto:gree...@cox.net] 
Sent: 10 June 2009 05:32
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Leaving certain files out of a patch.

I am using Wix 3 to create a patch.  The Target and Upgraded msi's were
both created using Wix 3.  I would like to know how to have the patch
ignore certain files using a purely wix patch creating solution.

I could always used the UpgradedFilesToIgnore table ala pcp files and
patchwiz.dll.  Is the ComponentRef element under the PatchFamily element
the way to do this.  I image that this prevents patching of an entire
component, not just individual files.

I am not clear from the schema documentation for patching on how to do
this.  Would the .PCP file, patchwiz.dll, msimsp.exe be a better
solution?

Thanks
greenaj


------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new
simplified licensing option that enables unlimited royalty-free
distribution of the report engine for externally facing server and web
deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.  
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to