Re: Packages or Iceberg question
Usually, yes, if the folder is not listed in the payload hierarchy, you would need to add the missing intermediary folder(s) in the hierarchy (not on disk). An additional list of standard folders can be made visible using the cmd + . shortcut. Also if you're looking into installing a standard component such as an application, a screen saver, ... you can drop the item just outside the payload list (a drop rounded rect will be displayed) and the application will try to guess where to put the component in the payload hierarchy (and adding missing intermediary folders if needed). AFAIK, the MacEnterprise suggestion is OK since what you are trying to do is to modify system files that should not be touched anyway (because a OS update can overwrite your changes). The interest of using a package here would be to be able to run a script with admin authentication. On Wed, Jan 29, 2014 at 11:28 AM, Kostas Backas <kostas@systemgraph.gr> wrote:
Thanks Stephane,
I will do as you say. Is that the method when needed to put files anywhere, just to create the folder tree one by one?
Also, a fellow from MacEnterprise list suggested that maybe I need to copy the item to /tmp, remove the original, and copy my own, and not mess with the system folders.
Is it a better approach or is it safe to use Packages for that specific thing?
Best regards
Kostas
On 29 Ιαν 2014, at 11:47 π.μ., Stephane Sudre <dev.iceberg@gmail.com> wrote:
You don't need to create the whole tree.
Just create /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Resources (that's 4 folders less) and make sure to check the "Follow symbolic links" option the Settings tab. Also make sure not to check the "Overwrite directory permissions".
On Tue, Jan 28, 2014 at 12:38 AM, Kostas Backas <kostas@systemgraph.gr> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/dev.iceberg%40gmail.co...
This email sent to dev.iceberg@gmail.com
-- Packaging Resources - http://s.sudre.free.fr/Packaging.html
-- Packaging Resources - http://s.sudre.free.fr/Packaging.html _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre