PackageMaker and IFPkgPathMappings
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcXbDbUj85NBWUcAEdq3uAADk5jCfg== Thread-topic: PackageMaker and IFPkgPathMappings User-agent: Microsoft-Entourage/11.2.1.051004 I'm trying to install a Quark Xtension. Xtensions are usually installed in a directory like: /Applications/QuarkXPress/XTension But the user may have changed the name of Quark's directory so I use the searchPlugin. In my Resources/TokenDefinitions.plist I have... <key>Quark6</key> <array> <dict> <key>searchPlugin</key> <string>LaunchServicesLookup</string> <key>identifier</key> <string>com.quark.QuarkXPress</string> </dict> </array> In my quarkInfo.plist I have... ... <key>IFPkgFlagDefaultLocation</key> <string>/Applications/QuarkXPress/XTension</string> ... <key>IFPkgPathMappings</key> <dict> <key>/Applications/QuarkXPress/XTensions</key> <string>{Quark6}</string> </dict> I build my package using: PackageMaker -build -p Q.pkg -f XTension -b /tmp -s -ds -v -r Resources -i quarkInfo.plist When I build it, I see it finds QuarkXPress from the installer log... "Quark6 installed to /Applications/QuarkXPress 6.5/QuarkXPress" So I would have suspected that it would install my "XTension" folder inside the QuarkXPress bundle but instead it installs in in the IFPkgFlagDefaultLocation. Why isn't it using the IFPkgPathMappings? My Quark6 search returns the application bundle path but I need the path to the bundles parent folder, can I make a IFPkgPathMappings that is like this... <key>IFPkgPathMappings</key> <dict> <key>/Applications/QuarkXPress/XTensions</key> <string>{Quark6}/..</string> </dict> Thanks, -doug _______________________________________________ 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)
-
Doug Norton