PackageMaker and IFPkgPathMappings
PackageMaker and IFPkgPathMappings
- Subject: PackageMaker and IFPkgPathMappings
- From: Doug Norton <email@hidden>
- Date: Thu, 27 Oct 2005 11:47:17 -0400
- Thread-topic: PackageMaker and IFPkgPathMappings
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden