Node module wrappers around the wixtoolset binaries
var wix = require('wixtoolset');
wix.candle('app.wxs', {output: 'build'})
.then(function(wixobj) {
return wix.light(app.wixobj)
});
On platforms other then Windows you will need to have Wine installed and in the system path.
All WIX tools are available off of the wix object. All commandline arguments map to opts object.
For example: wix.candle(wxsFile, [wxsFile, ...], opts); wix.light(objectFile, [objectFile, ...], opts)