Re: Using --plugins option with productbuild
Re: Using --plugins option with productbuild
- Subject: Re: Using --plugins option with productbuild
- From: Mitchell Laurren-Ring <email@hidden>
- Date: Mon, 18 Apr 2016 16:00:16 -0700
I found the answer inside my build script:
TMPDIR=$CURDIR/tmp
Evidently productbuild uses TMPDIR.
On Apr 11, 2016, at 8:46 PM, Mitchell Laurren-Ring < email@hidden> wrote:
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