Installing C++ agent on Windows from command line
Learn how to install the MiNiFi C++ agent from command line.
-
To install the MiNiFi C++ agent from the command line with specific extensions,
list all desired extensions in the following format:
msiexec /i nifi-minifi-cpp.msi AGREETOLICENSE=Yes ADDLOCAL=CM_C_bin,CM_C_tzdata,InstallService,InstallVSRedistributableFiles,InstallConf,CM_C_http_curl,CM_C_sql /quiet
- Optional:
If you want to exclude specific extensions while installing all others, use
this format:
msiexec /i nifi-minifi-cpp.msi AGREETOLICENSE=Yes ADDLOCAL=ALL REMOVE=CM_C_sql /quiet
Follow the same pattern for all extension identifiers (for example:CM_C_sql
. Take the extension name (for example,minifi-sql
), replace theminifi-
prefix withCM_C_
and replace dashes with underscores. For example,minifi-http-curl
becomesCM_C_http_curl
.For more information and configuration options for themsiexec
command, see the Microsoft documentation on msiexec.