Installer "diverting" files when package built/installed on 10.5
Installer "diverting" files when package built/installed on 10.5
- Subject: Installer "diverting" files when package built/installed on 10.5
- From: Eric Brod <email@hidden>
- Date: Thu, 29 Nov 2007 21:40:52 -0800
We have an install package that is created by the Packagemaker
command line utility.
It is a -build package that is created from products placed in a tmp
directory.
A script copies products from their respective build location to the
tmp node, and places each product in it's respective relative location.
When the .pkg file is created, there are warnings generated about the
permissions set on items destined for the /Library directory, but the
products are installed there fine. The permissions we use are set as
items in the /Library directory, and as recommended by Apple documents.
Unfortunately, Items destined for the /Applications folder are
"diverted" to a temp directory which is created by the installer,
which is at the same location as the products were packaged from when
the package was built.
The install log contains these messages:
Installer[1488]: Create temporary directory "/private/tmp/
OurPackage.pkg.148869K8c2"
Installer[1488]: ./Applications/OurDir/Our.app installed to /private/
tmp/ourdir/dstroot/Applications/OurDir/Our.app
pkgExtractor[1494]: Extracting...
pkgExtractor[1494]: Diverting "./Applications/OurDir/Our.app" to "/
private/tmp/oursbdir/dstroot/Applications/OurDir/Our.app"
<also contains Diverting messages for all Our.app subdirs/files...
The same packaging script works fine when built on OS 10.4 and
installed on 10.[45]
The Archive.bom contents contain the correct paths when viewed with
lsbom.
I cannot find any apple docs that talk about the installer
"diverting" files. Does anyone know what can cause this crazy
behavior???
Thanks...
_______________________________________________
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