(imported comment written by Jim23)
- It appears to be installing the app:
At 11:05:41 -0700 -
ActionLogMessage: (action 15307 ) ending action
At 11:05:41 -0700 - opsite11 (http://servername/cgi-bin/bfgather.exe/opsite11)
Not Relevant - Windows Splunk Light Forwarder 3.4.10 (fixlet:15307)
At 11:06:16 -0700 -
Report posted successfully.
- The problem seems to be in execution.
A. Both “run” and “wait” will execute a command. (“wait __download\splunk.msi” and “run __download\batch.bat”
B. In order to execute an msi you need to use msiexec.exe. For example:
wait msiexec.exe /i “{pathname of client folder of current site}__Download\splunk_x86.msi” /qn
C. The names are the same for splunk.msi. You would probably want to rename them to splunk_32.msi and splunk_64.msi
SO it may look something like:
Relevance 1:
not exists service “splunkd” and free space of drive “c:” /1024 >100
Action1:
if {x64 of operating system}
download http://svc-bigfix01.svc.prod.vegas.com: … splunk_x64.msi
wait msiexec.exe /i “{pathname of client folder of current site}__Download\splunk_x64.msi” /qn
elseif {not x64 of operating system}
download http://svc-bigfix01.svc.prod.vegas.com: … splunk_x86.msi
wait msiexec.exe /i “{pathname of client folder of current site}__Download\splunk_x86.msi” /qn
endif
If you need to launch it from bat then it would look something like this:
Relevance 1:
not exists service “splunkd” and free space of drive “c:” /1024 >100
Action1:
if {x64 of operating system}
download http://svc-bigfix01.svc.prod.vegas.com: … splunk_x64.msi
download http://svc-bigfix01.svc.prod.vegas.com: … splunk_x64.bat
wait __Download\splunk_x64.bat
elseif {not x64 of operating system}
download http://svc-bigfix01.svc.prod.vegas.com: … splunk_x86.msi
download http://svc-bigfix01.svc.prod.vegas.com: … splunk_x86.bat
wait __Download\splunk_x86.bat
endif