Re: how to hide the static text in the left the main window during installation.
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Sep 3, 2008, at 10:52 AM, XiaoGang Li wrote: Something that would be close to this and which is supported is to: - use the customize options with the never value. This would give: <options customize='never' rootVolumeOnly='true' /> This is not an exact match for your needs though. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... Hi, list, As we know, the normal installation order is like this: Introduction->License->Destination Select->Installation Type-
Installation->Summary, but this time, I want to jump over the "Destination Select" and "Installation Type", I mean after user checking the license, the installation window enters into installation phase directly, no Destination select and no installation type. (Sorry, this requirement seems a little unreasoning, but it is my job now,J)
In order to implement it, my solution likes this: Add a folder named Plugins into the Contents. And put a single plist file in the Plugins directory, the content of the plist file like this: ………… <dict> <key>SectionOrder</key> <array> <string>Introduction</string> <string>ReadMe</string> <string>License</string> <string>Install</string> <string>Summary</string> </array> </dict> And luckily, the two unspecified installation phase UI in this plist file do not appear. But I noticed that there are static text lists on the left of the main window, which used to show the progress update for user. So, my question is coming: Even I do not specify the other two phase into the order list, I still can see their titles on the left of the main window, looks like this: l Introduction l License l Installation l Summary l Installation Type l Destination Select. And I wonder it is should be hided in the main window, because I can not enter into this phase UI actually. So, do you have any solution to hide the static text field? Or someone give a better solution? Thanks very much. Hmm... This is not a supported solution I think. Removing Installation steps using the SectionOrder array proved to cause issues during the installation process in the past. - trust Installer.app to skip the Destination Select pane if you set the distribution to install on root volume only (sometimes it works on Leopard, sometimes it doesn't but it's a bug AFAIK). Otherwise, a solution could be to use your own front-end and call the installer command line tool. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre