Uninstall problem...
Uninstall problem...
- Subject: Uninstall problem...
- From: Alec Carlson <email@hidden>
- Date: Fri, 11 Jul 2008 17:53:53 -0500
- Thread-topic: Uninstall problem...
Title: Uninstall problem...
I have searched the archives, but I don’t see any solution to the following problem:
I use PackageMaker 2.1.1 on 10.4.11 to build an Installer package which runs on both Tiger and Leopard. It works great on 10.4. On 10.5 I have a problem. With Leopard, the Package Identifier is cached in some database somewhere. A receipt bundle is also created in /Library/receipts. The first time I run my Installer on 10.5.x, it runs great. The second time I run my Installer it does not install anything and it does not run the preinstall and postinstall scripts. My product has an uninstall option. If the user selects it, it deletes itself and all it’s support files. If the user then runs the Installer again on Leopard, all the files get installed but the scripts do not get executed. The postinstall script runs an tool which sets up a login item and does some preliminary configuration. If it does not run, the product will not work correctly. Deleting the /Library/Receipt/ bundle does not fix this problem. It seems that once the user uninstalls the product, they can never rerun the same installer and get back to their original installation. Looking at /var/log/install.log it appears that the Installer finds the receipt in a database and keys off of that to decide what needs to be updated or not. Components which were deleted by my uninstaller are re-installed, but the installer scripts are not executed... Is there a solution to this problem – what I’d love is a way to force a complete install (ignoring any Receipts from previous installs)...
Thanx -
Alec
_______________________________________________
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