site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Hope all of that makes sense! King Chung Huang On Jan 4, 2006, at 2:35 PM, Stéphane Sudre wrote: Did you try it without using UserLocation for the token name? On mercredi, janvier 4, 2006, at 08:45 PM, King Chung Huang wrote: Hi, <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> <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> Thanks, _______________________________________________ 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... I decided to reread the article on Finding Previously Installed Software in the Software Distribution doc since Stéphane got it to work. It turns out, it does work! The critical part that I missed was in the Path Mappings topic where it says, "these paths should correspond to the relative paths output by the lsbom tool." Using the lsbom tool on my installer package showed that my paths were of the form ./Contents/Resources/Animations/K2PluginSupport.sfxplugin…. So, I restructured the package contents so that the bom contained my items in the full path ./Applications/iWork/Keynote.app/Contents/ Resources/Animations/K2PluginSupport.sfxplugin…, and then everything worked as expected. Based on all this, I don't think it's actually necessary to reconstruct a full path in the package contents, but you can get away with "stand-ins" for all the applications or location you want the installer to find and fill in dynamically. 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). 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: In the package's Info.plist, I added an IFPkgPathMappingKey as follows: But, Installer doesn't find Keynote and just installs into / Applications/iWork/Keynote.app whether that path exists or not. What am I missing? King Chung Huang _______________________________________________ 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/ssudre2% 40wanadoo.fr This email sent to ssudre2@wanadoo.fr --------------------------------------------------------------------- ------------------ 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. This email sent to site_archiver@lists.apple.com