I'm trying to install NXLogs with a specific config file (.conf). After the install I need to restart the service for the new config to take effect. NXLog is in the software catalog but I'm not sure how to force it to overwrite the default config.
Maybe a script would be better. Zip the msi and the .conf and run the batch file to restart the service after. It seems doable but I don't have much experience with Kace to implement this.
Go to Distribution |Task Chains to combine the tasks.
Build your deployment (and for specific questions it may be useful to ask how to install via Command line the software with your needs) and a restart task and put both into the task chain.
For just copying a file to an end point, you can use the "File Sync" feature of the SMA.
More information can be found in the Admin guide.
For this installation i created 3 scripts:
1- Script to install the agent (i used the msi configuration)
2a - script to overwrite the nxlog.conf file (zipped the file/ attached it and the script unzips the file and places it C:\program.........) (((this conf is for DC servers)))
2b - script to overwrite the nxlog.conf file (zipped the file/ attached it and the script unzips the file and places it C:\program.........) (((this conf is for IIS servers)))
3- Start & Restart service (nxlog) (script to start service also to restart it/ just in case :) )
Once those 3 scripts were tested, i created a task Chain
1- task chain to run 1, 2a, 3
2- task chain to run 1, 2b, 3
Example of Step 1:
Example of step 2aDependencies (required)
Example of Step 3: