annotate deploy/win32/build.cmd @ 911:c08df7de50f6

Specify UTF-8 encoding when writing XML formats -- the XML header always indicated UTF-8 but the QTextStream defaulted to local encoding which is generally not UTF-8 on Windows
author Chris Cannam
date Mon, 02 Mar 2015 17:20:24 +0000
parents 08c805e53fc0
children 49634cb5f558
rev   line source
Chris@626 1 @ECHO OFF
Chris@904 2 SET WIXPATH="C:\Program Files (x86)\WiX Toolset v3.9\bin"
Chris@641 3 IF NOT EXIST %WIXPATH% (
Chris@904 4 SET WIXPATH="C:\Program Files\WiX Toolset v3.9\bin"
Chris@641 5 )
Chris@626 6 DEL sonic-visualiser.msi
Chris@626 7 %WIXPATH%\candle.exe -v sonic-visualiser.wxs
Chris@626 8 %WIXPATH%\light.exe -b ..\.. -ext WixUIExtension -v sonic-visualiser.wixobj
Chris@626 9 PAUSE
Chris@626 10 DEL sonic-visualiser.wixobj
Chris@626 11 DEL sonic-visualiser.wixpdb