RemoveFile table entries are always associated with a component http://msdn.microsoft.com/library/aa371201.aspx If you removed the RemoveFile table, you would be changing component contents, which is not allowed.
You could possibly add a condition of NOT PATCH on the RemoveFiles action so that it doesn't run during a patch. Be warned that this will affect all removefile elements in the current and future versions until you release a new baseline MSI. -----Original Message----- From: Fyodor Koryazhkin [mailto:fyodor...@gmail.com] Sent: 16 October 2012 22:25 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Removing table in the Patch Hi, I have an installer that has two entries in RemoveFile table. This is done to update during Major upgrade files that were edited by the customer. During Patch this leads to problem because files are deleted therefore these entries were removed in new package. There is no problem with one patch and files remaining on the disk but when the second patch is created with removed table it cannot be applied. It does not matter in what sequence patches are installed they cannot be applied on each other. The question is whether during patch installation tables or individual entries in tables not related to Components can be removed? Thank you. -- Regards, Fyodor Koryazhkin.. ----------------------------------------------------------------------------- - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ 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. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users