CMake silent install and uninstall
CMake is a cross-platform, open-source build system generator.
- Vendor
- Kitware
- Category
- Developer Tools
- Installer
- Windows Installer (MSI, built with WiX)
- Architecture
- x86, x64, arm64
- Checked version
- 4.4.4
- winget ID
Kitware.CMake- Product code
{0DEA00BE-9AC0-4348-839D-8EFDCCBD3205}- License
- BSD-3-Clause
- Download
- Official download
Silent install
msiexec /i cmake-4.4.4-windows-x86_64.msi /qn /norestart ADD_CMAKE_TO_PATH=System - Download the installer from the direct download link.
- Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
- Change to the folder with the installer, for example
cd C:\Temp. - Run the command above. Adjust the file name if you downloaded a different version.
Or install with winget
winget install --id Kitware.CMake --exact --silent --scope machine --accept-package-agreements --accept-source-agreements Silent uninstall
msiexec /x {0DEA00BE-9AC0-4348-839D-8EFDCCBD3205} /qn /norestart winget uninstall --id Kitware.CMake --exact --silent --accept-source-agreements Run the command from an elevated Command Prompt.
About the Windows Installer (MSI, built with WiX) installer
An MSI built with the WiX Toolset. It is installed with msiexec and accepts the standard MSI switches.
| Switch | What it does |
|---|---|
/qn | No user interface. |
/norestart | Never restart, even if the installation needs it. |
/l*v "C:\Temp\install.log" | Verbose log file. |
Deploy CMake with Microsoft Intune
Package the installer as a Win32 app (.intunewin) and use these settings:
| Install command | msiexec /i cmake-4.4.4-windows-x86_64.msi /qn /norestart ADD_CMAKE_TO_PATH=System |
|---|---|
| Uninstall command | msiexec /x {0DEA00BE-9AC0-4348-839D-8EFDCCBD3205} /qn /norestart |
| Install behavior | System |
| Detection rule | MSI product code {0DEA00BE-9AC0-4348-839D-8EFDCCBD3205} |