This project contains the AES Crypt code for Windows, which includes shell extension code and the command-line interface (CLI) executable.
The C++ language components for Visual Studio need to be installed, including the Active Template Library (ATL) components.
The AES Crypt solution file has dependencies on several libraries that must first be built and "installed" before attempting to build the solution file.
Open a command prompt having the Visual Studio x64 environment configured.
For example, open via "x64 Native Tools Command Prompt for VS..." shortcut
or run Visual Studio's vcvars64.bat batch file from a command prompt.
From within the AES Crypt for Windows root source directory, type
build_dependencies to configure, build, and locally install (i.e., within the
source directory) the required dependencies.
Building the rest of AES Crypt will require compiling using Visual Studio as per Option 2 by opening the solution file as per step 7 below and following the balance of the instructions.
- Open Visual Studio and choose File -> Open -> CMake.
- Navigate to the AES Crypt for Windows source directory and open the CMakeLists.txt file. Give Visual Studio time to open the CMake file, download all of the dependencies, and generate build files. When finished, the output pane on the IDE should say "Cmake generation finished." Ensure there were no errors before proceeding.
- Select "x64 Release" as the build configuration in the dropdown list at the top of the IDE window. This may result in the build configuration being re-generated; wait for it to complete successfully.
- Open the CMakeLists.txt file in the editor. At the top of Visual Studio, change the "Select Startup Item" to "Current Document", and it should then indicate that in the menu. Be sure the Project Configuration next to that is "Release".
- Choose Build -> Build All menu option to build dependencies.
- Choose Build -> Install aescrypt_dependencies. This will install the required header files and libraries in the project directory in a sub-directory named out\install. These will be consumed by the main AES Crypt for Windows solution.
- Double-click on the "aescrypt.sln" file to cause Visual Studio to open the AES Crypt for Windows solution, as we're done with the dependencies.
- Select Release and x64 from the build configuration settings at the top of the Visual Studio IDE.
- Select Build->Build Solution. This will build the AES Crypt for Windows with an output aescrypt.msi in the Setup\Release folder.