Re: How to Install Plugin?
Re: How to Install Plugin?
- Subject: Re: How to Install Plugin?
- From: King Chung Huang <email@hidden>
- Date: Wed, 04 Jan 2006 20:49:16 -0700
Thanks for the suggestion. I just tried changing the name to
KeynoteToken, but it still gave the same results.
King
On Jan 4, 2006, at 2:35 PM, Stéphane Sudre wrote:
Did you try it without using UserLocation for the token name?
UserLocation is used for a different scenario according to the
documentation.
Try something like Keynote instead of UserLocation in both the
TokenDefinitions.plist and the IFPkgPathMappings.
This kind of search path has always worked for me AFIAK (sometimes
too well since on a few occasions I had to search where the
application was located).
On mercredi, janvier 4, 2006, at 08:45 PM, King Chung Huang wrote:
Hi,
I've been reading the Software Distribution doc on ADC and
searching through this mailing list, but I can't seem to figure
out how to locate an application so that I can install a plugin.
I've added a TokenDefinitions.plist file in the installer
package's Resources directory with the following:
<dict>
<key>UserLocation</key>
<array>
<dict>
<key>identifier</key>
<string>com.apple.iWork.Keynote</string>
<key>path</key>
<string>/Applications/iWork/Keynote.app</string>
<key>searchPlugin</key>
<string>CommonAppSearch</string>
</dict>
</array>
</dict>
In the package's Info.plist, I added an IFPkgPathMappingKey as
follows:
<key>IFPkgPathMappings</key>
<dict>
<key>./Applications/iWork/Keynote.app</key>
<string>{UserLocation}</string>
</dict>
The default location is:
<key>IFPkgFlagDefaultLocation</key>
<string>/Applications/iWork/Keynote.app</string>
But, Installer doesn't find Keynote and just installs into /
Applications/iWork/Keynote.app whether that path exists or not.
What am I missing?
Thanks,
King Chung Huang
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40wanadoo.fr
This email sent to email@hidden
---------------------------------------------------------------------
------------------
Wanadoo vous informe que cet e-mail a ete controle par l'anti-
virus mail.Aucun virus connu a ce jour par nos services n'a ete
detecte.
_______________________________________________
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