[WiX-users] repair does not repair file that was changed

2013-10-27 Thread Andrew Makhorin
Hello, I made a .msi installer with wix. It installs some files into a directory created in 'Program Files', and all works fine. However, if I change (with a text editor) a file that has been installed and then attempt to repair the product, the file is not repaired, i.e. it is not replaced by an

Re: [WiX-users] repair does not repair file that was changed

2013-10-27 Thread Christopher Painter
This is normal as the Windows Installer will generally attempt to preserve user data during installation. See: http://msdn.microsoft.com/en-us/library/aa368599(v=vs.85).aspx and adjacent pages. From: "Andrew Makhorin" Sent: Sunday, October 27, 2013 2:

Re: [WiX-users] repair does not repair file that was changed

2013-10-27 Thread Brian C
If the Modified Date of the file is not the same as the Created Date, then Windows Installer will NOT overwrite the file in a Repair situation, as it thinks the user has modifications to the file that it needs to respect, so this is the correct behavior.  As for the second issue, I am not sure.