Re: [WiX-users] rename a file in a patch made using Pyro.exe

2010-02-08 Thread Yan Sklyarenko
, if you have no option, it can save you. :) -- Yan -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Saturday, February 06, 2010 02:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] rename a file in a patch made using Pyro.exe Hi, I am using Pyro.exe to make

Re: [WiX-users] rename a file in a patch made using Pyro.exe

2010-02-06 Thread Rob Mensching
As you've found there is no way to rename a file. The only option is to delete then add. Delete is very difficult (as detailed by Peter). Add means you must create a new Component. These operations are very difficult to do via a patch. Can you wait until the next major upgrade of your product?

[WiX-users] rename a file in a patch made using Pyro.exe

2010-02-05 Thread Lian Jiang
Hi, I am using Pyro.exe to make a patch. When I change the Name and Source attributes of a file (KeyPath='yes'), Pyro threw error Patches cannot change the keypath of a component. This behavior is confirmed by http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx: The first error