Author your installer package as a Major Upgrade. That will give you a package 
that can do fresh installs and upgrades.

Xml schema/content migration is something I haven't figured out how to do 
acceptably within a MSI package. I'm very interested in hearing how others 
tackle this problem.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail


> -----Original Message-----
> From: Mathis Thomas [mailto:t...@bica.ch]
> Sent: Tuesday, June 15, 2010 4:40 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Best practice: Upgrade XML Config File (.Net)
> 
> Hi,
> 
> I search a good solution to upgrade an already installed .Net
> application. In this .Net application we have standard xml-config files,
> which has only settings with application scope. I have searched for many
> forum entries and it seems that nobody has useful information about it.
> The logic should be so:
> - the installer or reinstaller only creates the file if it is not found
> (could be done with the permanent and neveroverwrite attribute of the
> component element)
> - the uninstaller should ask you if the programm should be removed with
> or without configuraiton (does not works with the permanent flag)
> - the logic has to be in one wix installer project, that means you
> create a msi package with integrated installation and upgrade logic
> 
> It should later also be possible to add some migration or upgrade code
> to the wix installer for the xml config files.
> 
> Thanks,
> 
> Thomas Mathis
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to