• Stars
    star
    789
  • Rank 57,694 (Top 2 %)
  • Language
    Swift
  • License
    Other
  • Created over 3 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

macOS application written in SwiftUI that downloads installer pkgs for the Install macOS Big Sur application.

Download Full Installer

   

This is a Swift UI implementation of my fetch-installer-pkg script. It will list the full macOS Big Sur (and later) installer pkgs available for download in Apple's software update catalogs.

You can then choose to download one of them.

Motivation

You may want to download the installer pkg instead of the installer application directly, because you want to re-deploy the installer application with a management system, such as Jamf.

Since the Big Sur macOS installer application contains a single file larger than 8GB, normal packaging tools will fail. I have described the problem and some solutions in detail in this blog post.

Extras

  • Copy the download URL for a given installer pkg from the context menu.

  • Change the seed program in the Preferences window.

Questions

Is this different than the fetch-installer-pkg script?

Not really, other than it is a UI app and written in Swift and SwiftUI instead of a command line script written in python. I used this as a project to learn more about SwiftUI.

Can this download older versions of the macOS installer application?

No. Apple only provides installer pkgs for Big Sur and later. Earlier versions of the Big Sur installer are removed regularly.

Will you update this so it can download older versions?

No.

How is this different than softwareupdate or installinstallmacOS.py

As far as I can tell, this downloads the same pkg as softwareupdate --fetch-full-installer and installinstallmacOS.py.

The difference is that the other tools then immediately perform the installation so that you get the installer application in the /Applications folder. This tool just downloads the pkg, so you can use it in your management system, archive the installer pkg, or manually run the installation.

Credit

Both fetch-installer-pkg and this application are based on Greg Neagle's installinstallmacos.py script.

More Repositories

1

desktoppr

Simple command line tool to set the desktop picture on macOS
Swift
285
star
2

quickpkg

wrapper for pkgbuild to quickly build simple packages from an installed app, a dmg or zip archive.
Shell
253
star
3

mac-zsh-completions

macOS specific additional completion definitions for Zsh.
Shell
183
star
4

fetch-installer-pkg

A tool to download the a pkg installer for the Install macOS Big Sur app from Apple's softwareupdate servers
Python
166
star
5

diskspace

macOS command line tool to return the available disk space on APFS volumes
Swift
158
star
6

pkgcheck

Script to check installer pkgs for deprecated runtime calls
Shell
97
star
7

PrefsTool

Python
66
star
8

ScriptPackages

Sample scripts to build some simple macOS installer pkgs
Shell
31
star
9

PackagesForAppleAdministrators

Resources and Scripts for the iBook: Packages for Apple Administrators
Shell
31
star
10

swift-prefs

Some tools to work with macOS preferences/defaults/settings
Swift
31
star
11

profiletool

A tool to help manipulate macOS configuration profiles
Python
27
star
12

PR3ForAppleAdmins

Resources and example files for the Book "Property Lists, Preferences and Profiles for Apple Administrators"
Python
24
star
13

GNU-bash-mac-installer

Downloads and builds a Mac package installer for GNU bash 5
Shell
23
star
14

dotfiles

repository for my profile files
Shell
23
star
15

AutomationForAdmins

Python
16
star
16

RemindersCLITool

A command line tool to access OS X's Reminders application.
AppleScript
13
star
17

ThingsCLITool

Command line tool for Things GTD app
AppleScript
13
star
18

BuildShellcheckPkg

Script to build the shellcheck binary and a macOS installer pkg
Shell
11
star
19

terminalAndShellBookResources

Resources for the Book "macOS Terminal and shell"
10
star
20

SwiftAPITutorial

Sample code for my Swift Jamf API tutorial
Swift
10
star
21

CustomToolPathInstaller

Shell
10
star
22

SayThis-SwiftUI

Sample Code for my "Build a macOS Application to Run a Shell Command with Xcode and SwiftUI)"
Swift
9
star
23

ManageMacs

A wiki for Mac Sysadmins
8
star
24

AlphabetUserPicture

Shell
7
star
25

colortool

Swift
6
star
26

recipeutil

a tool to help manipulate recipes for autopkg
Python
6
star
27

SayThis-AppKit

Sample for my Xcode for Apple Admins articles here: http://scriptingosx.com/2016/04/build-an-application-to-run-a-shell-command-in-xcode-and-swift-part-1/ and here: http://scriptingosx.com/2016/05/build-an-application-to-run-a-shell-command-in-xcode-and-swift-part-2/
Swift
6
star
28

InstallerPATH

Shell
5
star
29

plaid

Swift
3
star
30

MunkiScripts

A collection of useful scripts for Munki.
3
star
31

swift-prf

Sample code for "Build a notarized package with a Swift Package Manager executable"
Shell
2
star
32

MSA-Demo-Chooser

This is the source code for my sample project in my MacSysAdmin Conference 2021 presentation.
Swift
2
star
33

PackagesForAppleAdmins

2
star
34

autopkg_recipes

Please note this repository has moved! go to autopkg/scriptingosx instead!
Python
2
star
35

autopkg_processors

Python
1
star