The repair is wanted from ARP, so a command line probaby won't fit
that requirement. Setting REINSTALLMODE might work, but it carries a
lot of dangerous baggage because "a" is the only choice and it
overwrites all files. If you include merge modules (from MS or 3rd
parties) you don't really want to be reinstalling your old versions
over their updated fixes (such as security fixes). I'm not sure that
shared components from two MSIs work either, in the scenario where a
later MSI updated shared files that you installed, and your repair
insists on reverting those newer files back to your older version.

---------------
Phil Wilson


On Tue, Mar 17, 2015 at 10:10 AM, Hoover, Jacob
<jacob.hoo...@greenheck.com> wrote:
> 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

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

Reply via email to