Skip to content

Instantly share code, notes, and snippets.

@dvhthomas
Created December 8, 2009 00:12
Show Gist options
  • Save dvhthomas/251281 to your computer and use it in GitHub Desktop.
Save dvhthomas/251281 to your computer and use it in GitHub Desktop.
<Component Id="ImportDirectory" Guid="{382E974D-69C6-4dc5-B2DD-FC8C8F5D5688}">
<CreateFolder/>
<!-- Note the goofy escaping of square brackets in the XPath -->
<util:XmlFile Id="ModifyImportLocation"
Action="setValue"
ElementPath="//configuration/appSettings/add[\[]@key='ImportHoldingArea'[\]]/@value"
File="[IMPORTLOCATION]\FcaImportService.exe.config"
Value="[IMPORTHOLDINGAREA]"/>
</Component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment