Re: Changing the default Destination Select
Re: Changing the default Destination Select
- Subject: Re: Changing the default Destination Select
- From: Stephane Sudre <email@hidden>
- Date: Wed, 10 Oct 2012 09:09:14 +0200
On Tue, Oct 9, 2012 at 9:32 PM, Brian Din <email@hidden> wrote:
> Hi folks,
>
> I have an package that goes through the Destination Select dialog, allowing
> the user to select between these two options:
>
> 1. Install for all users of this computer
> 2. Install for my only
>
> By default, "Install for all users of this computer" is at the top and
> highlighted.
>
>
> Is there a method of changing it to highlight "Install for me only"?
>
>
>
> For a bonus, is there a way to reverse the order that they are displayed?
AFAIK, no. And the documentation (that IMHO incorrectly states that
the enable_x attributes are required) does not mention this.
> I looked at the distribution.dist file, but there wasn't anything obvious
> that seemed to be changable. It seems if I could change the order that the
> values in domains is read, it would work, except I don't know where that
> code is.
You can always test this idea by unflattening the distribution and
modifying the domains option in the distribution script.
https://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html#//apple_ref/doc/uid/TP40005370-CH100-SW35
> Is my only option to write a custom installer plugin and ignore
> the built in destination select?
This would not be a real alternative as you would then have to
implement the famous "install in temporary location then move"
solution when the domains option would install things directly and
hopefully file the correct information in the receipts database.
--
Packaging Resources - http://s.sudre.free.fr/Packaging.html
_______________________________________________
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