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:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=xT/CfE4tND3nzelbcZNkVqY5N71YiXUFOUGX78azjS8=; b=ICvZsLbqSFAD+j4E7tFWvFQRHEKdxv94bO0XOV4oX892dvkj8bm3iaB3wDT1d4oZK+ gekYo+ILsSmcQTuxZNRiXRPtc4OBwQ3OMf04wWHlg/Be4X6S0e+YytWI/jP+fyal+sFs jnRbZWnOmeQ9DLDRhoh5vpYwPoPzpLdaBLRbk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=o9YRGaOhewHkccWOuTuUthaLFZ0kk1yl2d1krEHrlMl6MHpesTUUTIomlFumIbzHG/ ZjEJ0JCfgxiQXA1jMAY9Aj1sIHpYCDx9WsmCynWhuCFzIReNztwqSmE9Cg0YwdabTuey GUar7TXQdntAKH7/oGbQOyH6XH29tefKpgG3g= For instance: If you want to install to /A/B/C/D Your payload installs the files to /private/tmp/mysymlink by default. On Jun 1, 2010, at 1:28 PM, kushal ghosh wrote: Hi, _______________________________________________ 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... Create a symbolic link to the appropriate final destination in the preinstall script in /private/tmp. Then have your payload install its files "inside" the symbolic path. In your preinstall script, you create a symbolic link in /private/ tmp/ named mysymlink that points to /A/B/C/D Is there a way to specify the destination location inside the preinstall script instead of giving the destination location path in pmdoc? My preinstall script needs to run some logic and dynamically choose a location where installation is to occur. Any way to do this? Currently the installation is occurring in a temporary area and a postinstall script is copying them to proper location. But I need to find a way to specify that location via preisntall so that no copying occurs This email sent to site_archiver@lists.apple.com