Re: 10.5 - installer skips Target pane on second run
Re: 10.5 - installer skips Target pane on second run
- Subject: Re: 10.5 - installer skips Target pane on second run
- From: Paul Miller <email@hidden>
- Date: Thu, 07 Aug 2008 17:43:57 -0500
Stéphane Sudre wrote:
On Aug 7, 2008, at 7:02 PM, Paul Miller wrote:
Paul Miller wrote:
Paul Miller wrote:
This is really weird. I have an installer plugin that runs after the
standard Target pane. First time I run the installer, everything
works normally. The second time I run the installer, after agreeing
to the license agreement, the menu (at left) jumps right past the
Target pane directly to my plugin name, but the main display is
stuck on the License Agreement pane.
Anyone seen this?
A note - this happens to me but I have multiple drives on the system.
Another person who has only one drive doesn't experience the problem.
Found it!
Seems the second time the installer runs, the installer is skipping
the Select Destination pane and jumping directly to my plugin. But it
does this without setting the targetVolume member of the parent section.
My installer plugin code assumed targetVolume would be set, so my code
was throwing an exception. In Obj C, this doesn't result in a crash,
so the installer app just froze up on the previous pane that was
visible, which happened to be the License Agreement.
I don't know why this happens, and only on 10.5.
Is your package set to install only on the root volume?
No, I had turned that option off - but I did it via the Info.plist,
rather than rebuilding the package (using Iceberg). If it's stored in
there elsewhere, then it could possibly still be turned on. Even if it
is on, it still goes to the Select Destination pane the first time an
installer is run after logging in or rebooting. And it always goes there
if my installer plugin is not in the package! Weird!
--
Paul Miller | email@hidden | www.fxtech.com | Got Tivo?
_______________________________________________
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