Configurable installer properties

Introduction

When deploying NetDetour across multiple machines, you can streamline the installation process by passing predefined custom properties to the installer via command line arguments. These properties allow you to perform several additional tasks during installation, such as applying a product key or configuring proxifying settings. This is especially useful when combined with the Windows Installer's silent mode feature using the "/quiet" command line switch. Multiple properties can be passed to the installer simultaneously. Use the value "1" for true and "0" for false.


Applying a product key during installation

To automatically apply a product key during installation, use the "PKEY" property. For example:

msiexec /i ndt.msi /quiet PKEY=myproductkey


Setting proxifying settings during installation

You can configure proxifying settings from an NPSX file by specifying the "NPSX" property. If the NPSX file includes encrypted credentials, you must also provide the passphrase using the "NPSXPP" property. For example:

msiexec /i ndt.msi /quiet NPSX=c:\config.npsx NPSXPP=mypassphrase


Other configurable installer properties

  • USEWFP: Enables the use of Windows Filtering Platform (WFP) to intercept network connections on Windows 8 and later (default is "0"). For example, to enable the use of WFP, use:

    msiexec /i ndt.msi /quiet USEWFP=1

  • ADMINCHECK: Modifies the security setting "Allow only members of the local Administrators group to modify the configuration" (default is "1"). To remove this restriction:

    msiexec /i ndt.msi /quiet ADMINCHECK=0

Was this article helpful?