Search code examples
windowsautomationwixwix3

Dynamically create WIX files without having to edit the wix files manually


Suppose you release the next version of your software, you will have to manually update your WIX files to remove obsolete files and add new files, etc.

My use case is as simple as "recursively add the files under /sample/path in the user target C:\Program Files\MyApp".

Is there a program that does this sort of automation?


Solution

  • For WiX v3 (and a free solution), look at heat.exe. If you have more advanced harvesting needs, there is a commercial option from FireGiant**.

    ** Disclaimer: I am the benevolent dictator of the WiX Toolset and CEO of FireGiant. We contribute to the open source project and provide commercial solutions around the project. Pick what works best for you.