RE: Installer doesn't use the Info.plist from packagemaker
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcbXTsPrfB5J0MX1QBW9s8R+eVcsoAAAkDkQ Thread-topic: Installer doesn't use the Info.plist from packagemaker Thanks. That was it :) -----Original Message----- From: Sean Kelly [mailto:sean.kelly@apple.com] Sent: Wednesday, September 13, 2006 12:10 PM To: Steven Chin Cc: installer-dev@lists.apple.com Subject: Re: Installer doesn't use the Info.plist from packagemaker Hi Steven, The Installer does not use the CFBundleDisplayName key from the Info.plist. It uses the IFPkgDescriptionTitle key from a Description.plist in the Resources directory on in a localized lproj directory. If you build a quick package using the PackageMaker GUI, you can see an example of this file. Sean Kelly On Sep 12, 2006, at 8:17 AM, Steven Chin wrote:
On OSX 10.4.7, using the packagemaker command line interface I can use it to build a package with -p and -proj options and installer works.
When using:
./PackageMaker -build -p "/home/schin/ MATLAB_Component_Runtime_cli.pkg" -f "/sandbox/schin/MyRoot/MACMCR" - ds -r "/sandbox/schin/Ainstall/matlab/pbr/mcr/mac/Resources" -i "/ home/schin/info5.plist" -v
The installer created ignores the -i options. The resulting installer package does not use the information in the Contents/ Info.plist which is the same as the file that was created in the .pkg that was created using the -proj option. The files are the same but the info isn't used. The install displays the "My Great App Installer" instead of the info in Info.plist. I added some more key values hoping the Info.plist would work but still doesn't . Why doesn't the installer use the info in Info.plist? PackageMaker creates an Info.plist from the info.plist and changes the size to 489956. Installer comes up with the background from background.gif in the Resources directory fine.
Input info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd ">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>MATLAB Component Runtime</string>
<key>CFBundleGetInfoString</key>
<string>7.5, The MathWorks</string>
<key>CFBundleIdentifier</key>
<string>com.mathworks.matlab.mcr</string>
<key>CFBundleName</key>
<string>MCR</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>7.5</string>
<key>IFMajorVersion</key>
<integer>7</integer>
<key>IFMinorVersion</key>
<integer>5</integer>
<key>IFPkgFlagAllowBackRev</key>
<false/>
<key>IFPkgFlagAuthorizationAction</key>
<string>AdminAuthorization</string>
<key>IFPkgFlagBackgroundAlignment</key>
<string>topleft</string>
<key>IFPkgFlagBackgroundScaling</key>
<string>none</string>
<key>IFPkgFlagDefaultLocation</key>
<string>/Applications/MATLAB/MATLAB_Component_Runtime</string>
<key>IFPkgFlagFollowLinks</key>
<false/>
<key>IFPkgFlagInstallFat</key>
<false/>
<key>IFPkgFlagInstalledSize</key>
<integer>0</integer>
<key>IFPkgFlagIsRequired</key>
<false/>
<key>IFPkgFlagOverwritePermissions</key>
<false/>
<key>IFPkgFlagRelocatable</key>
<true/>
<key>IFPkgFlagRestartAction</key>
<string>NoRestart</string>
<key>IFPkgFlagRootVolumeOnly</key>
<false/>
<key>IFPkgFlagUpdateInstalledLanguages</key>
<false/>
<key>IFPkgFormatVersion</key>
<real>0.10000000149011612</real>
<key>NSHumanReadableCopyright</key>
<string>Copyright 1994-2006 by The MathWorks, Inc. </string>
</dict>
</plist>
Thanks.
Steven Chin
The MathWorks
_______________________________________________ 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/sean.kelly%40apple. com
This email sent to sean.kelly@apple.com
_______________________________________________ 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)
-
Steven Chin