Yet another target bug
Yet another target bug
- Subject: Yet another target bug
- From: Stephane Sudre <email@hidden>
- Date: Mon, 26 Mar 2018 22:57:23 +0200
Installer.app has a long history of bugs when it comes to selecting
the target of the installation.
Here's one that is news to me (and certainly news to Apple since it's
been there since OS X 10.10.5 at least and is still there in macOS
10.13.2):
Context
-----------
It's possible to let the person installing a distribution select a
custom location for a package using the customLocation attribute for a
choice (*)
In Installer.app, this will be visible during the "Installation Type"
step. When using the Customize mode, the outlineview of choices will
have an additional "Location" column and the customLocation will be
displayed in a popup button for the corresponding choice.
You can select Choose… in the popup menu to specific another folder on
the target volume (that was selected in a previous step (**)) or you
can select a parent folder/volume of the default customLocation in the
same popup menu.
The Bug
------------
So let's say you have defined a customLocation to be "/Users/Shared"
and that you have selected an external volume (Ext_Volume).
- If you select Choose… in the popup menu and select the root folder
of the external volume via the standard Open Panel, the installation
will work fine: the payload will be installed at
/Volumes/Ext_Volume/).
- If you select Ext_Volume in the popup menu, the installation will
not work fine: the payload will be installed in
/Volumes/Ext_Volume/Users/Shared/.
Conclusion
---------------
This customLocation feature is not reliable because of a UI bug in
Installer.app.
I will probably file a bug report but if it's like the other issues
regarding the target of the installation, it will never be fixed. So
what's the point?
*
https://developer.apple.com/library/content/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html#//apple_ref/doc/uid/TP40005370-CH100-SW47
** that is if you had the opportunity to select it because of other
bugs in Installer.app.
_______________________________________________
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