macadmin-scripts icon indicating copy to clipboard operation
macadmin-scripts copied to clipboard

Installation error

Open shaexi opened this issue 4 years ago • 2 comments

Making empty sparseimage... installer: Package name is macOS Big Sur installer: Installing at base path /private/tmp/dmg.6OA2vz installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “InstallAssistant.pkg”.) Command '[u'/usr/sbin/installer', u'-pkg', u'./content/downloads/55/59/071-00696-A_4T69TQR1VO/9psvjmwyjlucyg708cqjeaiylrvb0xph94/071-00696.English.dist', u'-target', '/private/tmp/dmg.6OA2vz']' returned non-zero exit status 1 Product installation failed.

shaexi avatar Jun 22 '21 05:06 shaexi

Important note for Catalina+

Catalina privacy protections might interfere with the operation of this tool if you run it from ~/Desktop, ~/Documents, ~/Downloads or other directories protected in Catalina. Consider using /Users/Shared (or subdirectory) as the "working space" for this tool.

grahampugh avatar Jun 22 '21 05:06 grahampugh

@grahampugh I ran into this exact issue today. Machine was on 10.15.7. This is the command I used (tried to manually specify /Users/Shared/os as the working dir:

sudo python installinstallmacos.py --workdir /Users/Shared/os --clear --build 20G730

Wish I saved a screenshot, but I do remember the error was the same as @shaexi 's, complaining about the .dist file. When I navigated into the work dir, I noticed there was no .dist file there. The .pkg was in there though.

luckman212 avatar Jul 25 '22 17:07 luckman212