• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 10.5 - installer skips Target pane on second run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.5 - installer skips Target pane on second run


  • Subject: Re: 10.5 - installer skips Target pane on second run
  • From: Mark Krenek <email@hidden>
  • Date: Fri, 8 Aug 2008 14:16:29 -0500

I files a bug on this a while back and discussed it on this forum, but I can't seem to find that discussion anymore.

Here was my bug report:

The Leopard Installer will skip the "Destination Select" pane even when there are multiple volumes that can be selected. It will go straight from the License pane to the "Installation Type" screen. If you then press "Change Install Location", it will go back to the "Destination Select" pane where you can see and select all the available volumes.

After pressing Agree on the License screen, you should be taken to the "Destination Select" screen when there are multiple volumes to choose from.

Instead, "Installation Type" is displayed not giving you the opportunity to select a volume.

Notes:
I had some discussions with a couple of Apple engineers about this issue. It is a "feature" that "Destination Select" is skipped if there is only one volume to choose. But there appears to be a bug that causes it to skip that screen when there are multiple volumes. From my observations, what's happening is that the Installer caches volume info, even across multiple app launches. On the first launch, when it has to cache the volume info, it works correctly in that it does not skip any steps in the Installer. But on subsequent runs, the fact that the cache is present seems to trip up the Installer's logic, and it skips "Destination Select" entirely. If you wait until the cache is cleared (and I'm not certain what triggers that, time seemingly being one of them) then Installer goes back to working correctly.


Mark Krenek

On Aug 7, 2008, at 5:43 PM, Paul Miller wrote:

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

_______________________________________________ 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
  • Follow-Ups:
    • Re: 10.5 - installer skips Target pane on second run
      • From: Paul Miller <email@hidden>
    • Re: 10.5 - installer skips Target pane on second run
      • From: email@hidden
References: 
 >10.5 - installer skips Target pane on second run (From: Paul Miller <email@hidden>)
 >Re: 10.5 - installer skips Target pane on second run (From: Paul Miller <email@hidden>)
 >Re: 10.5 - installer skips Target pane on second run (From: Paul Miller <email@hidden>)
 >Re: 10.5 - installer skips Target pane on second run (From: Stéphane Sudre <email@hidden>)
 >Re: 10.5 - installer skips Target pane on second run (From: Paul Miller <email@hidden>)

  • Prev by Date: Re: how to give the postflight script to metapackage
  • Next by Date: Re: 10.5 - installer skips Target pane on second run
  • Previous by thread: Re: 10.5 - installer skips Target pane on second run
  • Next by thread: Re: 10.5 - installer skips Target pane on second run
  • Index(es):
    • Date
    • Thread