From aa4927867326f293204b23fd6219781bf36cbaf5 Mon Sep 17 00:00:00 2001 From: Jertzukka Date: Wed, 5 Jul 2023 11:40:57 +0300 Subject: Updates on WinCompiling docs and script (#1146) --- doc/html/CompilingGuidelineWin.html | 17 +++++++++-------- src/Signing/sign_test.bat | 6 +++--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/doc/html/CompilingGuidelineWin.html b/doc/html/CompilingGuidelineWin.html index b7419a51..eb35541a 100644 --- a/doc/html/CompilingGuidelineWin.html +++ b/doc/html/CompilingGuidelineWin.html @@ -316,7 +316,7 @@ Below are the procedure steps. Clicking on any of the link takes directly to the
  1. Visual C++ 1.52 is available via the paid Microsoft MSDN subscription. If you do not have a subscription, you download the ISO image via the internet archive:
    - https://archive.org/details/ms-vc152 + https://archive.org/details/ms-vc152
  2. Create the folder “C:\MSVC15” @@ -655,7 +655,7 @@ Below are the procedure steps. Clicking on any of the link takes directly to the https://github.com/wixtoolset/wix3/releases
  3. - Run the downloaded file as administrator and install 7zip with default settings + Run the downloaded file as administrator and install WiX Toolset with default settings

@@ -898,23 +898,23 @@ Below are the procedure steps. Clicking on any of the link takes directly to the
- Installation of the Windows Driver Kit 2004 + Installation of the Windows Driver Kit version 2004

  1. - Please download the Windows Driver Kit (WDK) 2004 at:
    + Please download the Windows Driver Kit (WDK) version 2004 at:
    https://docs.microsoft.com/en-us/windows-hardware/drivers/other-wdk-downloads
  2. Run the downloaded file as administrator and install the WDK with default settings
  3. - At the end of the installation you will be asked, if you want to "install Windows Driver Kit Visual Studio extension".
    + At the end of the installation you will be asked if you want to "install Windows Driver Kit Visual Studio extension".
    Please make sure, that this option is selected before closing the dialog.
  4. - A different setup will start automatically and will detect Visual Studio Professional 2019 as possible tarket for the extension.
    + A different setup will start automatically and will detect Visual Studio Professional 2019 as possible target for the extension.
    Please select it and proceed with the installation.
@@ -1117,7 +1117,7 @@ Below are the procedure steps. Clicking on any of the link takes directly to the Import the Certificates

With the sign_test.bat script you just signed the VeraCrypt executables. This is necessary, since Windows only accepts drivers, which are trusted by a signed Certificate Authority.
- Since you did not use the official VeraCrypt signing certificate to sign your code, but a public development version, you have to import and therefore trust the certifcates used. + Since you did not use the official VeraCrypt signing certificate to sign your code, but a public development version, you have to import and therefore trust the certificates used.

  1. Open the folder "src/Signing" @@ -1132,6 +1132,7 @@ Below are the procedure steps. Clicking on any of the link takes directly to the
  2. TestCertificates/idrix_SHA256TestRootCA.crt
  3. TestCertificates/idrix_TestRootCA.crt
  4. + Note: If prompted, the password for .pfx certificates is idrix.

@@ -1193,7 +1194,7 @@ Below are the procedure steps. Clicking on any of the link takes directly to the Go to the top menu "Digital Signatures". Her you will find two signatures in the Signature list Check both by double clicking on it. If the headline says "The certificate in the signature cannot be verified", the corresponding signing certificate was not imported correctly.
- Click on "View Certificate" and then on "Install Certificate..." to import the certificate to your certificate storage
+ Click on "View Certificate" and then on "Install Certificate..." to import the certificate to your certificate storage. For the Root certificates, you may need to choose "Place all certificates in the following store", and select the "Trusted Root Certification Authorities" store.

  • diff --git a/src/Signing/sign_test.bat b/src/Signing/sign_test.bat index f471cff6..bce5e21e 100644 --- a/src/Signing/sign_test.bat +++ b/src/Signing/sign_test.bat @@ -1,6 +1,6 @@ PATH=%PATH%;%WSDK81%\bin\x86;C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip -set VC_VERSION=1.26 -set VC_VERSION_NBRE=1.26.0 +set VC_VERSION=1.26.3 +set VC_VERSION_NBRE=1.26.3 set PFXNAME=TestCertificate\idrix_codeSign.pfx set PFXPASSWORD=idrix set PFXCA=TestCertificate\idrix_TestRootCA.crt @@ -42,7 +42,7 @@ del Languages.zip rmdir /S /Q docs mkdir docs\html\en mkdir docs\EFI-DCS -copy /V /Y ..\..\..\doc\html\* docs\html\en\. +xcopy /E /V /Y ..\..\..\doc\html\* docs\html\en\. copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" docs\. copy "..\..\..\doc\EFI-DCS\*.pdf" docs\EFI-DCS\. del docs.zip -- cgit v1.2.3