how to change folder attributes from postinstall (missing SetFile?)
how to change folder attributes from postinstall (missing SetFile?)
- Subject: how to change folder attributes from postinstall (missing SetFile?)
- From: Mario Emmenlauer <email@hidden>
- Date: Thu, 23 Oct 2008 19:01:13 +0200
Hi,
I have an installer that works very well as long as I have 'Include
Root in Package' enabled. When I disable it, the Icons for the app-
lication bundle don't show up until the user reboots.
The reason seems that PackageMaker creates the root folder (instead of
unpacking it), and therefore the folder lacks attributes?!
Using 'SetFile -a C /Applications/Folder.app' from a postinstall-script,
I can make the Icons appear. However, SetFile is not available on the
users machines.
Whats the right tool to use on a users machine to set folder attributes?
What would be portable (and work on Tiger, Leopard, SnowLeopard)? Or am
I doing something completely wrong here?
Cheers,
Mario
BTW: I found similar discussions on this list, but all without satis-
factory results.
_______________________________________________
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