Re: productbuild(1) distribution definition
Re: productbuild(1) distribution definition
- Subject: Re: productbuild(1) distribution definition
- From: John Gee <email@hidden>
- Date: Tue, 30 Apr 2013 18:07:32 +1200
On 26/04/2013, at 10:09, Dave Barker-Plummer wrote:
> The productbuild(1) command line tool for building installers allows one to specify files to be included in the installer (readme, license and the like) within the distribution.xml file.
>
> I can get this to work by specifying an absolute path name for these keys, but all my attempts to use a relative path name have been unsuccessful. Has anyone been able to use a relative path here, and to work out how the path is interpreted (relative to what)?
>
> -- Dave
>
> Documentation for the xml format here:
> https://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html
You are probably looking for: productbuild --resources rsrc-dir
I stick a welcome, readme, license, and background file directly into a folder I called Resources. I use just the filename in the xml, and invoke the build with:
productbuild --distribution distribution.xml --resources Resources ...
--
John Gee, ADInstruments
Programmers live in interesting times...
_______________________________________________
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