site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On vendredi, septembre 15, 2006, at 09:02 PM, Sean Kelly wrote: Hi Rick, Sean Kelly On Sep 15, 2006, at 11:26 AM, cohen.rick@gmail.com wrote: Hi folks, _______________________________________________ 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... Since AppleScript may only work when you're running the installation manually, a solution that would work every time would be to notify the Finder about the creations of those files. It is quite possible to write a command tool which could be invoked from the postflight script and which would do exactly that. In the Files.h header of the CoreCarbon framework you should find some FSNot... APIs to do this. You might be able to do this with some AppleScript in your postflight. It looks like the Finder dictionary has an "update" command, which "Updates the display of the specified object(s) to match their on-disk representation". I don't know if this was available on Panther. In my installer I have some files that I am copying using the "cp" command in a script. This seems to work fine in Tiger, but in Panther (10.3.9) these files are invisible in the Finder. I can see them using "ls" in the Terminal app. They become visible after I relaunch the Finder, or restart the Mac. Any ideas on why these files are invisible, and how to make the files visible right away? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre