call cleanall.bat

rem Build x86 installer
"C:\Program Files (x86)\WiX Toolset v3.7\bin\candle.exe" x86\qemu-ga-install.wxs -out x86\qemu-ga-install.wixobj
"C:\Program Files (x86)\WiX Toolset v3.7\bin\light.exe" x86\qemu-ga-install.wixobj -out x86\qemu-ga-x86.msi

rem Build x64 installer
"C:\Program Files (x86)\WiX Toolset v3.7\bin\candle.exe" x64\qemu-ga-install.wxs -out x64\qemu-ga-install.wixobj
"C:\Program Files (x86)\WiX Toolset v3.7\bin\light.exe" x64\qemu-ga-install.wixobj -out x64\qemu-ga-x64.msi
