We have an OS X Installer package for one of our audio plug-in products. This installer is live for over a year already and has been successfully installed on thousands of machines. We have three similar installer packages of other products with only different payload. The installer packages are created with Stéphane Sudre's "Packages" "Iceberg" application and follow best practices. I can rule out fundamental errors.
Over the whole timespan we've had two reported issues with this installer where it fails extracting files from the package with a very generic error, from two different users:
User 1: MacPro6,1 @ 3.50 GHz (x 12), 32 GB RAM, OS X 10.10.1 (14B25)
User 2: MacPro6,1 @ 3.50 GHz (x 12), 16 GB RAM, OS X 10.9.3 (13D65)
Here is the error message (install.log excerpt):
PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “Zynaptiq UNVEIL Plug-In.pkg”." UserInfo=0x7fa6d2694440 {NSUnderlyingError=0x7fa6d2602e40 "UNIX[Invalid argument]", NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/379DD381-52DF-413B-B55A-C51D17C8774B.activeSandbox/Root, NSURL=file://localhost/Users/user/Desktop/Zynaptiq%20UNVEIL%20Plug-In.pkg, PKInstallPackageIdentifier=com.zynaptiq.pkg.UnveilMultiplatform_Retail, NSLocalizedDescription=An error occurred while extracting files from the package “Zynaptiq UNVEIL Plug-In.pkg”.} {
NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/379DD381-52DF-413B-B55A-C51D17C8774B.activeSandbox/Root";
NSLocalizedDescription = "An error occurred while extracting files from the package \U201cZynaptiq UNVEIL Plug-In.pkg\U201d.";
NSURL = "file://localhost/Users/user/Desktop/Zynaptiq%20UNVEIL%20Plug-In.pkg";
NSUnderlyingError = "Error Domain=NSOSStatusErrorDomain Code=100022 \"UNIX[Invalid argument]\" (EINVAL: Invalid argument) UserInfo=0x7fa6d26d1680 {NSLocalizedDescription=UNIX[Invalid argument]}";
PKInstallPackageIdentifier = "com.zynaptiq.pkg.UnveilMultiplatform_Retail";
}
User 1 was able to install it after repairing disk permissions, re-downloading the installer package, and logging in holding the Shift key to disable Login Items.
User 2 still gets this error.
I am willing to spend time to research this thoroughly, but I can't seem to find documentation about the OS X installer, the PKInstallErrorDomain, the underlying NSOSStatusErrorDomain, the respective error codes 110 and 100022, and the meaning of "UNIX[Invalid argument]" in this context.
Can someone hint me at where to begin?