diff deploy/win32/build-and-package.bat @ 697:11e9454800cc

Signing update
author Chris Cannam
date Mon, 10 Dec 2018 17:35:24 +0000
parents b939bdac0643
children 52b8a499f379
line wrap: on
line diff
--- a/deploy/win32/build-and-package.bat	Mon Dec 10 16:02:49 2018 +0000
+++ b/deploy/win32/build-and-package.bat	Mon Dec 10 17:35:24 2018 +0000
@@ -104,9 +104,7 @@
 
 if "%ARG%" == "sign" (
 @echo Signing components
-signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 *.dll *.exe lib\*
-signtool verify /pa sonic-visualiser.msi
-rem AND MORE
+signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 *.dll *.exe *\*.pyd *\*\*.pyd
 )
 
 set PATH=%PATH%;"C:\Program Files (x86)\WiX Toolset v3.11\bin"
@@ -114,5 +112,10 @@
 del easyhg.msi
 candle -v ..\..\deploy\win32\easyhg.wxs
 light -b . -ext WixUIExtension -ext WixUtilExtension -v easyhg.wixobj
+if %errorlevel% neq 0 exit /b %errorlevel%
 
-rem Todo: the rest
+if "%ARG%" == "sign" (
+@echo Signing package
+signtool verify /pa easyhg.msi
+)
+