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.  If you 
uninstalled, and everything was removed, then reinstalled, everything should be 
correct.



On Sunday, October 27, 2013 7:59 AM, Christopher Painter <chr...@iswix.com> 
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.

----------------------------------------
From: "Andrew Makhorin" <m...@gnu.org>
Sent: Sunday, October 27, 2013 2:55 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] repair does not repair file that was changed

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 original version provided in .msi. Moreover, if I do the
same under Windows 7 (on IA-64 machine) and then uninstall the product,
all installed files, directories, menu entries, etc. disappear, as it
has to be, but when I reinstall the product, there appears the changed
file rather than the original one. Please tell me what is wrong?

Thank you very much,

Andrew Makhorin

----------------------------------------------------------------------------
--
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
------------------------------------------------------------------------------
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