Did the user ever edit it?

The default behavior in msi ( REINSTALLMODE property set to OMUS ) for 
unversioned resources is that if the creation and modification date differ, 
don't replace the file.   

MSI/XML can be tricky when you get into situations where the developers want it 
both ways.  They make a schema change to an XML file that also has 
configuration data and they want the XML file upgraded and the configuration 
data persisted.  It's not too difficult for a file here or there but once I 
worked as a company that had a data driven SaaS application that had thousands 
of these files. 

Regards,
Chris


Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Mon, 6/30/08, Chris Ridd <[EMAIL PROTECTED]> wrote:

> From: Chris Ridd <[EMAIL PROTECTED]>
> Subject: [WiX-users] Protecting "config" files during an upgrade
> To: wix-users@lists.sourceforge.net
> Date: Monday, June 30, 2008, 12:58 AM
> In a mistaken piece of design, one of our MSI packages ends
> up  
> installing a file that we expect the user to then edit.
> 
> Unfortunately doing a package upgrade (or even just a
> repair of the  
> current package, I guess) loses those edits by replacing
> the file.
> 
> Are there any attributes that can be set on the File to
> mark it as  
> user-editable/preserve on upgrade? I'm led to believe
> that  
> Installshield had a flag like this.
> 
> Cheers,
> 
> Chris
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


      

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to