Skip to content

Instantly share code, notes, and snippets.

@BartDM
Created November 21, 2013 09:50
Show Gist options
  • Save BartDM/7578836 to your computer and use it in GitHub Desktop.
Save BartDM/7578836 to your computer and use it in GitHub Desktop.
<Target Name="WIX">
<!-- At last create an installer -->
<Exec
Command='"$(WixPath)candle" -ext WixIISExtension -ext WixUtilExtension -ext WixSqlExtension -dpublishDir=$(Publish) -dMyWebResourceDir=. @(WixCode, &apos; &apos;)'
ContinueOnError="false"
WorkingDirectory="." />
<Exec
Command='"$(WixPath)light" -ext WixIISExtension -ext WixUIExtension -ext WixUtilExtension -ext WixSqlExtension -out $(MsiOut) @(WixObject, &apos; &apos;)'
ContinueOnError="false"
WorkingDirectory="." />
<!-- A message at the end -->
<Message Text="Install package has been created." />
</Target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment