Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 186011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:34:20+00:00 2026-05-11T15:34:20+00:00

how do i use NAnt to build the msi file thanks

  • 0

how do i use NAnt to build the msi file

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T15:34:20+00:00Added an answer on May 11, 2026 at 3:34 pm

    You can use the Nant tasks provided with WiX, see this blog post and search for ‘Nant’ in the WiX help file (WiX.chm)

    Simple example from the above blog post for your reference, my own actual .build file is over 500 lines long and is mostly associated tasks such as building bootstrappers, extracting sources, code signing, integration with Lingobit for localization, etc, etc, etc. Building the actual MSI is possibly the simplest part of the code 🙂

    <target name='package' description='Create the installer package'>    <property name='wix.dir' value='${base.dir}\WiX' />   <loadtasks assembly='${wix.dir}\Microsoft.Tools.WindowsInstallerXml.NAntTasks.dll' />    <candle out='${nant.project.basedir}\' exedir='${wix.dir}'>     <sources>       <include name='MyApp.wxs' />     </sources>   </candle>    <light out='MyApp.msi' exedir='${wix.dir}'     locfile='${wix.dir}\lib\WixUI_en-us.wxl' rebuild='true'>     <sources>       <include name='MyApp.wixobj' />       <include name='${wix.dir}\ca\wixca.wixlib' />       <include name='${wix.dir}\lib\wixui_featuretree.wixlib'/>     </sources>   </light>  </target> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use NAnt/NAntContrib build script to build a web application on Windows
We use a CruiseControl.Net/NAnt/Subversion stack for CI. Doing a fresh checkout for every build
I want to use the <nant> task in my build script but I want
We use Nant and devenv.com to build all our assemblies including the website project.
Does anyone have an example nant build file to build an MVC2 project? I'm
Can anyone please provide me a sample build file demostrating the use of the
How can I use nant tasks to increment build versions? To be more specific
I trying to use nant to build a solution via msbuild. The problem is
I am refactoring my existing NAnt build scripts to be able to use them
I currently use nant, ccnet (cruise control), svn, mbunit. I use msbuild to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.