Re: Error when trying to add Info.plist fo packagemaker project by command line
Re: Error when trying to add Info.plist fo packagemaker project by command line
- Subject: Re: Error when trying to add Info.plist fo packagemaker project by command line
- From: John Brisbin <email@hidden>
- Date: Fri, 17 Oct 2008 10:56:01 -0700
That is a bit too simple for a installer plist.
1. Create a prototype package with GUI.
2. Then extract the plist from that.
3. Use that plist (with any additional modification you need) with the
command line tool.
John Brisbin
OSullivan, Steve wrote:
Good morning all,
The saga of the Info.plist file continues....
I have created an Info.plist file that consists of the following two lines
<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:
/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
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:
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".
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
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