Using WiX With NAnt
To include the NAnt build tasks in you NAnt project include the following code:
<!-- WiX 3 folder --> <property name="wix.dir" value="${path::combine(environment::get-variable('WIX'), 'bin')}" readonly="true" /> <!-- Load the WiX3 tasks --> <loadtasks assembly="${wix.dir}\Microsoft.Tools.WindowsInstallerXml.NAntTasks.dll" />
For more information see the following topics: