Re: how to change folder attributes from postinstall (missing SetFile?)
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=f5E/2rqbbdlHfe+ECtWpoH0P+sErVtP8cnoXSQWyl34=; b=DNSZ4YE3R7bUAkOQRtkLL79SViPGHMCkdH1BLnwavc+xQHpVV9Q7j+T2hMbG/+jJHO FNDEb6YvehvWxfp/hr0cvSYNGi7jYFJ5NnQiCvAWQVvqEgD5R1zXnwYPP5bG3pNowDl9 6ARrOklLDZghHGliQU65HSWz6TVFz+fKB5gnQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=cjItG2KtazkIJbFE+4BySwuHTLlOrHSkfnVHON0q3MR5yevMIKnryu1OoaUcJoaKRx U28/Wyv0si1ZQ3uwZyxyZzhG09j54Nv94nB7viXCu/iTwKb+sJ8kYn0JwPl8zQoyjzCh IgOlboCFKRPQjRs9VuSQU2U451ZmSX9Wh90KA= On Oct 23, 2008, at 7:01 PM, Mario Emmenlauer wrote: 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?! You can get a good starting with the code available at this URL: http://homepage.mac.com/jrc/contrib/tools/SetInvisible.c _______________________________________________ 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: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... 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? It's pretty easy to write one, you only need to play with the FSCatalogInfo data. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev