Hi all,
As the title implies, I'm having an issue when building my workflow for upgrading from 10.8.5/10.9.5 to 10.10 when bypassing Setup assistant and trying to install from a dmg. A (any) dmg package will not install correctly, sometimes at all, when the Mac is at the setup assistant screen. The install log shows a repeated error "Disak disappeared", presumably when a dmg is unmounted. Note this error does not occur when installing from a .pkg or when setup assistant has already been run.
The workflow I am working on:
1. Create a 10.10 upgrade package using Greg Neagles createOSXInstalPkg
2. push that package and a custom LaunchDaemon via Casper Remote, both are wrapped in another package that has a pre- and postflight
3. The pre-flight does an rm /var/db/.AppleSetupDone and then 'killall loginwindow' to force the Mac back to the setup assistant (so I can put up a splash screen with useful No Touchy touchy messages)
4. The post-flight then puts up a fs jamfHelper window with the no touchy message and then installs the 10.10 upgrade package. <--- this is where the issue is
the 10.10 upgrade mounts a dmg - presumably InstallESD.dmg - to perform the actual install of the 10.10 upgrade files. For some reason setup assistant causes a premature dismount of the dmg, and the upgrade files never get fully installed. Thus the mac never reboots to the 10.10 upgrade, and instead just reboots to the setup assistant screen.
If I comment out the part of the pre-flight that removes .AppleSetupDone, the install and upgrade process completes just fine, it seems to be just with Setup Assistant running. I've noticed this with ALL dmg style packages as well, not just this one. If I convert them to .pkg, they work fine.
Has anyone seen this before? Is there something simple I'm overlooking here? Note this only became an issue after the upgrade to 10.8.5. When our fleet was running 10.8.2, this was not an issue.
