I’m running into an issue where the MDS script install fails and I’m advised to contact the software manufacturer. I created a script which binds the mac to Active directory. I added the script into a scripts folder which resides in my resources folder that includes a packages and a profiles folder. I have the script folder selected for the workflow and I save it to an external volume. The automaton boots into recovery and runs the commands in terminal. Everything from the disk image and packages install successfully, but when it gets to the script install it fails and says “The installer encountered an error that caused the installation to fail”. I’ve included a screenshot. Is anyone experiencing this issue or know what the cause may be? Im running the latest MDS 2.1 Thanks
All installer logs are in /var/log/install.log and can be viewed from the Console.
tim
Tim-
Anything you can tell from the log below:
2020-03-05 07:20:15-08 iMac installer[855]: Product archive /private/var/.imagr/first-boot/items/014-zz_com.twocanoes.mds.scripts.pkg trustLevel=100
2020-03-05 07:20:15-08 iMac installer[855]: External component packages (1) trustLevel=100 (trust evaluation failed: Error Domain=PKInstallErrorDomain Code=101 “The package “014-zz_com.twocanoes.mds.scripts.pkg” is not signed.” UserInfo={NSURL=#zz_com.twocanoes.mds.scripts.pkg – file:///var/.imagr/first-boot/items/014-zz_com.twocanoes.mds.scripts.pkg#Distribution, PKInstallPackageIdentifier=zz_com.twocanoes.mds.scripts.pkg, NSLocalizedDescription=The package “014-zz_com.twocanoes.mds.scripts.pkg” is not signed.})
2020-03-05 07:20:15-08 iMac installer[855]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/private/var/.imagr/first-boot/items/014-zz_com.twocanoes.mds.scripts.pkg#zz_com.twocanoes.mds.scripts.pkg
“PKLeopardPackage <id=zz_com.twocanoes.mds.scripts.pkg, version=1583420029.382625d, url=file:///var/.imagr/first-boot/items/014-zz_com.twocanoes.mds.scripts.pkg#zz_com.twocanoes.mds.scripts.pkg>”
2020-03-05 07:20:15-08 iMac installd[270]: PackageKit: Extracting file:///var/.imagr/first-boot/items/014-zz_com.twocanoes.mds.scripts.pkg#zz_com.twocanoes.mds.scripts.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/E8AD8EC9-16B6-4D11-8ECF-E77BA37899AF.activeSandbox/Root/private/tmp/3EBC24A3-D925-421E-8C30-A0F12D6D7223, uid=0)
2020-03-05 07:20:15-08 iMac installd[270]: PackageKit: Executing script “./postinstall” in /private/tmp/PKInstallSandbox.PdGwOe/Scripts/zz_com.twocanoes.mds.scripts.pkg.YffxMG
2020-03-05 07:20:15-08 iMac installd[270]: ./postinstall: /var/.imagr/first-boot/items/014-zz_com.twocanoes.mds.scripts.pkg /private/tmp/3EBC24A3-D925-421E-8C30-A0F12D6D7223 /
2020-03-05 07:20:20-08 C02ZF0T2JWF1 installd[270]: ./postinstall: script to install profiles and run scripts complete:success
2020-03-05 07:20:20-08 C02ZF0T2JWF1 installd[270]: PackageKit: Writing receipt for zz_com.twocanoes.mds.scripts.pkg to /
2020-03-05 10:29:43-05 C02ZF0T2JWF1 installd[600]: PackageKit: Executing script “./preinstall” in /private/tmp/PKInstallSandbox.7AAEzu/Scripts/com.adobe.armdc.app.pkg.DZLStC
2020-03-05 10:29:45-05 C02ZF0T2JWF1 installd[600]: PackageKit: Executing script “./postinstall” in /private/tmp/PKInstallSandbox.7AAEzu/Scripts/com.adobe.armdc.app.pkg.DZLStC
2020-03-05 11:21:19-05 C02ZF0T2JWF1 system_installd[595]: PackageKit: Executing script “preinstall” in /private/tmp/PKInstallSandbox.KRVarw/Scripts/com.apple.pkg.MRTConfigData_10_14.16U4096.9Lxskv
2020-03-05 11:21:19-05 C02ZF0T2JWF1 system_installd[595]: PackageKit: Executing script “postinstall” in /private/tmp/PKInstallSandbox.KRVarw/Scripts/com.apple.pkg.MRTConfigData_10_14.16U4096.9Lxskv
2020-03-05 11:21:20-05 C02ZF0T2JWF1 admin[881]: Running Install Scripts . . .
2020-03-05 11:21:20-05 C02ZF0T2JWF1 admin[891]: 2 Install Scripts run.
2020-03-05 11:21:33-05 C02ZF0T2JWF1 system_installd[595]: PackageKit: Executing script “preinstall” in /private/tmp/PKInstallSandbox.Ll2MDa/Scripts/com.apple.pkg.GatekeeperConfigData.16U1471.DLi05s
2020-03-05 11:21:33-05 C02ZF0T2JWF1 system_installd[595]: PackageKit: Executing script “postinstall” in /private/tmp/PKInstallSandbox.Ll2MDa/Scripts/com.apple.pkg.GatekeeperConfigData.16U1471.DLi05s
2020-03-05 11:21:33-05 C02ZF0T2JWF1 admin[927]: Running Install Scripts . . .
2020-03-05 11:21:33-05 C02ZF0T2JWF1 admin[933]: 1 Install Scripts run.
2020-03-05 11:21:49-05 C02ZF0T2JWF1 system_installd[595]: PackageKit: Executing script “preinstall” in /private/tmp/PKInstallSandbox.G4FPR9/Scripts/com.apple.pkg.GatekeeperConfigData.16U1873.MJbx6u
2020-03-05 11:21:50-05 C02ZF0T2JWF1 system_installd[595]: PackageKit: Executing script “postinstall” in /private/tmp/PKInstallSandbox.G4FPR9/Scripts/com.apple.pkg.GatekeeperConfigData.16U1873.MJbx6u
2020-03-05 11:21:50-05 C02ZF0T2JWF1 admin[970]: Running Install Scripts . . .
2020-03-05 11:21:50-05 C02ZF0T2JWF1 admin[976]: 1 Install Scripts run.
2020-03-06 15:27:45-05 C02ZF0T2JWF1 system_installd[595]: PackageKit: Executing script “preinstall” in /private/tmp/PKInstallSandbox.P8N0ed/Scripts/com.apple.pkg.MRTConfigData_10_14.16U4099.fGe7jj
Any idea what this means?
Newer versions of macOS require packages to be signed when installing. You can sign packages. See the “Sign packages” section:
https://twocanoes.com/knowledge-base/mds-admin-guide/
tim
I am running into the problem. I am not creating anything custom. I am working from a fresh install of MDS 4 Beta on a fresh OS of Big Sur on one of the new A1 MacBooks Airs. I’m keeping my workflow super simple. No OS to install, just install two packages, Chrome and 4K video downloader and create an administrative account. No matter where I put the packages in the workflow, they will not install and when I look at the logs it says “pkg is not signed”. I’ve gone to “Packages” and clicked Select under “Signing Identity” but it just says “No Identities found”. Any ideas on how to move forward?
I just added in automatically installing rosetta to get around this issue. Try the latest build (40064 or later).
tim