crwdns2935355:0devicecrwdnd2935355:0crwdnd2935355:0crwdne2935355:0
crwdns2935335:0crwdne2935335:0
crwdns2935381:0crwdne2935381:0
crwdns2936071:01crwdne2936071:0
Download the version of the OS you want to install here: https://support.apple.com/en-gb/HT211683
crwdns2936071:02crwdne2936071:0
Open InstallMacOSX.dmg by double-clicking.
crwdns2936071:03crwdne2936071:0
If you don't get the following error: "This version of OS X/macOS cannot be installed on this computer."
crwdns2936071:04crwdne2936071:0
Quit the installer and drag and drop the InstallMacOSX.pkg file on your Desktop
crwdns2936071:05crwdne2936071:0
Open Terminal and enter the following command: "cd Desktop"
crwdns2936071:06crwdne2936071:0
Open the folder appeared on the desktop.
crwdns2936071:07crwdne2936071:0
Go back to the terminal and type the following command: pkgutil --flatten FolderName New.pkg (FolderName = the name of the folder and New.pkg = the new .PKG file that will be created)
crwdns2944171:0crwdnd2944171:0crwdnd2944171:0crwdnd2944171:0crwdne2944171:0