Seeking for an assistance on how can I automate splunk forwarder installation using windows script? Can I add this command on a windows script?
msiexec.exe /i splunkforwarder-6.6.1-aeae3fe0c5af-x64-release.msi INSTALLDIR="C:\Directory" AGREETOLICENSE=Yes DEPLOYMENT_SERVER="ip:8089" /quiet
There's no reason the command line options for installing the Forwarder can't be included in a script; in fact, automation via script is one of the reasons to install from the command line in the first place. The documentation (http://docs.splunk.com/Documentation/Forwarder/6.6.3/Forwarder/InstallaWindowsuniversalforwarderfrom...) includes plenty of information about which options are supported from the command line.