Re: sending info to postinstall script from plugin?
site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com Or worse. _______________________________________________ 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... On Jul 10, 2008, at 10:40 AM, Paul Miller wrote: I need to pass some information from an installer plugin to a postinstall script. I tried using setenv() in my willExitPane: method, but the variable is empty when read in the postinstall script. Is there another way to do this? You must write into a known file name/path that is accessible to the logged in user and maybe root (if your script asks for root auth). Yes, this is a security problem. Be very careful that you can create the file safely. If not, a malicious hacker can put a symlink to / kernel there and the machine won't reboot. This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Coderre