Using --plugins option with productbuild
Using --plugins option with productbuild
- Subject: Using --plugins option with productbuild
- From: Mitchell Laurren-Ring <email@hidden>
- Date: Mon, 11 Apr 2016 20:46:52 -0700
I’m attempting to use productbuild with the —plugins option to build an installer that includes my plugin. The folder I’m specifying contains the plugin and InstallerSections.plist. The command in my bash script looks like this:
/usr/bin/productbuild --plugins Plugins --quiet --distribution DistributionUK.xml --package-path . --resources MacInstallerResourcesUK test.pkg
This fails with an error:
productbuild: error: Cannot write product to "test.pkg". (The operation couldn’t be completed. No such file or directory)
Now here’s the weird thing: if I take out the —plugins option, it works perfectly with no errors. I suspect that productbuild is reporting the error incorrectly but I can’t be sure. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden