Installing C++ agent on Windows from command line

Learn how to install the MiNiFi C++ agent from command line.

  1. 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
  2. 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 the minifi- prefix with CM_C_ and replace dashes with underscores. For example, minifi-http-curl becomes CM_C_http_curl.For more information and configuration options for the msiexec command, see the Microsoft documentation on msiexec.