Re: Affect install choice from plug-in?
Re: Affect install choice from plug-in?
- Subject: Re: Affect install choice from plug-in?
- From: Greg Neagle <email@hidden>
- Date: Wed, 25 Jul 2012 22:23:05 -0700
I do not know the answers to your questions, but I'd like to add some related info you may not have considered.
In an enterprise environment, software is not installed by double-clicking your Installer package; instead it's likely installed by something that ultimately uses the /usr/sbin/installer command-line tool, as this can be automated.
When installed in this way, your plugin is not called at all. So make sure that whatever your plugin does, it's not essential to the actual installation.
I'm of course making the assumption that you'd like to sell your product to the enterprise market, which may or may not be the case.
-Greg
On Jul 25, 2012, at 7:11 PM, Steve Stockman wrote:
> Does anyone know how an installer plug-in within a flat distribution can
> affect the Custom Install choices?
>
> I've tried writing to a file from the plug-in, which is then read by a
> tool called via system.run(). This is not particularly desirable since
> PlugIns and Scripts appear to be in separate sandboxes with no connection
> between them, and thus the file had to be at a constant path relative to
> TMPDIR, but it was the only means of communication I could find. But it
> turns out not to be any means of communication because all of the
> 'selected' expressions of the install choices were evaluated two or three
> times before the plug-in loaded, and then were never evaluated again until
> I began manually clicking the Custom Install checkboxes.
>
> I would in fact like to be able to eliminate Custom Install altogether,
> and just have the choices preset by the plug-in.
>
> I also tried having the volume-check function force recalculation of the
> selections, but that was also called before the plug-in loaded.
>
> Does anyone know a way to force recalculation _after_ my plug-in has had
> its user interaction?
>
> -------------------------------------
> Steve Stockman
> Software Architect/Technical Director
> Consumer Products - Macintosh
> Symantec Corporation
> www.symantec.com
> -------------------------------------
>
>
> _______________________________________________
> 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
_______________________________________________
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