Re: how to hide the static text in the left the main window during installation.
Re: how to hide the static text in the left the main window during installation.
- Subject: Re: how to hide the static text in the left the main window during installation.
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 3 Sep 2008 23:26:50 +0200
On Sep 3, 2008, at 10:52 AM, XiaoGang Li wrote:
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.
Something that would be close to this and which is supported is to:
- 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).
- use the customize options with the never value.
This would give:
<options customize='never' rootVolumeOnly='true' />
Otherwise, a solution could be to use your own front-end and call the
installer command line tool.
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden