Search code examples
macosproductbuild

Mac OS installer package with Readme file containing images


I'm trying to set <readme> tag in Distribution.xml part of the package to contain something which may contain images. For now I've tried rtfd and pdf; for rtfd it compains that it can't open the file because of permissions lack and pdf is displayed as plain text. So the question is: how to use something that may contain images with Distribution.xml


Solution

  • Since I didn't find solution I used some workaround:

    1. Convert RTF to HTML
    2. Use this site to convert image to embeded html image and replace all linked images in the original html
    3. Use html instead of rtfd in the Distribution.xml

    Drawback is that it require more work to be done and html is displayed differently in the package than I saw in browsers.