I set up the postscript (just set the admin and password), packaged and deployed using Jamf Pro.
The postscript defines the variable $app as "app="/var/tmp/Filevault Reissue.app/Contents/MacOS/Filevault Reissue"
But when deploying in Jamf it will install to a random tmp sandbox folder.
I suspect this is why the postinstall script is failing, but i'm not sure.
PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.fd9htT/Scripts/com.github.cybertunnel.Filevault-Reissue.Installer.vqqbqh
./postinstall: 2022-08-04 11:33:39.800 Filevault Reissue[17530:79211] dataFromGeneratingCandidatesForSelectedRange received error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named mul-xpc (Apple)_OpenStep was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named mul-xpc (Apple)_OpenStep was invalidated: failed at lookup with error 3 - No such process.}
I set up the postscript (just set the admin and password), packaged and deployed using Jamf Pro. The postscript defines the variable $app as "app="/var/tmp/Filevault Reissue.app/Contents/MacOS/Filevault Reissue"
But when deploying in Jamf it will install to a random tmp sandbox folder. I suspect this is why the postinstall script is failing, but i'm not sure.
Snippets from install.log:
PackageKit: Extracting file://localhost/Library/Application%20Support/JAMF/Downloads/Filevault-ReissueInstaller-FieldEditor.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/382D52EA-8ED2-410D-A57B-18C7997E24F9.activeSandbox/Root, uid=0)
PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.fd9htT/Scripts/com.github.cybertunnel.Filevault-Reissue.Installer.vqqbqh
./postinstall: 2022-08-04 11:33:39.800 Filevault Reissue[17530:79211] dataFromGeneratingCandidatesForSelectedRange received error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named mul-xpc (Apple)_OpenStep was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named mul-xpc (Apple)_OpenStep was invalidated: failed at lookup with error 3 - No such process.}