Convert Exe | To Pkg
<?xml version="1.0" encoding="UTF-8"?> <distribution> <name>Your Software Name</name> <version>1.0</version> <identifier>com.yourcompany.yoursoftware</identifier> <installable>pkg-contents</installable> </distribution>
7z x your_exe_file.exe -oexe-contents
Create a Distribution file, which is an XML file that describes the package: convert exe to pkg
Use the productbuild command to create the PKG file: ?xml version="1.0" encoding="UTF-8"?>