Re: add localized readme, license etc. in a distribution package using productbuild
Re: add localized readme, license etc. in a distribution package using productbuild
- Subject: Re: add localized readme, license etc. in a distribution package using productbuild
- From: Eric Gorouben <email@hidden>
- Date: Mon, 04 Jun 2012 11:36:16 +0200
For those interested, I got the answer from another forum:
Use a .dist file with productbuild,
in this .dist add the necessary lines, such as <welcome file="Welcome.rtf"/> as stated in the docs
in your resource folder, add the localized folders, but named English.proj, French.proj, German.proj (they will be renamed as en.proj, fr.proj, de.proj by productbuild) containing your localized Welcome.rtf (for example), and use the --resources option.
Best regards
Eric
>
>
> On Jun 1, 2012, at 9:21 AM, Eric Gorouben wrote:
>
>> Hi, All
>>
>> I'm trying to build a product using buildproduct. The doc states that I can add resources using --resources, but this option does not seem to have any effect.
>> productbuild --package myPackage.pkg --resources /tmp/Resources test.pkg
>> builds test.pkg without resources.
>>
>> The "Distribution Definition XML Schema Reference" also states that I can choose a readme or license file, but does not tell me how I can localize it.
>>
>> Does anyone know how I can do?
>>
>> Thanks
>> Eric
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden