Discussion:
APFiles/APInstallerURL keys in Info.plist?
Fritz Anderson
2011-05-15 17:25:15 UTC
Permalink
So I'm writing a book about Xcode 4, and I've come to the property list editor for Info.plists. Two of the keys the editor has built in are:

APFiles (Installation files) - Array of dictionaries
APInstallerURL (Installation directory base file URL) - String

They're in the editor. They're in Apple's documentation for Info.plist keys, which even gives the keys, types, and descriptions of the dictionaries in APFiles. My experience with the Xcode build-settings editor is that when Apple wants to obsolete a key, it drops the plain-text equivalent and confronts you with the literal key. By that precedent, these keys appear to be in some sense alive.

The descriptions, however, are _extremely_ vague. They are little more than expansions of the key names. They don't say what the system does (or once did) with them. Google is of no help — it refers back to the Apple documents and to some guy asking in 2004 the same question I'm asking now. Searching the Apple developer forums turns up nothing.

I have some very vague memory of classic Mac OS having an autoinstall feature for the then-new application bundles, in which you could specify that on a drag-install, files would be pulled out of the bundle and into other locations. (Which sounds like a thundering security hole.) But that memory is so wispy that I may just be making it up.

They show up in the editors, so I have to remark on them, and I feel foolish that my only remark is that they baffle me. Can someone clue me in, please?

— F
objectwerks inc
2011-05-15 18:40:28 UTC
Permalink
Does this help?

http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/GeneralPurposeKeys.html
Post by Fritz Anderson
APFiles (Installation files) - Array of dictionaries
APInstallerURL (Installation directory base file URL) - String
They're in the editor. They're in Apple's documentation for Info.plist keys, which even gives the keys, types, and descriptions of the dictionaries in APFiles. My experience with the Xcode build-settings editor is that when Apple wants to obsolete a key, it drops the plain-text equivalent and confronts you with the literal key. By that precedent, these keys appear to be in some sense alive.
The descriptions, however, are _extremely_ vague. They are little more than expansions of the key names. They don't say what the system does (or once did) with them. Google is of no help — it refers back to the Apple documents and to some guy asking in 2004 the same question I'm asking now. Searching the Apple developer forums turns up nothing.
I have some very vague memory of classic Mac OS having an autoinstall feature for the then-new application bundles, in which you could specify that on a drag-install, files would be pulled out of the bundle and into other locations. (Which sounds like a thundering security hole.) But that memory is so wispy that I may just be making it up.
They show up in the editors, so I have to remark on them, and I feel foolish that my only remark is that they baffle me. Can someone clue me in, please?
— F
_______________________________________________
MacOSX-dev mailing list
http://www.omnigroup.com/mailman/listinfo/macosx-dev
Fritz Anderson
2011-05-15 21:25:43 UTC
Permalink
Post by objectwerks inc
Does this help?
http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/GeneralPurposeKeys.html
APInstallerURL (String - Mac OS X) identifies the base path to the files you want to install. You must specify this path using the form file://localhost/path/. All installed files must reside within this directory.
The files you want to install — how? When? By what mechanism? For what purpose? Apple doesn't say what it does (did) with the URL once you've identified the files you want to install. That's what I'm looking for.

— F

Loading...