Hi
 
On a related note to my previous post (rules on overwriting files), I
wonder, what exactly the effect of placing the <RemoveExistingProducts> is.
 
I'm doing major upgrades only. No shared components.
 
In order to make the upgrade as efficient as possible, I currently use
  <RemoveExistingProducts After="InstallFinalize" />
or 
  <RemoveExistingProducts Before="InstallFinalize" />
in order to make it into one transaction (all or nothing). 
 
See
  http://msdn2.microsoft.com/en-us/library/aa371197(VS.85).aspx
 
Now I wonder if I should actually use 
  <RemoveExistingProducts After="InstallInitialize" />
 
Using this sequence, is it true that 
1. all files are removed before any new files are copied
2. so no version comparison is done - the REINSTALLMODE flags are irrelevant
3. so even files with Component/@NeverOverwite are newly installed (because
any existing file was removed)
4. this way I can do consistent downgrades (all components are downgraded to
the packaged version)
5. on repair, the @NeverOverwite files are safely left alone?
 
this would be exactly the way I'd like it to be! 
 
Maybe
6. this is less efficient when a lot of files stay the same (because all
these files are first deleted, then re-copied)
but that's ok.
 
Thanks for all help an reassurance,
_Mark
 
 
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to