Re: Turning off relocation (a hack solution to a PackageMaker bug)
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4xlRxgp1J74oZHMt4Yb030GIUe7wbgjyGV1bB3KdPQ8=; b=uNJXqg+hNOLik1IYKxy1r1ioLIGCNndTiQbbnGTZk+Ouw+TON6EOUr2OqjWvYzp3uj uSsqeKnLXpf52H8YGY4RhcoIf7a14ya+D3o2CC7rzADxBzWhhU98iLSEwCe5QHp39hEM k5pnvseUepPelPZXjbJIR7pDzjyGPZ5Be0OV0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=nJwIaDzluRXszruqSyURc5HKpomlyCkarJBhCuOz4CenxJuxHw3cUJVfiixFRhPRwa ARNVH+kTTZbkyutd+AKj9SNNZZPIwHf+STDMavErqSkHLnA7O1KsIibOZRjdErSgCJC8 UKe8u3rS4qewrrrKtgDpdSayqQryXY8uTGqHk= On Fri, Dec 19, 2008 at 2:00 PM, Iceberg-Dev <dev.iceberg@gmail.com> wrote:
On Dec 19, 2008, at 10:36 PM, Craig Schamp wrote:
On Thu, Oct 2, 2008 at 4:20 PM, Bill Coderre <bc@apple.com> wrote:
Installer has a Locator, which uses TokenDefinifitions to automatically find, say, an app that the user has dragged out of its original spot. There's also a "relocation" flag that allows the user, during installation, to decide where to install, say, the many gigs of Jam Pack Loops. My previous solution solved this second problem, so we need to solve the first one, also. So, to turn off LOCATOR: In a FLAT package, you need to get rid of the <relocate> and <locator> tokens from the PackageInfo file, which is an XML file in disguise.
I'm trying to remove the "locator" and "relocate" options in a flat package created with PackageMaker 3.0.3, and although I see the LOCATOR feature in action (a trashed copy of my app gets updated *in the trash* by the installer), I can't see the "locator" and "relocate" options in any PackageInfo file in the package. What am I missing?
They can be in 2 locations:
- in the Package itself.
- in the distribution script (that is if you're ending up with a FLAT metapackage)
I tend to remember PackageMaker favors the second solution.
My $0.02
Ah! Thanks. I didn't think to look in the Distribution script. I see it now. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Craig Schamp