This is an old revision of the document!
Mixxx uses the Wix Toolset for building Windows MSI installers. This page contains information on making such packages.
First, we assume you've built & run Mixxx successfully from the instructions on the Compiling on Windows page.
You first need to download and install the Wix Toolset version 3.10
When built with MSVC, Mixxx requires that certain MSVC DLL files be present in order to run. Many people have these already installed on their systems, but many do not (or have different versions,) so we must include them with our packages.
To do that, you need to download the vcredist installation package and install it at the root of your build env directory.
There's a different one for each architecture and compiler combination, as shown below:
|Visual Studio 2005||x86||x64/amd64||IA64|
|Visual Studio 2008||x86||x64/amd64||IA64|
|Visual Studio 2010||x86||x64/amd64||IA64|
|Visual Studio 2013||x86, amd64 and IA64|
|Visual Studio 2015||x86 and amd64|
In any case, once you've located the vcredist installer, if you're doing a 32-bit build, copy the x86 installer in the root of your build env (not the root of mixxx sources, but the root of the BUILD ENV). If a 64-bit build, copy the x64/AMD64 installer.
The file should be named vcredist_x86.exe or vcredist_x64.exe.
makerelease.batfile containing the following:
REM Clean up after old builds. del /q /f *.exe rmdir /s /q dist32 rmdir /s /q dist64 REM XP Compatibility requires the v7.1A SDK set MSSDK_DIR="c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A" REM this can be either release or debug. For development you want to use debug set BUILD_TYPE=release REM This determines if you build a 32bit or 64bit version of mixxx. REM 32bit = i386, 64bit = amd64 set ARCHITECTURE=i386 REM set this to the folder where you build the dependencies set WINLIB_PATH=D:\mixxx-buildserver32 echo "Building %ARCHITECTURE% %BUILD_TYPE% for %PLATFORM%". if "%ARCHITECTURE%" == "i386" ( set TARGET_MACHINE=x86 set VCVARS_ARCH=x86 ) else ( set TARGET_MACHINE=amd64 set VCVARS_ARCH=x86_amd64 ) call "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %VCVARS_ARCH% scons mixxx makerelease msvcdebug=0 winlib=%WINLIB_PATH% qtdir=%WINLIB_PATH%\build\qt-everywhere-opensource-src-4.8.6 hss1394=1 mediafoundation=1 opus=0 build=%BUILD_TYPE% machine=%TARGET_MACHINE% toolchain=msvs virtualize=0 test=1 sqlitedll=0 mssdk_dir=%MSSDK_DIR% force32=1
Note: If you want to build 64 bits package, use set ARCHITECTURE=amd64 and force32=0