kc9wwh/macOSUpgrade

prepare-jamf-policy.sh with macOS Big Sur results in Unknown installer type.

Closed this issue · 2 comments

Using prepare-jamf-policy.sh with macOS Big Sur results in Unknown installer type:

./prepare-jamf-policy.sh /Applications/Install\ macOS\ Big\ Sur.app

Not found /Applications/Install macOS Big Sur.app/Contents/SharedSupport/InstallInfo.plist
Unknown installer type. Apple may change something.

As a quick-and-dirty Big Sur Band-Aid, I locally made the following replacements:

  • /Contents/SharedSupport/InstallInfo.plist with /Contents/Info.plist
  • /Contents/SharedSupport/InstallESD.dmg with /Contents/SharedSupport/SharedSupport.dmg
  • "print 'System Image Info:version'" "${OSInstaller}/Contents/SharedSupport/InstallInfo.plist" with "print 'DTPlatformVersion'" "${OSInstaller}/Contents/Info.plist"

I fixed this issue #153.
Thank you.