Affect install choice from plug-in?
Affect install choice from plug-in?
- Subject: Affect install choice from plug-in?
- From: Steve Stockman <email@hidden>
- Date: Wed, 25 Jul 2012 19:11:25 -0700
- Acceptlanguage: en-US
- Thread-topic: Affect install choice from plug-in?
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