Quickadd.pkg failing for all locations on all Operating Systems

tnielsen
Valued Contributor

It's been this way for awhile, but if I build the .pkg using recon it works. It's only the enrollment from the website that's NOT working. JSS 9.62. Here is the error from the install log.

installd[1864]: PackageKit: releasing backupd
installd[1864]: PackageKit: allow user idle system sleep
installd[1864]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “QuickAdd.pkg”." UserInfo=0x7fb342173fe0 {NSFilePath=postinstall, NSURL=file://localhost/Users/tnielsen/Downloads/QuickAdd.pkg, PKInstallPackageIdentifier=com.jamfsoftware.osxenrollment, NSLocalizedDescription=An error occurred while running scripts from the package “QuickAdd.pkg”.} {
        NSFilePath = postinstall;
        NSLocalizedDescription = "An error occurred while running scripts from the package U201cQuickAdd.pkgU201d.";
        NSURL = "file://localhost/Users/tnielsen/Downloads/QuickAdd.pkg";
        PKInstallPackageIdentifier = "com.jamfsoftware.osxenrollment";
    }
installd[1864]: PackageKit: Running idle tasks
installd[1864]: PackageKit: Done with sandbox removals
Installer[85687]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “QuickAdd.pkg”." UserInfo=0x7fd0d3564700 {NSFilePath=postinstall, NSURL=file://localhost/Users/tnielsen/Downloads/QuickAdd.pkg, PKInstallPackageIdentifier=com.jamfsoftware.osxenrollment, NSLocalizedDescription=An error occurred while running scripts from the package “QuickAdd.pkg”.}
installd[1864]: PackageKit: Removing client PKInstallDaemonClient pid=85687, uid=725550470 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Installer[85687]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Installer[85687]: IFDInstallController D3566320 state = 8
Installer[85687]: Displaying 'Install Failed' UI.
Installer[85687]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
3 REPLIES 3

gregleeper
New Contributor

I was told that there is a defect in 9.65 with quickadd.

emily
Valued Contributor III
Valued Contributor III

How are you building your QuickAdd? Not sure if it's related or not, but I know for sure you should build your QuickAdd.pkg in Recon on a machine logged in with a local account, not a network one. So if you have a VM or something with a local admin (uid in the 500s) try re-building it and using that and see if it works better for you.

tnielsen
Valued Contributor

@emilykausalik @gregleeper

My wording is terrible, too much coffee. The quickadd.pkg that I make in recon will work. 99% of the time. It's the Web-based enrollment that fails.

For instance, when thininstalling on an OS that's never been touched using your https://servername:8443/enroll site, the downloaded .pkg fails every freaking time on every freaking operating system version since 10.7.5.

Also, I'm using 9.62 JSS