If your goal is to run a Windows .exe on a Mac, the solution is not to convert it to a .pkg , but to create a self-contained application bundle that runs your Windows software using a compatibility layer. This is the most common and practical use case, and tools exist to help you create macOS .app bundles from your .exe files.
However, if you're trying to get that app running on a Mac or deploying it to a fleet of devices, you aren't out of luck! Here are the three best ways to handle it: The Wrapper Strategy: convert exe to pkg
When creating PKGs using the terminal, ensure your source files have the correct read/write permissions ( chmod 755 ), otherwise the installer may fail on the client machine. If your goal is to run a Windows