You can do something called Version lying.  Basically you author your WXS 
to say the text file has a version number and now it'll always reinstall.  
There are some down sides though. 

http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Forcing-overwr
ite-of-text-file-td711667.html 

----------------------------------------
 From: "Andrew Makhorin" <m...@gnu.org>
Sent: Monday, October 28, 2013 8:41 AM
To: "General discussion about the WiX toolset." 
<wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] repair does not repair file that was changed

On Sun, 2013-10-27 at 05:53 -0700, Christopher Painter wrote:
> 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.
> 

Thank you very much for your quick reply.

Is there any way to tell the installer to always install original files
provided in .msi on repairing/reinstalling the product?

----------------------------------------------------------------------------
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most 
from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk


_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to