Nat Luengnaruemitchai

Geek Blog

  Home  |   Contact  |   Syndication    |   Login
  100 Posts | 0 Stories | 300 Comments | 232 Trackbacks

News

Archives

Post Categories

Blogroll

November 2005 Entries

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati