changeset 641:66ef06a6d591

Use non-x86 program files path if x86 version is not found (i.e. on 32-bit Windows) (from with-dependencies branch)
author Chris Cannam
date Tue, 05 Nov 2013 11:14:16 +0000
parents 6d8a76bd91a7
children e3a4831f9c64 22d4d0ef0670
files deploy/win32/build.cmd
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/win32/build.cmd	Tue Nov 05 11:11:01 2013 +0000
+++ b/deploy/win32/build.cmd	Tue Nov 05 11:14:16 2013 +0000
@@ -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