You could pass REINSTALLMODE=amus so that all files are overwritten by the 
newer MSI - https://msdn.microsoft.com/en-us/library/aa371182%28v=vs.85%29.aspx

> On Apr 13, 2015, at 9:36 AM, Lukas Rieger <lrie...@nemetschek-engineering.at> 
> wrote:
> 
> I have the same issue as described here: 
> http://stackoverflow.com/questions/15138731/wix-major-upgrade-not-installing-all-files
> After a major upgrade a few files are missing. After a repair, they 
> reapper, and with a clean install, they are also correctly installed.
> The log contains
> Disallowing installation of component: {GUID-OF-COMPONENT} since the same 
> component with higher versioned keyfile exists
> 
> The remove is currently scheduled as afterInstallInitialize.
> 
> To make sure that all files are really updated, I use this pattern for 
> each file:
>            <Component Directory="APPLICATIONFOLDER" Permanent="no" Guid="
> c88f271e-6225-47a0-b3d7-a2ed7e8b3603" Id="
> CotEm3PsKG0Qw7tmSelwF4HoqeWDPAs_IPcvyLhIKa94">
>                <File Id="file1DGrKlnB0IDTi2JXC4XTtVRF3c.Y0zf2f8M9I9hdGpk" 
> Source="#source#" />
>                <RemoveFile Id='
> removeFile1DGrKlnB0IDTi2JXC4XTtVRF3c.Y0zf2f8M9I9hdGpk' On='install' Name='
> #name#'/>
>            </Component>
> Basically I want to just write all files contained in the MSI to disk, 
> overwriting all existing files.
> Guids and IDs are generated by System.Guid.NewGuid(), so the component 
> rules are totally violated and I can't just change the scheduling of 
> removeExisting.
> 
> What are my options to solve the issue?
> I know I could use a stable ID/Guid generation algorithm (I could probably 
> just use the one provided by Wix) so that the component rules are no 
> longer violated and schedule it afterInstallExecute (or Finalize), but I 
> would like to keep the current sequence where it is first uninstalled and 
> then cleanly reinstalled.
> 
> Thank you,
> Lukas
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to