Scheduling RemoveExistingProducts "late" (that is: close to InstallFinalize, either right before or right after) requires that you are rigorous in following the famous Component Rules (specifically, you need to make sure that files named the same placed in the same directory always have the same GUID while files with different names or placed in different directories have different GUIDs). It is advisable that no component contain more than one file (except for additional file(s) that are so intimately related to the keypath file that there is no way that they could ever be used apart under any possible scenario, such as PDB and ".exe.config" and similar files).
-----Original Message----- From: Stefan Kuhr [mailto:kustt...@gmx.li] Sent: Tuesday, June 01, 2010 12:06 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Files missing after major update - what am I doing wrong? Hi Blair, I did some more investigation and reading archived posts to this group. Until now I had RemoveExistingProducts scheduled before InstallInitialize in all my installs. If I now schedule it after InstallFinalize, everything seems to work. Is this the way to go? Is there any downside to schedule RemoveExistingProducts after InstallFinalize? Can I do this for every install? I mean, all my installations up to now had RemoveExistingProducts scheduled before InstallInitialize, are there any "types" of installs (whatever that is) that should not schedule RemoveExistingProducts after InstallFinalize? E.g. installs that install services or some other sort of unusual installs? What can break if I schedule RemoveExistingProducts after InstallFinalize? Any advice appreciated, -- Stefan Kuhr -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Files-missing- after-major-update-what-am-I-doing-wrong-tp5125447p5127517.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users