Mercurial > hg > easyhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
696:6a3d38b7f672 | 697:11e9454800cc |
---|---|
102 | 102 |
103 copy "%PYCRYPTODIR%\__init__.py" Crypto\ | 103 copy "%PYCRYPTODIR%\__init__.py" Crypto\ |
104 | 104 |
105 if "%ARG%" == "sign" ( | 105 if "%ARG%" == "sign" ( |
106 @echo Signing components | 106 @echo Signing components |
107 signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 *.dll *.exe lib\* | 107 signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 *.dll *.exe *\*.pyd *\*\*.pyd |
108 signtool verify /pa sonic-visualiser.msi | |
109 rem AND MORE | |
110 ) | 108 ) |
111 | 109 |
112 set PATH=%PATH%;"C:\Program Files (x86)\WiX Toolset v3.11\bin" | 110 set PATH=%PATH%;"C:\Program Files (x86)\WiX Toolset v3.11\bin" |
113 | 111 |
114 del easyhg.msi | 112 del easyhg.msi |
115 candle -v ..\..\deploy\win32\easyhg.wxs | 113 candle -v ..\..\deploy\win32\easyhg.wxs |
116 light -b . -ext WixUIExtension -ext WixUtilExtension -v easyhg.wixobj | 114 light -b . -ext WixUIExtension -ext WixUtilExtension -v easyhg.wixobj |
115 if %errorlevel% neq 0 exit /b %errorlevel% | |
117 | 116 |
118 rem Todo: the rest | 117 if "%ARG%" == "sign" ( |
118 @echo Signing package | |
119 signtool verify /pa easyhg.msi | |
120 ) | |
121 |