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 4255136
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:10:43+00:00 2026-05-21T05:10:43+00:00

I have a current build process which does a .NET build using MSBuild and

  • 0

I have a current build process which does a .NET build using MSBuild and then I end up with all my project DLLs/EXEs and 3rd party DLLs in the same directory with some resources in a sub-directory.

I would like to package this bundle up into an MSI. I have looked around and found WiX and it has nant tasks available. However it appears I need to maintain a .wxs file with references to the full list of DLLs. I would really like to avoid having to manual maintain this file or any other file.

I actually have many projects that use a shared build script so every project builds in a consistent fashion. I would therefore like the MSI step to be automated as well otherwise every project has to maintain the .wxs file with the current DLL list + any resource files.

Is it possible to use WiX or another any tool where I can just point it at a directory and get it to package every file/sub-directory without needing a config file?

  • 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. Editorial Team
    Editorial Team
    2026-05-21T05:10:44+00:00Added an answer on May 21, 2026 at 5:10 am

    Refer to the documentation for Heat (part of Wix) and use that in your build process.

    As an example, something like this should work:

    heat.exe dir C:\Build\Release -srd -ag -suid -cg AutoHarvestCG -out c:\Build\Setup\AutoHarvest.wxs
    

    Then AutoHarvest.wxs will be automatically generated and contain all files from C:\Source\Release under a ComponentGroup called AutoHarvestCG which you can include with a ComponentGroupRef element in any Feature element.

    You’ll still have to maintain a .wxs file with your Product, Package, and Feature information, along with any custom actions you might have.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a current system which is build as a Windows Application, and does
In our current database development evironment we have automated build procceses check all the
In my current environment, we have a clean build machine, which has an exact
I have a requirement on my current project (a Flex app which will be
I'm trying to create a build script for my current project, which includes an
I have four flags Current = 0x1 Past = 0x2 Future = 0x4 All
I use bzr for websites. I have all my current ones set up so
I have an existing J2EE project which is very big and old. Therefore, my
We have a distributed .net system which consists of several solutions, each with different
We have a current application where user login credentials are stored in a SQL

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.