site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcUDLEcrOlCfqjFTRCKs+Zp80XR0zQBkd+1wAPEIX7AABuRVwA== Thread-topic: Installer for a plug-in All, I have the task to write an installer for an Adobe Reader 7.0 plug-in. What we want to do is use PackageMaker to write an installer for this. So we have a plug-in file that needs to go into 'Adobe Reader.app/Contents/Plug-ins'. The problem is that the user can install Reader anywhere, and rename the .app. Is there a way to do this with Token Definitions? Or how would you let the user pick the location? I expected I could write a UserLocation search to find the real location of Reader and install into that. Here's what I tried in TokenDefinitions.plist (minus DTD header info): <dict> <key>UserLocation</key> <array> <dict> <key>searchPlugin</key> <string>CommonAppSearch</string> <key>path</key> <string>/Applications/Adobe Reader 7.0/Adobe Reader 7.0.app</string> <key>identifier</key> <string>com.adobe.Reader</key> </dict> </array> </dict> And the section from info.plist: <key>IFPkgPathMappings</key> <dict> <key>./Applications/Adobe Reader 7.0/Adobe Reader 7.0.app</key> <string>{UserLocation}</string> </dict> The IFPkgPathMappings key matches output from lsbom. I've tried many Combos (Removing 'Applications', etc.). I guess I don't understand how this matches up. The code above seems to do nothing. Any advice would be greatly appreciated on how to do this task. Thanks, Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Ditz, Mike