• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using --plugins option with productbuild
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

/Mick




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.

/Mick





 _______________________________________________
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

References: 
 >Using --plugins option with productbuild (From: Mitchell Laurren-Ring <email@hidden>)

  • Prev by Date: Using --plugins option with productbuild
  • Previous by thread: Using --plugins option with productbuild
  • Index(es):
    • Date
    • Thread