Windows: Install CHM User Guide instead of PDF one. Delete existing PDF when upgrading.

This commit is contained in:
Mounir IDRASSI
2017-06-05 01:41:44 +02:00
parent b878659810
commit 1ad425e4e1
6 changed files with 57 additions and 15 deletions
+10 -3
View File
@@ -7,6 +7,13 @@ set SHA256PFXNAME=TestCertificate\idrix_Sha256CodeSign.pfx
set SHA256PFXPASSWORD=idrix
set SHA256PFXCA=TestCertificate\idrix_SHA256TestRootCA.crt
set SIGNINGPATH=%~dp0
cd %SIGNINGPATH%
call "..\..\doc\chm\create_chm.bat"
cd %SIGNINGPATH%
rem sign using SHA-1
signtool sign /v /a /f %PFXNAME% /p %PFXPASSWORD% /ac %PFXCA% /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\veracrypt.sys" "..\Release\Setup Files\veracrypt-x64.sys" "..\Release\Setup Files\VeraCrypt.exe" "..\Release\Setup Files\VeraCrypt Format.exe" "..\Release\Setup Files\VeraCryptExpander.exe" "..\Release\Setup Files\VeraCrypt-x64.exe" "..\Release\Setup Files\VeraCrypt Format-x64.exe" "..\Release\Setup Files\VeraCryptExpander-x64.exe"
@@ -18,7 +25,7 @@ cd "..\Release\Setup Files\"
copy ..\..\LICENSE .
copy ..\..\License.txt .
copy ..\..\NOTICE .
copy "..\..\..\doc\VeraCrypt User Guide.pdf" .
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" .
del *.xml
copy /V /Y ..\..\..\Translations\*.xml .
@@ -35,13 +42,13 @@ del docs.zip
del LICENSE
del License.txt
del NOTICE
del "VeraCrypt User Guide.pdf"
del "VeraCrypt User Guide.chm"
del *.xml
del docs.zip
rmdir /S /Q docs
cd "..\..\Signing"
cd %SIGNINGPATH%
rem sign using SHA-1
signtool sign /v /a /f %PFXNAME% /p %PFXPASSWORD% /ac %PFXCA% /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt Setup 1.20-BETA2.exe"