site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=6BVxWZKDjw9ld+xHB3m1f1UPkbYKJbL2ehIKy5JELlk=; b=qX+IJ1XlzvYeqK3QH6PRc3E/4xHJorHTJyO56+0Etiri72mkSBdTPKKTfiT3bAe/ar kFNHjenajWLDBzOtNSSKkc4InRpjO67bVkawM+1v0u/jrF1j31Pf+Xy5gOABQZpMz3Bw VOTdy9Yeeqv3YIZHGTB42mHwIiikn+lUuB+nI= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=dVyE9ERuxE5+unqNiHBJtfLOY9WFYedBA0jtl/2IADtnWFweMl80jSwVS4vNdzJpes yqZFCd+NZ/p/q3eGZhLhn5c0JhDeswUcHJgtXvKxFRlWJSmQqolFb6pkD+MNHKTh2+L0 CZ+MpEWIR4X7fn6YExA3uf1UoiwTApPeghwT8= On Jun 30, 2010, at 12:53 PM, Sachin Porwal wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... Thanks Stephane. Yes, you are correct about the receipts & database. My problems are a bit different here. Let me explain them once again: 1) The secondary pkg that i am trying to create, needs to cleanup some receipts/database for another primary pkg(which has already been installed). I do have the pkgid of primary pkg for which the receipts/database needs to be cleaned up, with secondary pkg scripts. Please suggest me the best approach to achieve the same on 10.5.x & 10.6.x (both the pkgs are 10.4 type non-flat pkgs). 2)The secondary pkg should not create its own entries in database/ receipts when it is deployed/executed. Please suggest me the way to prevent entries in receipts/database when pkg is deployed on 10.5.x & 10.6.x. I don't know if this approach still works but during the transition from PowerPC to Intel, if you needed to support Mac OS X 10.2 and you were installing a Universal Binary, you had to remove the package receipts upon installation to avoid a crash in Installer.app. A solution at that time was to remove the receipts for the package from the postflight script of the package. So a possible approach is to use a postflight (or postinstall script if you are using a flat package) in which you: - delete the receipts if it exists in /Library/Receipts (eventually you may need to look for $HOME/Library/Receipts) - remove the reference to it in the install database with pkgutil -- forget your.bundle.identifier This email sent to site_archiver@lists.apple.com