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:in-reply-to:references :mime-version:x-priority:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; bh=ZLw8IPX2m6v4p5F4cTXqum8nC0LXfxiH34812WafFrk=; b=aguTu9R98ycGsY7ao1Hnhzxio4SpkaujDcQA3NdJ6nm0aOKE4qWiK9JTTVdyJa7SfQ q5faeNdobaF0DYfcJw0LzrRaXSTAn9C1TVUq7K0NS7vlgUHSY0ts33BR6vV1r4hgh2nX vHfeollCJwQO8EPWTBa7n8Vz5eMzNTnUeaYmU= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:x-priority:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; b=JyNvqWyQxZ/utMx2qFmLSqbRGhIc8M/S5RzjSo3g7CAxk5u2TiGTn3bln5pwgRnbmy ntcZsAQWFjj1tkFo+/B1ces+YEi4dkcAE5f8qlnSefkDpUJ1RSuu2kMVMkxmi4T/QI3I gVxhSvhudXR/J3yCHNPDpotHBV3jYmSPVNfp0= On Apr 22, 2009, at 8:18 PM, Andrew Peckover wrote: Using PackageMaker 3.0.3(174) and OS 10.5.6. _______________________________________________ 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... My program installs to '/Applications/MyProgramFolder' by default, however the user can change the install location to the home directory or another volume. They can also 'customize' and choose any other location. These are often upgrades, and the user will often already have files installed in that location. I need to check some things about the files in the destination folder, for example if a certain file exists. Then based on that info, allow/prevent the installation or give an informational message. I am making some scripts, but I don't know how to determine what the installation folder is. For example, I could open the "destination folder" in Finder by using "open $2". $2 is an environment variable for the path to the destination folder. But this always gives me the defualt path, and not the actual path that the user selected in the Custom Install window, or the Select a Destination window. How can I find out what path the user selected? It might be possible to get this information for bundles using the search features in JavaScript. But the search features are undocumented (and they are not working that well apparently). This email sent to site_archiver@lists.apple.com