From 298838a5256ac7e003d8c080958abf9dfeed2702 Mon Sep 17 00:00:00 2001 From: Sam Aaron Date: Mon, 21 Oct 2024 13:09:48 +0100 Subject: [PATCH] Build - improve Windows msi build script --- install/windows/wix/gen_msi.bat | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/windows/wix/gen_msi.bat b/install/windows/wix/gen_msi.bat index ffdd1adcfb..6f9a1ac21f 100644 --- a/install/windows/wix/gen_msi.bat +++ b/install/windows/wix/gen_msi.bat @@ -1,5 +1,10 @@ cd %~dp0 cd .. + +@echo "Remove old files" +del /q /s /f *.wixobj +del /q /s /f *.wixpdb +del /q /s /f ReleaseFiles* @echo "Generating msi" candle wix\sonic-pi.wxs etc.wxs gui.wxs server.wxs config.wxs -ext WixUtilExtension -arch x64 light sonic-pi.wixobj etc.wixobj gui.wixobj server.wixobj config.wixobj -ext WixUtilExtension -ext WixUIExtension -o wix\Sonic-Pi.msi -b etc -b app\gui -b app\server -b app\config