You can tell windows installer to do it from the command line. https://msdn.microsoft.com/en-us/library/aa371182(v=vs.85).aspx
a Force all files to be reinstalled, regardless of checksum or version. I think you can also use a custom action to set the REINSTALLMODE/REINSTALL properties from within the MSI, but I would be very careful when doing it. Ex: http://ehc.ac/p/wix/mailman/message/20369655/ -----Original Message----- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: Tuesday, March 17, 2015 12:01 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Repair does not repair data files It's not repairing them because they've changed - they contain user entered data and Windows is typically reluctant to destoy user data. I don't know of a way to fix your problem off the top of my head without you doing something explicit, such as actually removing the files and then doing the repair. --------------- Phil Wilson On Tue, Mar 17, 2015 at 5:20 AM, Даниил Мусиенко <musie...@ascon.ru> wrote: > Hello, > I made a installer with wix. It installs some executable and data files. > If I change executable files and repair installation all changed files > will be replaced by original files. > But if I change data files and press repair data files will not be > replaced by original files. > > So, how can I replace all files by original on repair action? > I reed that I can set parameter to msiexec, but I want User to be able > to repair all files by click repair button in "Add/Remove Programs" > panel > > Thank you, > > Daniil Musienko > ASCON > > > ---------------------------------------------------------------------- > -------- Dive into the World of Parallel Programming The Go Parallel > Website, sponsored by Intel and developed in partnership with Slashdot > Media, is your hub for all things parallel software development, from > weekly thought leadership blogs to news, videos, case studies, > tutorials and more. Take a look and join the conversation now. > http://goparallel.sourceforge.net/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users