I want to know if somebody know how to deploy a PKG with config files
We use LiveNavigator for backup our macOS.
For configure the server at the install the PKGs have to be run with a file name "autoconfig.txt" in the same folder.
Copy contents to /tmp
Add to composer
Export as dmg
Upload via jamf admin
You must capture the original pkg file & the config file.
When the pkg file runs, it reads the settings from the .plist file.
• Distribute via policy • Run Install Script
#!/bin/zsh installer -pkg /tmp/yourinstaller.pkg -target / exit 0