xml - Wix install : Append new data to files instead of replacing -


our application has user modifiable files(xml files). during upgrade not want files replaced. have marked these files/components neveroverwrite = yes using xslt , heat command.

now instead of not replacing these files, need append new data well. best way achieve ?

thanks.

well, if files installed msi package customized end user, not replaced. thats default windows installer behaviour unless behaviour over-ridden making use of reinstallmode property. also, circumstances under user customized file not cleaned during upgrade depends on standard action:removeexistingproducts has been sequenced.

take at: http://blogs.msdn.com/b/astebner/archive/2005/08/30/458295.aspx

to better understanding of windows installer replacement logic non versioned files.

the various locations removeexistingproducts , effect on installation can found at:

http://blogs.msdn.com/b/heaths/archive/2010/04/09/major-upgrades-with-shared-components.aspx

to answer question, have explored following in wix toolset:

http://wixtoolset.org/documentation/manual/v3/xsd/util/xmlfile.html

http://wixtoolset.org/documentation/manual/v3/xsd/util/xmlconfig.html

this might 1 looking for. if not suffice, perhaps , custom action way forward.

hope helps.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -