Re: sending info to postinstall script from plugin?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Am 10.07.2008 um 21:04 schrieb Paul Miller <paul@fxtech.com>: 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. Bin there, done that (no t-shirt though). HTH Mike -- Mike Fischer Softwareentwicklung, EDV-Beratung Schulung, Vertrieb Note: I read this list in digest mode! Send me a private copy for faster responses. _______________________________________________ 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... Is there another way to do this? The only way to do this (that I could figure out) was to write my data to a temporary file with a known name and path and read that file in the script. I chose to use a file named with a UUID (that I genererated once using uuidgen(1) and hard-coded into the plugin and the script) in / tmp to avoid naming conflicts. My plugin and script try to make sure the temporary file is deleted after I'm done with it. But if not the OS should handle that case sometime in the future. This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Fischer