Building WiX

WiX Help

Building WiX

Simply run "make.bat" in the root of the WiX project. This will build into a release\debug directory by default. Specifying "make.bat ship" will create ship binaries in release\ship. If you installed VS.NET to a non standard directory, specify "make.bat debug fullpathto\devenv.com" to build.

In order to fully build WiX, you must have the following Frameworks and SDKs installed:

  • NAnt version 0.85 rc3 or higher
  • .NET Framework 1.1 and SDK
  • .NET Framework 2.0 (SDK is optional)
  • PlatformSDK (version 3790.1830 or higher)
    • Core SDK
    • Web Workshop (IE) SDK
    • Internet Information Server (IIS) SDK
    • Microsoft Data Access Services (MDAC) SDK
    • Microsoft Windows Installer SDK
  • One of the following Visual Studio 2005 Editions:
    • Visual C++ Express Edition
    • Professional or higher with Visual C++ installed
  • HTML Help SDK 1.4 or higher

To build Sconce and Votive, you must have the following SDKs installed:

To install Votive on Visual Studio 2005, you must have the Standard edition or higher.

To successfully build the WiX MSBuild tasks, you need to modify NAnt.exe.config file to support the release version of the .NET Framework (instead of the beta 1 release supported in NAnt 0.85 rc3). Make a backup copy of Nant.exe.config and search for the following <framework> element:

<framework
  name="net-2.0"
  ...

Replace it with the following element:

<framework 
  name="net-2.0" 
  family="net" 
  version="2.0" 
  description="Microsoft .NET Framework 2.0" 
  runtimeengine=""
  sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}" 
  frameworkdirectory="${path::combine(installRoot, 'v2.0.50727')}" 
  frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}"
  clrversion="2.0.50727"
>