diff deploy/win32/build.cmd @ 629:2ea902f89da4 with-dependencies

Use non-x86 program files path if x86 version is not found (i.e. on 32-bit Windows)
author Chris Cannam <chris.cannam@eecs.qmul.ac.uk>
date Tue, 01 Oct 2013 11:25:18 +0100
parents b0f5fa844caf
children 885e89a6c11d
line wrap: on
line diff
--- a/deploy/win32/build.cmd	Tue Oct 01 11:08:42 2013 +0100
+++ b/deploy/win32/build.cmd	Tue Oct 01 11:25:18 2013 +0100
@@ -1,5 +1,8 @@
 @ECHO OFF
 SET WIXPATH="C:\Program Files (x86)\WiX Toolset v3.7\bin"
+IF NOT EXIST %WIXPATH% (
+    SET WIXPATH="C:\Program Files\WiX Toolset v3.7\bin"
+)
 DEL sonic-visualiser.msi
 %WIXPATH%\candle.exe -v sonic-visualiser.wxs
 %WIXPATH%\light.exe -b ..\.. -ext WixUIExtension -v sonic-visualiser.wixobj