Mercurial > hg > sonic-visualiser
annotate deploy/win64/build-and-package.bat @ 2049:fd4976627485
Fix inconsistency between centre frame actually set and centre frame notified as set, which caused the start frame location to creep out of place gradually as you page through
author | Chris Cannam |
---|---|
date | Tue, 30 Oct 2018 14:00:39 +0000 |
parents | 9f26f92bf89f |
children | a594146c1ed8 |
rev | line source |
---|---|
Chris@1839 | 1 rem Run this from within the top-level SV dir: deploy\win64\build-and-package.bat |
Chris@1827 | 2 |
Chris@1827 | 3 set STARTPWD=%CD% |
Chris@1827 | 4 |
Chris@1827 | 5 if not exist "C:\Program Files (x86)\SMLNJ\bin" ( |
Chris@1827 | 6 @ echo Could not find SML/NJ, required for Repoint |
Chris@1841 | 7 @ exit /b 2 |
Chris@1827 | 8 ) |
Chris@1827 | 9 |
Chris@1827 | 10 if not exist "C:\Program Files (x86)\WiX Toolset v3.11\bin" ( |
Chris@1827 | 11 @ echo Could not find WiX Toolset |
Chris@1841 | 12 @ exit /b 2 |
Chris@1827 | 13 ) |
Chris@1827 | 14 |
Chris@1839 | 15 @echo Rebuilding 32-bit |
Chris@1827 | 16 |
Chris@1827 | 17 cd %STARTPWD% |
Chris@1841 | 18 del /q /s build_win32 |
Chris@1839 | 19 call .\deploy\win64\build-32.bat |
Chris@1839 | 20 if %errorlevel% neq 0 exit /b %errorlevel% |
Chris@1827 | 21 |
Chris@1839 | 22 @echo Rebuilding 64-bit |
Chris@1827 | 23 |
Chris@1839 | 24 cd %STARTPWD% |
Chris@1841 | 25 del /q /s build_win64 |
Chris@1839 | 26 call .\deploy\win64\build-64.bat |
Chris@1839 | 27 if %errorlevel% neq 0 exit /b %errorlevel% |
Chris@1827 | 28 |
Chris@1839 | 29 set PATH=%PATH%;"C:\Program Files (x86)\WiX Toolset v3.11\bin" |
Chris@1827 | 30 |
Chris@1839 | 31 @echo Packaging 32-bit |
Chris@1827 | 32 |
Chris@1839 | 33 cd %STARTPWD%\build_win32 |
Chris@1827 | 34 del sonic-visualiser.msi |
Chris@1827 | 35 candle -v ..\deploy\win32\sonic-visualiser.wxs |
Chris@1827 | 36 light -b . -ext WixUIExtension -ext WixUtilExtension -v sonic-visualiser.wixobj |
Chris@1839 | 37 if %errorlevel% neq 0 exit /b %errorlevel% |
Chris@1827 | 38 del sonic-visualiser.wixobj |
Chris@1827 | 39 del sonic-visualiser.wixpdb |
Chris@1827 | 40 |
Chris@1839 | 41 @echo Packaging 64-bit |
Chris@1827 | 42 |
Chris@1839 | 43 cd %STARTPWD%\build_win64 |
Chris@1827 | 44 del sonic-visualiser.msi |
Chris@1827 | 45 candle -v ..\deploy\win64\sonic-visualiser.wxs |
Chris@1827 | 46 light -b . -ext WixUIExtension -ext WixUtilExtension -v sonic-visualiser.wixobj |
Chris@1839 | 47 if %errorlevel% neq 0 exit /b %errorlevel% |
Chris@1827 | 48 del sonic-visualiser.wixobj |
Chris@1827 | 49 del sonic-visualiser.wixpdb |
Chris@1839 | 50 |
Chris@1839 | 51 @echo Done |
Chris@1839 | 52 |