You can add a file in a patch. You create a new component for the file in the updated MSI and reference that component in your patch in the usual way.
-----Original Message----- From: Muzikayise Flynn Buthelezi [mailto:muzkay...@gmail.com] Sent: 03 October 2012 15:17 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] adding new file in MSP Good afternoon Team, trust everyone is well. i was wondering if someone may kindly assist with the following: *Adding new files to an MSP:* currently i have setup patching to use OLD.wixpdb and New.wixpdb to get diff.wixmst then using this to create patch.msp this work really well, but now there's a file that's been added to New.wixpdb and i want to this file to be included with the other files i update. is there a way to include new files? I know that msp cannot remove files, just not sure about adding tho thanks in advance, <Patch AllowRemoval="yes" Classification="Update" Comments="Patch for Test $(var.MFBProductVersion).$(var.MFBProductRevision)" Description="Updates Test $(var.MFBProductVersion).$(var.MFBProductRevision)" DisplayName="Test $(var.MFBProductVersion).$(var.MFBProductRevision)" Manufacturer="MFB" TargetProductName="Test $(var.MFBProductVersion).$(var.MFBProductRevision)"> <Media Id="1000" Cabinet="TestSMPatch.cab"> <PatchBaseline Id="TestSMPatch" /> </Media> <PatchFamily Id="MFBPatchFamily" Version="$(var.MFBProductVersion).$(var.MFBProductRevision)" MFBProductCode="$(var.MFBProductCode)" Supersede="yes"> <!-- Automatically add files that are different --> </PatchFamily> </Patch> -- Best always, Muzi +27 82 594 4807 *Light, Love & Prosperity in Abundance!!!* ----------------------------------------------------------------------------- - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ 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. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users