Geeks With Blogs
Nat Luengnaruemitchai Geek Blog November 2005 Entries
XmlFile with WiX
When you create an msi installer with WiX, you may need to modify app.config according to user settings and/or properties. You can simply do it by using <XmlFile /> custom action tag. It can be used as follows: <XmlFile Id="ModifyServerLocation" Action="setValue" ElementPath="/configuration... File="[TARGETDIR]\myApp.con... Value="[SERVERLOCATION]"/> Note that [@key='ServiceLocation] must be encoded in [ ] bracket, otherwise, MSI will ......

Posted On Wednesday, November 2, 2005 6:48 PM

Copyright © Nat Luengnaruemitchai | Powered by: