site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com You're getting warmer... The saga of the Info.plist file continues.... <key>IFPkgFlagRestartAction</key> <string>RequiredRestart</string> And it is located in a directory named: /build_base/info_plist/ And I am calling packagemaker from the following command line: When my build scripts run, I get the following error, and it only has started since I added the Info.plist file to the mis: Is my syntax wrong in my Info.plist file? Any and all thoughts are appreciated! Regards, Steve O'Sullivan _______________________________________________ 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/bc%40apple.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... PLISTS are a Mac OS X general purpose file format, not just for installers. All legal bundles have them, and support is built into CoreFoundation. Having JUST those two lines is NOT a valid plist. Open any Info.plist in TextEdit to see what else is needed. You CAN write several different bits of code to ADD those two lines (aka a "key-value pair") to an EXISTING plist. That's probably what you want. "defaults write" is probably the simplest way to add a pair to a keylist. It will be something like the following (untested): defaults write MyInstaller.pkg/Content/Info 'IFPkgFlagRestartAction' 'RequiredRestart' Assuming this line does not produce an error, and you can see the change in the file, it's working correctly. You're done. Ta-da. The other choice is, as others have said, to get a "good" plist and replace the one that PackageMaker makes with the good one. On Oct 17, 2008, at 10:32 AM, OSullivan, Steve wrote: I have created an Info.plist file that consists of the following two lines /Developer/usr/bin/packagemaker -r /pkg_base_engine -o /pkg_scratch/engine.pkg -i com.company.project -n 8.0.100.1 -t "Project Engine" -l /Applications/Company/Engine -s /build_base/scripts/ -e /build_base/resources -f /build_base/info_plist/Info.plist -g 10.5 -h system -b 2008-10-17 09:35:03.667 packagemaker[61797:10b] Setting to : 0 (null) 2008-10-17 09:35:03.668 packagemaker[61797:10b] Setting to : 0 (null) 2008-10-17 09:35:03.669 packagemaker[61797:10b] relocate: (null) 0 2008-10-17 09:35:03.670 packagemaker[61797:10b] Setting to : 0 com.emc.retrospect ERROR: Could not merge "PackageInfo" file into package: Line 2: Extra content at the end of the document. Are there any special requirements as to the formatting or line breaks of the Info.plist file? I am editing using TextWrangler and saving the file as "Western (Mac OS X Roman)" and "Unix LF". This email sent to bc@apple.com This email sent to site_archiver@lists.apple.com