These advanced steps are primarily for system administrators and others who are familiar with the command line. You don't need a bootable installer to upgrade macOS or reinstall macOS, but it can be useful when you want to install on multiple computers without downloading the installer each time.
What you need to create a bootable installer
The Mojave installer app will be in your Applications folder, so you can go there and launch it later to upgrade your Mac to the new operating system. Make a bootable installer drive: The quick way. Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing. Turn on your Mac and continue to hold the power button until you see the startup options window, which shows your bootable volumes and a gear icon labled Options. Rufus will now create your bootable ESXi Installer USB Flash Drive. This will take about one minute. Additional Hint When you boot a server with this USB Flash Drive the ESXi Installer will copy the whole installer to the memory which means that you can install ESXi to the device where you are installing from. Just select it during the.
- A USB flash drive or other secondary volume formatted as Mac OS Extended, with at least 14GB of available storage
- A downloaded installer for macOS Big Sur, Catalina, Mojave, High Sierra, or El Capitan
Download macOS
- Download: macOS Big Sur, macOS Catalina, macOS Mojave, or macOS High Sierra
These download to your Applications folder as an app named Install macOS [version name]. If the installer opens after downloading, quit it without continuing installation. To get the correct installer, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server. - Download: OS X El Capitan
This downloads as a disk image named InstallMacOSX.dmg. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or .pkg installer.
Use the 'createinstallmedia' command in Terminal
- Connect the USB flash drive or other volume that you're using for the bootable installer.
- Open Terminal, which is in the Utilities folder of your Applications folder.
- Type or paste one of the following commands in Terminal. These assume that the installer is in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you're using. If it has a different name, replace
MyVolume
in these commands with the name of your volume.
Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing. Turn on your Mac and continue to hold the power button until you see the startup options window, which shows your bootable volumes and a gear icon labelled Options. Some Mac users may wish to create a bootable MacOS Catalina installer drive, typically using a USB flash drive or with another similar small boot disk. Bootable USB installers offer an easy way to upgrade multiple Macs to macOS Catalina, to perform clean installs of MacOS Catalina, to perform maintenance from a boot disk like formatting disks.
Big Sur:*
Catalina:*
Mojave:*
High Sierra:*
El Capitan:
* If your Mac is using macOS Sierra or earlier, include the --applicationpath
argument and installer path, similar to the way this is done in the command for El Capitan.
After typing the command:
- Press Return to enter the command.
- When prompted, type your administrator password and press Return again. Terminal doesn't show any characters as you type your password.
- When prompted, type
Y
to confirm that you want to erase the volume, then press Return. Terminal shows the progress as the volume is erased. - After the volume is erased, you may see an alert that Terminal would like to access files on a removable volume. Click OK to allow the copy to proceed.
- When Terminal says that it's done, the volume will have the same name as the installer you downloaded, such as Install macOS Big Sur. You can now quit Terminal and eject the volume.
Use the bootable installer
Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps:
Apple silicon
- Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing.
- Turn on your Mac and continue to hold the power button until you see the startup options window, which shows your bootable volumes and a gear icon labled Options.
- Select the volume containing the bootable installer, then click Continue.
- When the macOS installer opens, follow the onscreen instructions.
Intel processor
- Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing.
- Press and hold the Option (Alt) ⌥ key immediately after turning on or restarting your Mac.
- Release the Option key when you see a dark screen showing your bootable volumes.
- Select the volume containing the bootable installer. Then click the up arrow or press Return.
If you can't start up from the bootable installer, make sure that the External Boot setting in Startup Security Utility is set to allow booting from external media. - Choose your language, if prompted.
- Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions.
Learn more
For more information about the createinstallmedia
command and the arguments that you can use with it, make sure that the macOS installer is in your Applications folder, then enter the appropriate path in Terminal:
- Big Sur: /Applications/Install macOS Big Sur.app/Contents/Resources/createinstallmedia
- Catalina: /Applications/Install macOS Catalina.app/Contents/Resources/createinstallmedia
- Mojave: /Applications/Install macOS Mojave.app/Contents/Resources/createinstallmedia
- High Sierra: /Applications/Install macOS High Sierra.app/Contents/Resources/createinstallmedia
- El Capitan: /Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia
A bootable installer doesn't download macOS from the internet, but it does require an internet connection to get firmware and other information specific to the Mac model.
The following article uses options that are available starting with the Freeware edition and project type.
This tutorial will show you how to create installers for your Visual Studio solutions using Visual Studio 2019. For other versions of Visual Studio, please make sure you first download the corresponding Advanced Installer extension from the Visual Studio Marketplace.
We will start by adding an Advanced Installer Project to an existing solution, editing it and creating a package. Afterwards, we will include and a new Visual Studio project to the solution and build both projects in a single package.
- 1. Open the Visual Studio solution
- 2. Add an Advanced Installer Project to the solution
- 3. Create the first install package
- 4. Edit the installer project
- 5. Add another Visual Studio Project to the solution
- 6. Create the final install package
- 7. Automatically import .VDPROJ files (optional)
- 8. Video tutorial
- 9. See also
1. Open the Visual Studio solution
Open the solution for which you want to create the install package.
2. Add an Advanced Installer Project to the solution
Once the Visual Studio solution is loaded:
- From the “New Project” dialog select Advanced Installer Project
- In the “Solution” field select Add to solution option
- In the “Name” field you can write a name for your project
- Press to add the project to the solution
By default, when adding an Advanced Installer Project, the build output of the solution will not be automatically added to the installer project, to do this you must:
- Go to the “Files and Folders' section of the Installer Project
- Press 'Add Project Output' button
- Select the “Primary Output” and “References”
- Press
The output of each project contained by the solution is automatically synchronized in the Advanced Installer project.
Following these steps, Advanced Installer Extension for Visual Studio adds in the installer project all application references except the Microsoft .NET assemblies.
3. Create the first install package
In Visual Studio select 'Build' > 'Build Solution' option to start the build.
After the build is completed successfully, it will create two main files: HelloWorld.exe which is the output from the C# project and Installer Project.msi which is the installation package.
4. Edit the installer project
Using the Advanced Installer Project viewer, you can edit basic information about your installer like Product Details, Launch Conditions, Install Parameters, and much more..
Let's suppose we have an Enterprise edition of Advanced Installer. By default, the installer project will be created based on a Freeware license. Since we want to use features from the Enterprise edition, like selecting a theme for the installation dialogs, we will need to upgrade our project type:
- Press the button to open your installer project in Advanced Installer
- From the “Project” menu select “Options...”
- Navigate to the Project Type Tab and select Enterprise
- Press the button
Now, that we have an Enterprise project we have full access to all the available Advanced Installer Enterprise features.
- Go to Themes Page
- From the right view select the desired theme and variation for your installer dialogs
- Save the project and exit Advanced Installer
Visual Studio will ask you if you want to reload the installer project since it was modified. Press the button.
5. Add another Visual Studio Project to the solution
If an Advanced Installer Project is added to a solution, it will automatically import the build output and all useful information related to the projects from the solution. If later, the existing projects are modified, or another project is added to the solution the import operation must be redone.
Let's add a new Visual Studio project to the solution:
- From the “New Project” dialog in Visual Studio select 'Visual C#' > 'WPF App'
- In the “Solution” field select Add to solution option
- Press the button. The new project will be added to the solution
- Rebuild the solution
6. Create the final install package
Include the second project in the installer package:
- Select the Installer Project.aip file from the 'Solution Explorer'
- Check that both projects output builds are included in the installer package from the “Files and Folders” page
- Rebuild the solution
- Test the new installation package
The newly created installer will contain all the projects from the solution.
7. Automatically import .VDPROJ files (optional)
If you have solutions that contain old Visual Studio Deployment projects (.vdproj) you can automatically convert them to an Advanced Installer project and have it included in your solution, replacing the old VDPROJ. Just open the solution in Visual Studio, with our Advanced Installer VS extension installed, and VS will prompt you to accept the conversion from VDPROJ to AIPROJ (Advanced Installer VS project).
The new project Advanced Installer project will contain all the resources from the old VDPROJ. If you want to customize it more just use the 'Edit in Advanced Installer' button, available when you open the .aip file in Visual Studio.