[OpenAFS-port-darwin] Rename MacOS X packages
Matt Elliott
melliott@ncsa.uiuc.edu
Mon, 5 Aug 2002 15:53:08 -0500
Ah, A little more digging and a solution.
You need to rename the files inside the .pkg wrapper to match the name of
the wrapper. So for this last version of OpenAFS I renamed:
OpenAFS.pkg -> OpenAFS 1.2.6.pkg
And then inside the OpenAFS 1.2.6.pkg/Contents/Resources/:
OpenAFS.bom -> OpenAFS 1.2.6.bom
OpenAFS.info -> OpenAFS 1.2.6.info
OpenAFS.pax.gz -> OpenAFS 1.2.6.pax.gz
OpenAFS.post_install -> OpenAFS 1.2.6.post_install
OpenAFS.sizes -> OpenAFS 1.2.6.sizes
Now the installer works again with the new name.
Kind of a pain but at least possible.
Thanks for your help Jonathan.
At 4:37 PM -0400 8/05/02, Jonathan Z. Simon wrote:
> From www.macfixit.com:
>
>FRI: April 26, 2002
>
>Installer pkg files: name change results in open failure
>
>Dave Paules alerted us to an OS X oddity that we had never noticed
>before: If you rename an Installer pkg file, the file will no longer
>open after you double-click it. The Installer will launch but the
>opening screen of the pkg file does not appear. We are not talking about
>removing the pkg extension. Any name change will cause this to happen.
>Even using the Open command from the Installer's File menu will not
>succeed. Try it. Anyone know what the reason for this is?
>
>Update: A couple of readers have made the plausible assumption that the
>problem is with one of the files inside the package that identifies the
>filename and will thus not work with any other name. While something
>like this must almost certainly be the case, we have been unable to
>determine the exact culprit. It is also surprising, if this explanation
>is correct, that every pkg file has this problem, unless the cause is an
>attribute that Apple says is required.
>
>--
>Jonathan Z. Simon
>Dept. of Electrical & Computer Engineering/Dept. of Biology
>University of Maryland, College Park MD 20742 USA
>Office: 1-301-405-3645, Lab: 1-301-405-6581, Fax: 1-301-314-9281
>http://www.isr.umd.edu/Labs/CSSL/
--
Matt Elliott Production Systems Infrastructure
217-265-0257 <mailto:melliott@ncsa.uiuc.edu>