System requirements
Install and uninstall commands
Most endpoint management tools require an install command and an uninstall command. Replace the MSI filename in the following commands with the filename of the installer you downloaded. For the full list ofmsiexec properties available during installation, see Silent installation.
Install command
OPTION_ENABLE_SHORTCUTS, OPTION_REGISTER_PYTHON, and INSTALLFOLDER.
Uninstall command
OPTION_REMOVE_USER_DATA, OPTION_REMOVE_CACHES, and OPTION_REMOVE_CONFIG_FILES. See Uninstalling Miniconda (MSI) for details.
Detection rules
After deploying Miniconda, your management tool needs a way to determine whether the app is already installed on a device. The approach depends on your tool, but the two most common methods for MSI packages are product code detection and file-based detection.MSI product code (recommended)
Most endpoint management tools can detect installed MSI packages by their product code. This is the most reliable method because it does not depend on file paths. If your tool does not auto-detect the product code from the MSI package, you can find it by installing the MSI on a test machine and checking the Windows registry under:File-based detection
If your tool does not support MSI product code detection, you can check for the_conda.exe binary that the MSI installer places at the top level of the installation directory. The path depends on how the installer was configured:
- Per-user install (default):
C:\Users\<USERNAME>\AppData\Local\Programs\Miniconda3-PBE <CONDA-VERSION> - All-users install (
ALLUSERS=1):C:\Program Files\Miniconda3-PBE <CONDA-VERSION> - Custom directory (
INSTALLFOLDER): Whatever path you specified in the install command
<USERNAME> is the Windows user account name and <CONDA-VERSION> is the version of conda bundled in the installer (for example, 26.9.4).
The default installation directory includes the version in its name (for example,
Miniconda3-PBE 26.9.4). This path changes with each installer version, which makes file-based detection less reliable across upgrades. Use MSI product code detection when possible.