Options that work: 1) give the text file a versioned binary CompanionFile; 2) play games with the timestamp per other discussions on this list.
I currently use the CompanionFile technique in production, but I am intrigued by manipulating the timestamps and I have a task for myself to implement a table-driven "touch" custom action to put that into practice. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Andrew Makhorin [mailto:m...@gnu.org] Sent: Tuesday, December 10, 2013 8:15 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] repair does not repair file that was changed I tried the following options in wix xml: <Property Id="REINSTALLMODE" Value="amus" /> - doesn't work <File ... DefaultVersion= ...> (file version lying) - doesn't work <RemoveFile ... On="both' ...> - doesn't work In all cases the installer (Windows 7, IA-64 machine) does not overwrite text files that have been installed and then changed with a text editor. Moreover, even if I remove these files by hand and uninstall the product, after installing the changed version of these files appear rather than the original one. Is there any reliable way to always overwrite non-versioned files on installing/repairing the product? Thanks. ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users