Re: Another failure on 10.5.8: two pkg's in one productbuild
Re: Another failure on 10.5.8: two pkg's in one productbuild
- Subject: Re: Another failure on 10.5.8: two pkg's in one productbuild
- From: Bram de Jong <email@hidden>
- Date: Tue, 19 Feb 2013 10:17:55 +0100
Vikram & List,
* The other package which I talked about before - and which now
installs fine in 10.5.8 - doesn't have this either, but it still asks
for the password.
* when you say <pkg-ref>, do you mean all the <pkg-ref> statements, or
just the ones pointing to the package names?
- bram
On Mon, Feb 18, 2013 at 6:08 PM, Vikram Singh <email@hidden> wrote:
> The <pkg-ref> attributes in your Distribution file are missing the
> auth="root" attribute. It should look like
> <pkg-ref auth="Root" id=com.sumo.... >
>
> Thanks,
> Vikram
>
> On Feb 18, 2013 10:29 PM, "Bram de Jong" <email@hidden> wrote:
>>
>> Hello all,
>>
>>
>> After solving my previous question almost by accident I've moved on to
>> testing our other installers on 10.5.8 and -sadly enough- some of the
>> other packages fail to install too... Again these work fine on 10.7
>> and 10.8, but not on 10.5.8. In 10.5.8 no password is asked at
>> installation time and I'm guessing this has something to do with this
>> error. This time no dashes or spaces are used anywhere :-)
>>
>>
>> Here are the command line arguments I'm using and the distribution
>> xml. Our installer works in two parts: the first contains the App and
>> the second contains all the data which needs to be shared among all
>> users:
>>
>> # left out: lot's of copying from various locations to $RootPath
>>
>> pkgbuild --identifier com.samplesumo.musicfollower --root $RootPath
>> --install-location /Applications/MusicFollower/
>> ../_Output/MusicFollowerApp.pkg
>>
>> # left out: clearing out the $RootPath and again lot's of copying from
>> various other locations to $RootPath
>>
>> pkgbuild --identifier com.samplesumo.musicfollowerdata --scripts
>> $ScriptsPath --root $RootPath --install-location /
>> ../_Output/MusicFollowerData.pkg
>>
>> # left out: some copying to the resources path
>>
>> productbuild --sign "Developer ID Installer: SampleSumo"
>> --distribution "distribution.xml" --resources $ResourcesPath
>> --package-path ../_Output/ ../_Output/MusicFollower.pkg
>>
>>
>> The distribution xml:
>>
>> <?xml version="1.0" encoding="utf-8" standalone="no"?>
>> <installer-gui-script minSpecVersion="1">
>> <readme file="Readme.rtf" mime-type="text/plain" />
>> <license file="Copyright.rtf" mime-type="text/plain" />
>> <background file="logo.png" scaling="none" alignment="bottomleft" />
>> <pkg-ref id="com.samplesumo.musicfollower"/>
>> <pkg-ref id="com.samplesumo.musicfollowerdata"/>
>> <options customize="never" require-scripts="false"/>
>> <choices-outline>
>> <line choice="default">
>> <line choice="com.samplesumo.musicfollower"/>
>> <line choice="com.samplesumo.musicfollowerdata"/>
>> </line>
>> </choices-outline>
>> <choice id="default"/>
>> <choice id="com.samplesumo.musicfollower" visible="false">
>> <pkg-ref id="com.samplesumo.musicfollower"/>
>> </choice>
>> <pkg-ref id="com.samplesumo.musicfollower" version="0"
>> onConclusion="none">MusicFollowerApp.pkg</pkg-ref>
>> <choice id="com.samplesumo.musicfollowerdata" visible="false">
>> <pkg-ref id="com.samplesumo.musicfollowerdata"/>
>> </choice>
>> <pkg-ref id="com.samplesumo.musicfollowerdata" version="0"
>> onConclusion="none">MusicFollowerData.pkg</pkg-ref>
>> </installer-gui-script>
>>
>>
>> Which has nothing special in it, as far as I know - it's basically
>> created with a synthesise from the 2 packages + the readme/license
>> stuff. And here is the installation log/failure:
>>
>> Feb 18 17:38:05 leopard runner[548]: Extracting BOM from
>> "/Volumes/bdejong/MusicFollower.pkg" to
>> "/Library/Receipts/boms/com.samplesumo.musicfollower.bom"
>> Feb 18 17:38:05 leopard runner[548]: -[IFInstallRunner
>> saveFlatPackageBOMTo:packageId:flatPkgURL:withKey:]: Problem
>> extracting BOM from package: com.samplesumo.musicfollower
>> Feb 18 17:38:05 leopard runner[548]: -[IFInstallRunner
>> saveFlatPackageBOMTo:packageId:flatPkgURL:withKey:]: No BOM extracted
>> from package 'com.samplesumo.musicfollower'
>> Feb 18 17:38:05 leopard Installer[539]: Processing MusicFollowerData:
>> Feb 18 17:38:06 leopard Installer[539]: Determining files to install
>> Feb 18 17:38:06 leopard Installer[539]: It took 0.01 seconds to create
>> the install plan for MusicFollowerData.
>> Feb 18 17:38:06 leopard Installer[539]: Configuring deferred files
>> Feb 18 17:38:06 leopard Installer[539]: Assembling temporary receipt
>> Feb 18 17:38:06 leopard Installer[539]: Performing pre-extraction actions
>> Feb 18 17:38:06 leopard Installer[539]: Creating destination path
>> Feb 18 17:38:06 leopard Installer[539]: Validating package payload
>> Feb 18 17:38:08 leopard Installer[539]: Starting file extraction
>> Feb 18 17:38:09 leopard payloadExtractor[551]: Initializing new
>> flat-package receipt.
>> Feb 18 17:38:09 leopard payloadExtractor[551]: Extracting...
>> Feb 18 17:38:09 leopard payloadExtractor[551]: BomFatalFileError 1:
>> Operation not permitted - //.
>> Feb 18 17:38:09 leopard payloadExtractor[551]: BomFileError 1:
>> Operation not permitted - //.
>> Feb 18 17:38:09 leopard Installer[539]: PackageExtraction tool errors
>> being sent faster than they're being processed
>> Feb 18 17:38:09 leopard Installer[539]: PackageExtraction tool errors
>> being sent faster than they're being processed
>> Feb 18 17:38:09 leopard payloadExtractor[551]: 1 of 1 files written in
>> 0.25 seconds.
>> Feb 18 17:38:09 leopard payloadExtractor[551]: 0 kilobytes installed
>> at 0.0 MB/s.
>> Feb 18 17:38:09 leopard payloadExtractor[551]: Error extracting archive.
>> Feb 18 17:38:09 leopard payloadExtractor[551]: pkgExtractor exited
>> with error 1 while processing package
>> '/Volumes/bdejong/MusicFollower.pkg'
>> Feb 18 17:38:09 leopard Installer[539]: Install failed: The Installer
>> could not install some files in “/”. Contact the software manufacturer
>> for assistance.
>> Feb 18 17:38:09 leopard Installer[539]: IFDInstallController 871B80 state
>> = 7
>> Feb 18 17:38:09 leopard Installer[539]: Displaying 'Install Failed' UI.
>> Feb 18 17:38:09 leopard Installer[539]: 'Install Failed' UI displayed
>> message:'The Installer could not install some files in “/”. Contact
>> the software manufacturer for assistance.'.
>> Feb 18 17:48:09 leopard installdb[549]: idle 10 min with 1 open
>> connection.
>>
>>
>> Any hints would be greatly appreciated,
>>
>>
>> - bram
>>
>> --
>> Bram de Jong - CTO
>> SampleSumo BVBA, Wiedauwkaai 23 G, B-9000 Ghent, Belgium
>> Web: http://www.samplesumo.com
>> Twitter: http://twitter.com/SampleSumo
>> Facebook: http://facebook.com/SampleSumo
>> Phone: +32 9 3355925 - Mobile: +32 484 154730
>>
>> _______________________________________________
>> 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
--
Bram de Jong - CTO
SampleSumo BVBA, Wiedauwkaai 23 G, B-9000 Ghent, Belgium
Web: http://www.samplesumo.com
Twitter: http://twitter.com/SampleSumo
Facebook: http://facebook.com/SampleSumo
Phone: +32 9 3355925 - Mobile: +32 484 154730
_______________________________________________
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