• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pkgExtrator diverting files during install; why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pkgExtrator diverting files during install; why?


  • Subject: Re: pkgExtrator diverting files during install; why?
  • From: Scott Amory <email@hidden>
  • Date: Tue, 15 Jul 2008 12:57:27 -0700

Hi Peyman,

PackageMaker is enabling relocation on your package. Notice that the installer is finding the app that it thinks is most appropriate to upgrade and is relocating your install to there. The only way presently to turn that off via a command line build is to create a pmdoc that has the option turned off and use that to build.

Scott

On Jul 15, 2008, at 12:49 PM, Peyman Oreizy wrote:

I've built an installer using PackageMaker from the command line. On
my Leopard system, the install works beautifully. On our tester's
system, pkgExtrator is diverting the files to another directory.
Here's the commands I use to build the installer and the installer log
from the tester's system. I've found other folks complaining about
this (like http://lists.apple.com/archives/Installer-dev/2008/Mar/msg00061.html) ,
but no workarounds. Any idea what's going on? Is there a workaround?


$ xcodebuild -configuration Debug -alltargets install
$ /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/ PackageMaker
--root build/myapp.dst/Users/macbuild/Applications/MyApp.app
--info build/myapp.dst/Users/macbuild/Applications/MyApp.app/ Contents/Info.plist
--resource build/myapp.dst/Users/macbuild/Resources
--install-to /Applications
--out build/Debug/MyApp.mpkg
--verbose


7/15/08 11:05:06 AM installdb[557] Opened receipt database on '/' with
schema 17.
7/15/08 11:05:06 AM Installer[549] Preparing volume "Macintosh HD" for
installation
7/15/08 11:05:06 AM Installer[549] Configuring volume "Macintosh HD"
7/15/08 11:05:07 AM Installer[549] Free space on "Macintosh HD": 7.8
GB (8339849216 bytes).
7/15/08 11:05:07 AM Installer[549] Create temporary directory
"/private/tmp/MyApp.mpkg.549tArb7K"
7/15/08 11:05:07 AM Installer[549] Processing MyApp:
7/15/08 11:05:07 AM Installer[549] Determining files to install
7/15/08 11:05:07 AM Installer[549]
./MyApp.app installed to
/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app
7/15/08 11:05:07 AM Installer[549] Configuring deferred files
7/15/08 11:05:07 AM Installer[549] Assembling temporary receipt
7/15/08 11:05:07 AM Installer[549] Performing
pre-extraction actions
7/15/08 11:05:07 AM Installer[549] Creating destination path
7/15/08 11:05:07 AM Installer[549] Validating package payload
7/15/08 11:05:07 AM Installer[549] Starting file extraction
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents/MacOS" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents/MacOS"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents/Resources" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents/Resources"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents/Resources/English.lproj" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents/Resources/ English.lproj"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents/Resources/MainMenu.nib" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents/Resources/ MainMenu.nib"
7/15/08 11:05:07 AM Installer[549] Performing
post-extraction actions
7/15/08 11:05:07 AM Installer[549] Finishing receipt
7/15/08 11:05:07 AM Installer[549] Removing temporary directory
"/private/tmp/MyApp.mpkg.549tArb7K"
7/15/08 11:05:07 AM Installer[549] Finalize disk "Macintosh HD"
7/15/08 11:05:07 AM Installer[549] Notifying system of updated components
7/15/08 11:05:08 AM Installer[549] **** Summary Information ****
7/15/08 11:05:08 AM Installer[549] Operation Elapsed time
7/15/08 11:05:08 AM Installer[549] -----------------------------
7/15/08 11:05:08 AM Installer[549] extract 0.22 seconds
7/15/08 11:05:08 AM Installer[549] zero 0.01 seconds
7/15/08 11:05:08 AM Installer[549] install 0.50 seconds
7/15/08 11:05:08 AM Installer[549] validate 0.00 seconds
7/15/08 11:05:08 AM Installer[549] os 0.00 seconds
7/15/08 11:05:08 AM Installer[549] receipt 0.20 seconds
7/15/08 11:05:08 AM Installer[549] disk 1.01 seconds
7/15/08 11:05:08 AM Installer[549] config 0.07 seconds
7/15/08 11:05:08 AM Installer[549] Finalizing installation.
7/15/08 11:05:08 AM Installer[549] Registering applications
7/15/08 11:05:08 AM Installer[549] IFDInstallController 7555E0 state = 5
7/15/08 11:05:08 AM Installer[549] Displaying 'Install Succeeded' UI.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com


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
  • Follow-Ups:
    • Re: pkgExtrator diverting files during install; why?
      • From: "Peyman Oreizy" <email@hidden>
References: 
 >pkgExtrator diverting files during install; why? (From: "Peyman Oreizy" <email@hidden>)

  • Prev by Date: pkgExtrator diverting files during install; why?
  • Next by Date: Re: Default install location for package.
  • Previous by thread: pkgExtrator diverting files during install; why?
  • Next by thread: Re: pkgExtrator diverting files during install; why?
  • Index(es):
    • Date
    • Thread