Thanks for the information! It has been very helpful. Luciana --- On Sat, 25/4/09, Heath Stewart <clubs...@gmail.com> wrote:
From: Heath Stewart <clubs...@gmail.com> Subject: Re: [WiX-users] Is it allowed to remove all files within a component with a patch? To: istoc_luci...@yahoo.com, "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Date: Saturday, 25 April, 2009, 6:36 PM Generally you should not remove files in a patch, but if you must: within the same component that owns the files remove the File elements and add RemoveFile elements for the same files. You cannot, however, remove the KeyPath file legally. You also cannot remove the component or you will break any parent features. See http://blogs.msdn.com/heaths/archive/2006/01/23/516457.aspx (trackbacks to that post also have some recommended solutions, but our blog server is currently down for maintenance and should be back up later this weekend). On Sat, Apr 25, 2009 at 2:44 AM, luciana istoc <istoc_luci...@yahoo.com> wrote: Hi, Does Windows Installer allow to remove all the files authored within a component by applying a patch? For example a patch (small update) would like to remove both files from the next component: <Component Id="Comp_1" Guid="884C0AD3-4249-41d5-A722-60007DC9402B"> <File Id="file_1.txt" Name="file_1.txt" KeyPath="yes"/> <File Id="file_2.txt" Name="file_2.txt"/> </Component> ........................................................................ <Feature Id="ProductFeature" Title="Test feature" Level="1"> <ComponentRef Id="Comp_1" /> <ComponentRef Id="Comp_2" /> </Feature> ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign 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 -- Heath Stewart Deployment Technologies Team, Microsoft http://blogs.msdn.com/heaths ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users