mkdir 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>
mkdir pkg-contents cp -r exe-contents/* pkg-contents/
Extract the contents of the EXE file using a tool like 7-Zip or unzip . For this example, let's assume you're using 7-Zip :