• 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: PackageMaker - upgrading a renamed application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PackageMaker - upgrading a renamed application?


  • Subject: Re: PackageMaker - upgrading a renamed application?
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 2 Oct 2003 17:55:15 +0200

Stupid idea of the day:

Preupgrade binary:

1) Find the application path from its CFBundleIdentifier or OS Type/Creator

if needed

2) Save the new name in /tmp
3) Rename the application name

Postupgrade binary:

if needed

1) Put back the new application name

--------8<-----------8<------------8<---------

Maybe this solution can be used: http://developer.apple.com/documentation/DeveloperTools/Conceptual/ SoftwareDistribution/Concepts/sd_find_file.html#//apple_ref/doc/uid/ 20001941

but it surely won't work on 10.1.

On jeudi, oct 2, 2003, at 15:35 Europe/Paris, Jacob Engstrand wrote:

Hello All,

I'm trying and trying to create an installer with PackageMaker that can find and upgrade my app. All is fine, except if the user has renamed my app, in which case the Installer creates a completely new application (in the same folder as the renamed one).

How can I make PackageMaker (or Installer) find and upgrade an app regardless of the app's name?

thanks!
/jak
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >PackageMaker - upgrading a renamed application? (From: Jacob Engstrand <email@hidden>)

  • Prev by Date: Re: NSString creating problem when contains chinese font
  • Next by Date: Re: AirPort Net Detection and Mon Power off
  • Previous by thread: PackageMaker - upgrading a renamed application?
  • Next by thread: Re: Programatically setting LSUIElement
  • Index(es):
    • Date
    • Thread