• 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: "Peyman Oreizy" <email@hidden>
  • Date: Wed, 16 Jul 2008 10:28:03 -0700

How does the installer/pkgExtractor determine the "most appropriate" app to upgrade?

I realized that we shouldn't turn off relocation just because our tester has a dozen different versions of the app installed -- relocation is a useful feature. Is there something our tester can do to trigger the installer to upgrade the application in the /Applications folder? Maybe by launching the app in /Applications before running the installer? Or moving the app folder to the desktop and back?

Thanks



On Tue, Jul 15, 2008 at 12:57 PM, Scott Amory <email@hidden> wrote:
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:

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

References: 
 >pkgExtrator diverting files during install; why? (From: "Peyman Oreizy" <email@hidden>)
 >Re: pkgExtrator diverting files during install; why? (From: Scott Amory <email@hidden>)

  • Prev by Date: Re: Installer destination is blank ?
  • Next by Date: Re: Destination going blank!?!?
  • Previous by thread: Re: pkgExtrator diverting files during install; why?
  • Next by thread: License agreement installer plugin
  • Index(es):
    • Date
    • Thread