• 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: Changing the custom install location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the custom install location


  • Subject: Re: Changing the custom install location
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 3 Jul 2008 23:43:51 +0200


On Jul 3, 2008, at 3:14 PM, Nethan Aryan wrote:
Thanks for your response, Actually I am deploying a product which other than having the application bundle, has lot of other resources like Plugins bundles, libs, documents and what not. And all these other resources are not part of application bundle but need to be placed in the product's parent application folder along with the application bundle. I have created an installer for this product and have provided to our customers. Our customers generally have multiple drag copies of the install on their system. I didn't set the reallocation flag for any of the sub components including application, simply because
1. It allows reallocation flag to be set only for bundles, but not for other resources and folders
2. as in case there are more than one copies of reallocatable files on the drive, the installer.app patches the first file found on the drive, without user know which installation copy has actually got patched?


Now I am planning for an update of my application with some customer reported defects. I don't want to spend time creating an updater for my application, rather want to use the same installer, So that for my new customers I can give them this installer having some critical defects already fixed, and for my existing customers, the same installer can be used to patch their existing installation.

So for this installer
1. I want to know if this is a fresh install or I need to patch my previous installation. (Probably this can be achieved my reading receipts)

You can know that 2 ways:

- a preupgrade or postupgrade script would be run if they are provided in your package (in the case of a non FLAT package)

- you could do that with code using the LaunchServices API to locate your application (or mdfind(1)).


2. In case I have to patch my previous install, then I want a way to know if more than one copy of my product is already present on his system, and to provide my customer option to choose the copy he wants me to patch. (This I was planning to achieve by writing an installer Plugin)
2a. Then I wanted to set this user selected path to the custom location. Which is not possible????

No.

Can you suggest any other alternative approach to achieve the above scenario?

Write a wrapper.


_______________________________________________ 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: Changing the custom install location (From: Nethan Aryan <email@hidden>)

  • Prev by Date: Re: Changing the custom install location
  • Next by Date: Adobe Creative Suite 3 - how are you guys pkg'ing for deployment?
  • Previous by thread: Re: Changing the custom install location
  • Next by thread: Re: Leopard PackageMaker and postinstall script
  • Index(es):
    • Date
    • Thread