• 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
documented way to find installation receipt?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

documented way to find installation receipt?


  • Subject: documented way to find installation receipt?
  • From: "Benjamin Lam" <email@hidden>
  • Date: Thu, 9 Feb 2006 16:32:52 -0700
  • Thread-topic: documented way to find installation receipt?

Hi,

 

I’m writing an uninstaller for our software, which will be distributed as a metapackage (i.e. will have 3 packages inside, one that has two system extensions, and two others that default to the /Applications folder).

 

My plan is to find the installation receipt, i.e. /Library/Receipts/SMART Board.pkg and use the Info.plist’s IFPkgRelocatedPath key to find where the software was installed and then delete the files.

 

To my horror, I was playing around with the Installer and tried installing the software in different locations, and it appears that installation receipts are not always placed in /Library/Receipts. Here is what I tried:

 

Installation Location  - Where I found the installation receipt

 

/Applications (default)  - /Library/Receipts

/Users/softwaredevelopment/Applications - /Users/softwaredevelopment/Library/Receipts

/Users/Documents/test/test2  - /Users/softwaredevelopment/Library/Receipts

 

where softwaredevelopment is my account’s short name

 

I also tried installing one of the packages by itself (apart from the metapackage that the general user will use) to /Volumes/BuildingVolume (a non-bootable volume) in the folder test, i.e. a full path of /Volumes/BuildingVolume/test and Apple Installer created the folder /Volumes/BuildingVolume/Library/Receipts to hold my receipt!

 

I’m starting to get a little bonkers here, so my question is, what is the best (preferably documented) way to find where my …Library/Receipts folder is?

Thank you kindly and have a great day,
Ben Lam
Software Developer, Build/Install
SMART Technologies Inc.

email/MSN: email@hidden | tel: 403.802.3328

Men are respectable only as they respect.
-Ralph Waldo Emerson

 

 _______________________________________________
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: documented way to find installation receipt?
      • From: Peter Bierman <email@hidden>
  • Prev by Date: PackageMaker command line returns 1 on success
  • Next by Date: Re: documented way to find installation receipt?
  • Previous by thread: PackageMaker command line returns 1 on success
  • Next by thread: Re: documented way to find installation receipt?
  • Index(es):
    • Date
    • Thread