Hi
 
I'm currently strugling to understand file overwriting rules in different
scenarios. (I know this is somewhat off WiX topic and more general MSI
knowledge - but then what isn't? :) 
 
I understand the REINSTALLMODE property controls when components do
overwrite one another or not.  
http://msdn2.microsoft.com/en-us/library/aa371182.aspx
 
So if I want to be able do do 'copy&paste' installs (allowing downgrades!)
I'd probably include 
 
    <Property Id="REINSTALLMODE" Value="dums" />
 
But I can only do so globally, right?! 
 
Except for Component/@NeverOverwrite I habe no means to control this on
individual components, right?
 
Another big question: what happens during repair? 
 
On the above link it says /f has a default mode of 'pecms', but to my
understanding 'e' includes 'p' so this makes no sense. And on the following
page (which is linked from the above) it says /f has 'omus' as the default -
???
http://msdn2.microsoft.com/en-us/library/aa367988(VS.85).aspx
 
Very confused.
 
Background: 
I have a database file, that on install must be copied over an existing one,
even if this is newer.
On the other hand, the same database file must never be overwritten during
repairs, as it now contains user data.
 
Background to the background: 
Prior to an upgrade, the data from the installed db file is dumped (in a
version independant form). 
The presence and "freshness" of the dump is checked using a selfmade custom
action / launch condition. 
The dumped data is later reloaded into the freshly installed database file. 
 
 
Thanks for all help,
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