Opencore Offline - Installer Windows

You can build a Hackintosh on a PC that is never connected to the internet. For corporate or lab environments where USB drives cannot touch the web, an offline installer is mandatory.

@echo off
setlocal
set OCPKG=C:\OpenCore
set OUTDIR=C:\OpenCore\OfflineInstaller
%OCPKG%\Tools\macrecovery\macrecovery.exe -b %OUTDIR%\boot\macrecovery.img
copy /y %OCPKG%\EFI\BOOT\EFI\Microsoft\Boot\bootmgfw.efi %OUTDIR%\EFI\BOOT\BOOTX64.EFI
copy /y %OCPKG%\EFI\OC\config.plist %OUTDIR%\EFI\OC\config.plist
echo Building offline installer...
wimlib-imagex capture C:\OpenCore\OfflineInstaller C:\OpenCore\OfflineInstaller\install.wim

Run the batch file to create the offline installer. opencore offline installer windows

The OpenCore configuration file (config.plist) contains settings specific to your hardware. You can create this file manually or use a tool like OpenCore Configurator (not required for offline installer). You can build a Hackintosh on a PC

For simplicity, create a basic config.plist file with the following content: Run the batch file to create the offline installer

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>ACPI</key>
  <dict>
    <key>Patch</key>
    <array/>
  </dict>
  <key>DeviceProperties</key>
  <dict>
    <key>PciRoot(0x1)/Pci(0x1B,0x0)</key>
    <dict>
      <key>disable-external-gpu</key>
      <false/>
    </dict>
  </dict>
  <key>Kernel</key>
  <dict>
    <key>Patch</key>
    <array/>
  </dict>
  <key>Misc</key>
  <dict>
    <key>Boot</key>
    <dict>
      <key>timeout</key>
      <integer>5</integer>
    </dict>
  </dict>
</dict>
</plist>

Save this file as config.plist.

The offline installer contains a full copy of the macOS recovery environment, so no internet is required during installation (except for iCloud/Apple ID setup post‑install).