Re: Affect install choice from plug-in?
Re: Affect install choice from plug-in?
- Subject: Re: Affect install choice from plug-in?
- From: Stephane Sudre <email@hidden>
- Date: Thu, 26 Jul 2012 09:17:50 +0200
I tried that sometimes ago and didn't find a solution.
It either requires an Installer-Plug in API to refresh the list (I
class-dumped the Installer binaries but didn't found a private one) or
that the state of the choices are computed every time you move forward
to the Installation Type step.
I thought I had filed an enhancement request on BugReporter but can't find it.
On Thu, Jul 26, 2012 at 4:11 AM, Steve Stockman <email@hidden> 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
--
Packaging Resources - http://s.sudre.free.fr/Packaging.html
_______________________________________________
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