• 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: add localized readme, license etc. in a distribution package using productbuild
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >add localized readme, license etc. in a distribution package using productbuild (From: Eric Gorouben <email@hidden>)
 >Re: add localized readme, license etc. in a distribution package using productbuild (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: LLDB printing dynamic C arrays
  • Next by Date: Re: LLDB printing dynamic C arrays
  • Previous by thread: Re: add localized readme, license etc. in a distribution package using productbuild
  • Next by thread: man pages?
  • Index(es):
    • Date
    • Thread