VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Signing
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-05-14 23:01:21 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-05-14 23:16:44 (GMT)
commit6fe660c2498d9f3386d5a77ff733a9db400f0f21 (patch)
tree66928b26078735d3db5e56e2e1d0d562aff81c50 /src/Signing
parentb5abd54c1bd378e704d769d1aafefad9371aae44 (diff)
downloadVeraCrypt-6fe660c2498d9f3386d5a77ff733a9db400f0f21.zip
VeraCrypt-6fe660c2498d9f3386d5a77ff733a9db400f0f21.tar.gz
Windows: Add HTML documentation to Windows installer.
Diffstat (limited to 'src/Signing')
-rw-r--r--src/Signing/sign.bat12
-rw-r--r--src/Signing/sign_test.bat12
2 files changed, 22 insertions, 2 deletions
diff --git a/src/Signing/sign.bat b/src/Signing/sign.bat
index 4c16614..bcd40ab 100644
--- a/src/Signing/sign.bat
+++ b/src/Signing/sign.bat
@@ -1,4 +1,4 @@
-PATH=%PATH%;%WSDK81%\bin\x86
+PATH=%PATH%;%WSDK81%\bin\x86;C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip
rem sign using SHA-1
signtool sign /v /a /n IDRIX /i Thawte /ac thawte_Primary_MS_Cross_Cert.cer /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\veracrypt.sys" "..\Release\Setup Files\veracrypt-x64.sys"
@@ -11,11 +11,21 @@ signtool sign /v /a /n "IDRIX SARL" /i GlobalSign /ac GlobalSign_SHA256_EV_CodeS
cd "..\Release\Setup Files\"
+del *.xml
copy /V /Y ..\..\..\Translations\*.xml .
+rmdir /S /Q docs
+mkdir docs\html\en
+copy /V /Y ..\..\..\doc\html\* docs\html\en\.
+
+del docs.zip
+7z a -y docs.zip docs
+
"VeraCrypt Setup.exe" /p
del *.xml
+del docs.zip
+rmdir /S /Q docs
cd "..\..\Signing"
diff --git a/src/Signing/sign_test.bat b/src/Signing/sign_test.bat
index 5010eb5..31f6d46 100644
--- a/src/Signing/sign_test.bat
+++ b/src/Signing/sign_test.bat
@@ -1,4 +1,4 @@
-PATH=%PATH%;%WSDK81%\bin\x86
+PATH=%PATH%;%WSDK81%\bin\x86;C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip
set PFXNAME=TestCertificate\idrix_codeSign.pfx
set PFXPASSWORD=idrix
@@ -15,11 +15,21 @@ signtool sign /v /a /f %SHA256PFXNAME% /p %SHA256PFXPASSWORD% /ac %SHA256PFXCA%
cd "..\Release\Setup Files\"
+del *.xml
copy /V /Y ..\..\..\Translations\*.xml .
+rmdir /S /Q docs
+mkdir docs\html\en
+copy /V /Y ..\..\..\doc\html\* docs\html\en\.
+
+del docs.zip
+7z a -y docs.zip docs
+
"VeraCrypt Setup.exe" /p
del *.xml
+del docs.zip
+rmdir /S /Q docs
cd "..\..\Signing"