Posted on 05-10-2025 04:18 PM
I am looking to Execute Absolute Full Agent, however the PKG relies on a few other files, how can I accomplish this as it seems to have an error code of 0 - getcwd with my script.
Posted on 05-11-2025 02:02 PM
You probably need to contact the vendor/developer for assistance.
You can try to place all the source files in the directory you are wanting to use, and run that post install command from terminal directly to execute it. It's always best to debug before you package the stuff and try to upload it to Jamf.
Posted on 05-11-2025 05:43 PM
Actually, the above postinstall script works, i found my own issue and I noticed there is no space between # & !
Below is the Modified Script
Posted on 05-11-2025 07:29 PM
@JuanMoya93 A postinstall script is already running as a privileged process so using sudo to elevate privileges is unnecessary, and the allowUntrusted isn't necessary when running the install via the jamf binary, so your call to the installer tool can simply be:
/usr/sbin/installer -pkg "/private/tmp/Absolute5.10.25/AbsoluteFullAgent.pkg" -target /