Re: Packages or Iceberg question
Re: Packages or Iceberg question
- Subject: Re: Packages or Iceberg question
- From: Conor Schutzman <email@hidden>
- Date: Tue, 28 Jan 2014 11:46:06 -0800
There are two solutions I see:
1) Add the full path (I would just build a “source” folder that had a full hierarchy built within it) to the payloads tab in Packages.
2) Install the file to some holding location (I use /private/tmp but there are a bunch of common options), and then use postinstall scripts to move the files to their correct location.
I personally would recommend #2 whenever you are playing in /System, as it also provides an opportunity for you to backup the existing files first, before over-writing them (though I suppose you could do that with pre-install scripting using option 1).
Clear as mud?
Conor
On Jan 27, 2014, at 3:38 PM, Kostas Backas <email@hidden> wrote:
> Hello,
>
> This is a duplicate to the Mac Enterprise list,
>
> I need to replace the file SampleSupport.plist which has the letters shown when Quicklooking a font. I have tweaked the file and now I need to wrap it in a Packages pkg I create, that, among others, it replaces some fonts in main Library and System Library and installs 2 pkgs.
> As I get from Packages help, when you want to put something ex. in /System/Library/Fonts, you add the “Fonts” directory to the Payload via Hierarchy.
> As for the SampleSupport.plist the full path is: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/Resources
>
> Do I have to create all the tree by hand? What about permissions? Or am I completely wrong here?
>
> Best regards
>
> Kostas
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev 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.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden