productbuild fails to use .rtfd files from Distribution file

Originator:mlaskow3
Number:rdar://24710421 Date Originated:18-Feb-2016
Status:Open Resolved:
Product:OS X SDK Product Version:10.11
Classification:UI/Usability Reproducible:Always
 
Summary:
When creating the installer with images, you can choose between using HTML and RTF files.
When using RTF files, in can not handle properly RTFD files, so you need to use placeholder RTF files, create the package, expand it, replace the files, and pack the package again.

Steps to Reproduce:
1. Create Distribution file for any package, with RTFD 'Introduction' screen.
2. Use productbuild with given Distribution file, for example `productbuild --distribution installer/Distribution --resources installer/Resources --package-path ./installer $TMP_PKG`


Expected Results:
productbuild should create an installer with provided RTFD screens.

Actual Results:
productbuild fails to create an installer, with error: 'The file “intro.rtfd” couldn’t be opened because you don’t have permission to view it.'

Version:
XCode Version 7.2 (7C68) & Mac OS X 10.11.2

Notes:


Configuration:
Mac OS X 10.11.2

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!