Re: productbuild(1) distribution definition
Re: productbuild(1) distribution definition
- Subject: Re: productbuild(1) distribution definition
- From: Dave Barker-Plummer <email@hidden>
- Date: Tue, 30 Apr 2013 10:36:34 -0700
Yes. Indeed I was looking for that flag. Many thanks.
-- Dave
On Apr 29, 2013, at 11:07 PM, John Gee <email@hidden> wrote:
> 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