Is there an easy way to have FileWave install a PKG and then run a script postflight? Specifically, I am trying to install the Lightspeed User Agent.pkg and then run the following script after: sudo defaults write useragent IdentServer -string "rocket.southernacademy.org"
I created a MSI/PKG Fileset and dropped my UserAgent.pkg in it but how do I make sure a script runs after that?
1. Highlight your fileset and click the Scripts icon in the toolbar at the top of the FileWave Admin console window.
2. Highlight Postflight Scripts and click the Create button.
3. Enter a name for your script and click OK.
4. A text editor window will open. Paste your script right above the line that says "exit 0".
Since the script runs as root you can probably leave out the "sudo" in your scripts but I don't think there's any issues if you leave it in.
The following user(s) said Thank You: Patrick Kock