view deploy/win32/build.cmd @ 316:7fa301a4f149

The session file records the sample rate that each audio file was saved at. Use it. This is a fix to part of https://code.soundsoftware.ac.uk/issues/970, but it also replaces the commit at https://code.soundsoftware.ac.uk/projects/svapp/repository/revisions/9554c19c42fd with a fix to the earlier bug http://sourceforge.net/p/sv1/bugs/107/. I think this is a better way than the earlier code.
author Chris Cannam
date Fri, 13 Jun 2014 13:45:40 +0100
parents 7777fa612a16
children 60779173dddf
line wrap: on
line source
@ECHO OFF
SET WIXPATH="C:\Program Files (x86)\WiX Toolset v3.8\bin"
IF NOT EXIST %WIXPATH% (
    SET WIXPATH="C:\Program Files\WiX Toolset v3.8\bin"
)
IF NOT EXIST %WIXPATH% (
    ECHO "WiX not found, exiting"
)
IF EXIST %WIXPATH% (
    DEL tony.msi
    %WIXPATH%\candle.exe -v tony.wxs
    %WIXPATH%\light.exe -b ..\.. -ext WixUIExtension -v tony.wixobj
    PAUSE
    DEL tony.wixobj
    DEL tony.wixpdb
)