Automate NSClient installation on Windows
Posted: Fri Feb 22, 2013 2:49 am
Hi folks,
I am trying to automate the installation of the NSClient on our machines (Windows).
Installing it manually by double clicking works fine, but if I try the below command line it installs but does not add the allowed hosts parameter.
When I run the above command without the /quiet part it works as you would think: it disables the documentation by default and does not ask me for the allowed hosts part. However: it does not work. When I install it this way the allowed hosts part of the ini file just says 127.0.0.1 and nothing else.
Can anyone help me get this running (on Windows 7 for now)? Other methods that can be easily deployed centrally via a GPO or simple script are also welcome!
TIA!
I am trying to automate the installation of the NSClient on our machines (Windows).
Installing it manually by double clicking works fine, but if I try the below command line it installs but does not add the allowed hosts parameter.
Code: Select all
M:\>msiexec /i C:\NSCP-0.4.1.90-Win32.msi /quiet /norestart ADDLOCAL="ALL" REMOVE="Documentation"
ALLOWED_HOSTS="10.2.251.10"
Can anyone help me get this running (on Windows 7 for now)? Other methods that can be easily deployed centrally via a GPO or simple script are also welcome!
TIA!