• 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: to change text of "Upgrade" button of Installer back to "Install".
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to change text of "Upgrade" button of Installer back to "Install".


  • Subject: Re: to change text of "Upgrade" button of Installer back to "Install".
  • From: Bill Coderre <email@hidden>
  • Date: Wed, 21 Jun 2006 11:39:56 -0700

On Jun 21, 2006, at 9:23 AM, Stéphane Sudre wrote:
On mercredi, juin 21, 2006, at 06:00 PM, narender pal singh panwar wrote:

Hi
Every time when i Reinstall an previously installed "Application",which was created using apple PackageMaker the text on "Install" button changes to "Upgrade" button even though I have already uninstalled the application. I want to change text of "Upgrade" button of Installer back to "Install".


[...]

any help will be appreciated
Thanx in advance

AFAIK, as long as the receipt of your package is in /Library/ Receipts, the button will be labeled "Upgrade".

True. Usual workaround is to change the name (previous to Tiger) or CFBundleIdentifier (Tiger and later) to something that doesn't match any receipt.


Of course, that does not allow the installer to do "Upgrade" behavior, which basically boils down to this: "If any files were installed in the old receipt, and are not in the new package, these files will be considered obsolete and removes."

In the case Narender Pal Singh is dealing with, probably what you want to do is to remove the receipt along with the other parts of the application.

This is almost certainly an OK thing to do. I'd probably do this:
rm -rf "$INSTALLATIONVOLUME/Library/Receipts/ MyGreatInstallerPackage.pkg"


or equivalent.


_______________________________________________ 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: 
 >Re: to change text of "Upgrade" button of Installer back to "Install". (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: to change text of "Upgrade" button of Installer back to "Install".
  • Next by Date: to add Icon in Toolbar of Safari
  • Previous by thread: Re: to change text of "Upgrade" button of Installer back to "Install".
  • Next by thread: to add Icon in Toolbar of Safari
  • Index(es):
    • Date
    • Thread