On Aug 9, 2012, at 2:00 PM, vishnu kulkarni wrote:
I have a flat package from Vendor. It does meet our requirements. I have renamed package in finder according to our company naming standards.All works fine, but when i install the package on target machine and look for the package receipt, it shows the name of package provided by vendor.
1) Whats the best way to get the display name in receipts to match our company standards.
Why do you want to do this? package identifiers are not cosmetic. They serve an important purpose. If you don't do it exactly right and exactly consistently for every version of the package you will break Installer's upgrade logic. Worse, if someone who is unfamiliar with your processes manually installs a newer version of the vendor's package without your modifications, it will break Installer's upgrade logic. You are setting yourself up for sadness down the road.
2) Is this something which can be achieved by modifying any particular file within the package?
Yes.
3) what is the best and recommended way to modifiy flat packages?
It's not _recommended_ to modify vendor packages at all.
If you must do so, pkgutil --expand and pkgutil --flatten are your tools.
Thanks
vishnu