Re: PackageMaker - upgrading a renamed application?
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.