diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-07-28 23:30:10 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-07-29 15:54:27 +0200 |
commit | 8288fecc0ad74624f489bbdf3fb71cb1a1fbf286 (patch) | |
tree | 8c3a52c28f417fcc2b3b12f33b60fe72c1ed6d27 /src/Signing | |
parent | 7a94a05974376fede2f8496a13e28b3cde851016 (diff) | |
download | VeraCrypt-8288fecc0ad74624f489bbdf3fb71cb1a1fbf286.tar.gz VeraCrypt-8288fecc0ad74624f489bbdf3fb71cb1a1fbf286.zip |
Windows: Add portable installer that only extra binaries without the need of administrative privileges for extraction.
Diffstat (limited to 'src/Signing')
-rw-r--r-- | src/Signing/sign.bat | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Signing/sign.bat b/src/Signing/sign.bat index 40f60244..b62fe864 100644 --- a/src/Signing/sign.bat +++ b/src/Signing/sign.bat @@ -1,5 +1,6 @@ PATH=%PATH%;%WSDK81%\bin\x86;C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip +set VC_VERSION=1.22-BETA2-Build5 set SIGNINGPATH=%~dp0 cd %SIGNINGPATH% @@ -40,6 +41,7 @@ del docs.zip 7z a -y docs.zip docs "VeraCrypt Setup.exe" /p +"VeraCrypt Portable.exe" /p del LICENSE del License.txt @@ -54,8 +56,8 @@ rmdir /S /Q docs cd %SIGNINGPATH% rem sign using SHA-1 -signtool sign /v /a /n IDRIX /i Thawte /ac Thawt_CodeSigning_CA.crt /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt Setup 1.22-BETA2-Build5.exe" +signtool sign /v /a /n IDRIX /i Thawte /ac Thawt_CodeSigning_CA.crt /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt Setup %VC_VERSION%.exe" "..\Release\Setup Files\VeraCrypt Portable %VC_VERSION%.exe" rem sign using SHA-256 -signtool sign /v /a /n "IDRIX SARL" /i GlobalSign /ac GlobalSign_SHA256_EV_CodeSigning_CA.cer /as /fd sha256 /tr http://timestamp.globalsign.com/?signature=sha2 /td SHA256 "..\Release\Setup Files\VeraCrypt Setup 1.22-BETA2-Build5.exe" +signtool sign /v /a /n "IDRIX SARL" /i GlobalSign /ac GlobalSign_SHA256_EV_CodeSigning_CA.cer /as /fd sha256 /tr http://timestamp.globalsign.com/?signature=sha2 /td SHA256 "..\Release\Setup Files\VeraCrypt Setup %VC_VERSION%.exe" "..\Release\Setup Files\VeraCrypt Portable %VC_VERSION%.exe" pause |