2 AdminInstallerWin
Vitalii Koshura edited this page 2024-12-18 18:19:17 +01:00

Building a Windows installer for the BOINC client

Building the installer on GitHub CI for the release

At the moment we support building BOINC on Visual Studio 2022 only using GitHub CI

Keep in mind that the odd minor version numbers are considered development versions, and even numbers are considered stable versions. (e.g. 8.1.0 is the development version, while 8.2.1 is the release version)

  • Create a new branch for the release client_release/MAJOR_VERSION/MINOR_VERSION (e.g. client_release/8.0/8.0.0)
  • Set correct release version by running
    python set-client-version.py RELEASE_VERSION
    
    where RELEASE_VERSION is the version you want to set (e.g. 8.0.0).
  • Commit the changes and create a new tag client_release/MINOR_VERSION/RELEASE_VERSION (e.g. client_release/8.0/8.0.0)
  • Push the branch and the tag to the repository
  • When CI finishes building the installer, download the artifacts (please pay attention to download archives for the correct architecture) and rename installer_setup.exe to boinc_RELEASE_VERSION_x86_64.exe for the 64-bit version and boinc_RELEASE_VERSION_arm64.exe for the ARM64 version (e.g. boinc_8.0.0_x86_64.exe and boinc_8.0.0_arm64.exe)
  • Upload the installers to the BOINC server and update release matrix XML file.

Building the installer on your local machine

At the moment we support building BOINC on Visual Studio 2022 only

  • Open the win_build/boinc.sln solution in Visual Studio 2022
  • Build the solution
  • After the build is finished, you can find the installer_setup.exe in the win_build/Build/ARCHITECTURE/CONFIGURATION directory (e.g. win_build/Build/x64/Release)