Re: Installer database for 10.6?
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:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=VDatMDwZKmTzkDvDvHd4/l9QWoK8tyiRUaEtgKiL4G4=; b=ZUamRqh+zlEOMF5IFC/AoGsokmEz5ktsTnBM2gyAFS92XfECgroVFKr3xlCHVyDVFw RblVAXPpnoV4qQzle6zMQ9VoV3jYzP5M1Gj7X6GBzA4G48EQ5HPd0lGtU2xlinLt10F+ IApQ+BkgR4Z+gx8WULaqKxwk/EHoD4zzdMcbA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=B94lqp1eR//S9usW0aM1feISJkRVvc3zi1HEYBKbp/NxY7U+kiPvvWkUXXF+svEUtz loo0s9HRS361d0sCsdbLfWKqekK2YSIuo63uDu98tcmiEhRClWrZ9xE4OjanpnkVIkFh d2s7i3YJZTP9f1/aRgQwpBMaN3JrggCmPKuWg= On Jan 23, 2010, at 3:23 AM, David Litwin wrote: You can access this database through the pkgutil tool. sudo pkgutil --forget my.package.identifier You need to run this as root. _______________________________________________ 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... I am having a problem on 10.6 with downgrading installs (uninstalling then installing an older version, usually for QA to properly test upgrade paths). My current uninstall script removes my app files as well as / Library/Preferences/com.myapp.plist and /Library/Receipts/ MyApp.pkg. On 10.3 – 10.5 I can then install an older version with no problem, as all traces of the app are removed. On 10.6 the installer nonetheless complains that a version on the root volume is newer, but I don’t know where it is storing this information about the version I just thought I deleted. I see, in the installer log on an upgrade, some references to installd and PackageKit “registering” bundles, but don’t know where this information is being stored. Any thoughts on what 10.6 is doing different and how I can make my uninstaller remove that information as well? Staring with Mac OS X 10.5, files installed through packages are registered in(to?) a (SQLite) database. Usually, when you need to make the OS forget a package got installed, you use the following command: This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev