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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden