- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-23-2025 04:28 AM
Hi Guys,
Seeing an error when creating a pkg for EPM. Error reads:
Failed to create installer package: ProcessError(terminationStatus: 1, output: Optional("productbuild: error: directory \"" does not exist for writing \".pkg\"."), readerError: nil, writerError: nil)
Any Ideas?
10-23-2025 04:56 AM
Hi @Yemi Badru ,
Can you please share what command did you use to create it ?
Thanks.
10-23-2025 06:05 AM
Hi @Arik Rabi ,
I use this command: sudo ./CyberArkEPMInstaller -createInstallerPackage -installationKey -configuration 'CyberArkEPMAgentSetupMacos_25.9.0.316.config' -adminUser -adminPassword
10-23-2025 10:40 AM
We have it packaged without issue in jamf here and manually installed it too using the official instructions from the cyberark website for 25.9. tested and deployed without issue. - https://docs.cyberark.com/epm/latest/en/content/installation/macos-installagents.htm#tabset-1-tab-1
sudo ./CyberArkEPMInstaller -createInstallerPackage -installationKey <your-key> -configuration 'CyberArkEPMAgentSetupMacos_25.9.0.316.config' -adminUser <user> -adminPassword <password> -output /Users/yourname/Desktop/CyberArkEPM.pkg
https://cyberark.wistia.com/medias/8lab1u53rf demonstration on packaging it
https://community.cyberark.com/s/article/EPM-MacOS-Prepare-Activation-Command may not be applicable
macOS Blogs
Deploying EPM Agents on macOS with Jamf Pro
In this article, we cover the challenges with manual agent deployment and how to deploy the EPM agent to macOS workstations using Jamf Pro, Apple Mobile Device Management (MDM).
Useful Knowledge Articles
How to deploy agent via JAMF - EPM - How to configure JAMF for EPM Agent distribution
How to collect Agent logs - EPM MacOS Agent - How to take Agent Logs?
FAQs for account _cyberarkepm - FAQ for account _cyberarkepm created in EPM MacOS
10-23-2025 10:40 AM
We have it packaged without issue in jamf here and manually installed it too using the official instructions from the cyberark website for 25.9. tested and deployed without issue. - https://docs.cyberark.com/epm/latest/en/content/installation/macos-installagents.htm#tabset-1-tab-1
sudo ./CyberArkEPMInstaller -createInstallerPackage -installationKey <your-key> -configuration 'CyberArkEPMAgentSetupMacos_25.9.0.316.config' -adminUser <user> -adminPassword <password> -output /Users/yourname/Desktop/CyberArkEPM.pkg
https://cyberark.wistia.com/medias/8lab1u53rf demonstration on packaging it
https://community.cyberark.com/s/article/EPM-MacOS-Prepare-Activation-Command may not be applicable
macOS Blogs
Deploying EPM Agents on macOS with Jamf Pro
In this article, we cover the challenges with manual agent deployment and how to deploy the EPM agent to macOS workstations using Jamf Pro, Apple Mobile Device Management (MDM).
Useful Knowledge Articles
How to deploy agent via JAMF - EPM - How to configure JAMF for EPM Agent distribution
How to collect Agent logs - EPM MacOS Agent - How to take Agent Logs?
FAQs for account _cyberarkepm - FAQ for account _cyberarkepm created in EPM MacOS
10-23-2025 01:41 PM
Thanks @Yemi Badru ,
This error may indicate that the installer could not write the pkg to the disk.
Any chance you tried running it from a protected location or location with no writing permissions ?
Thanks,
Arik
10-27-2025 04:37 AM
Thanks for the response all. I'm running the exact same command as last week and now seeing an error that states 'Missing Configuration File'. Definitely including the path to the downloaded configuration file in the script.
Just to be sure I've given everyone access to the extracted Cyberark folder & it's contents.
10-27-2025 05:01 AM
Disregard my previous comment that error was due to a typo in my script.
Still getting the same error output: Failed to create installer package: ProcessError(terminationStatus: 1, output: Optional("productbuild: error: directory \"" does not exist for writing \".pkg\"."), readerError: nil, writerError: nil)
@Arik Rabi I definitely have permissions for the directory.
02-04-2026 07:34 PM
Hi @Arik Rabi Just want to let you know I'm having the same error like what @Yemi Badru getting right now. I removed the com.apple.quarantine on the zip file before unzip it. I have the full permission to the folder, downloaded multiple times from console but still getting the same problem.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

