Re: Preventing files from overwriting
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 :content-transfer-encoding:from:subject:date:to:x-mailer; bh=rv17ByMP6uUdKlQHu5Mrfs+b0VNOFJvdYmJagd/DR6Q=; b=MNrNpoNOaWGP1naizgO4zpcu4VtMTcNj6ptO9CxmHBtgh8eYkvP58H9ABEcsUgbMUX z5l9C2bgc4Q+A39GbISPLu8edz3d4Nu7WqicGMHPIAVCc5AyCXttAfHkRMQ83jiX5Eu+ SnCU3fKo1SEsZmzkjwZSRQM5D3AsZ/qCfyXHg= 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:content-transfer-encoding:from:subject:date:to:x-mailer; b=Q++wAHc3AFL/PDEkW8cWJ6IlwG4BQgSmewXIgCTpMEHd+8JEA/mcZUkBOS8zQXNKs3 tWDaePtis4fvNnI7IcNco3gUsEYh/t1nTjCUbCpQKuTjwH8HI9BIoCNi0O2cda74q7FV ux8B9jLOE6YkfXF01lAY48r0gSyH8R81y3XzE= On Feb 5, 2010, at 8:49 PM, Mark Hatsell wrote: Hello Which package format? _______________________________________________ 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... I was wondering if there is any way to prevent a package from overwriting specific files if they are already present on the target system? I have a license file that needs to be copied to a certain location on the first install but never overwritten on any subsequent installs of the same or higher version of the package. IIRC, there is an undocumented trick to do this prior to flat package. This would require to look in the list archives. Anyway, considering it's only one file, whatever the format is, a possible solution is to go with a distribution script or a metapackage. You create a specific package for this file. You set an installation requirement so that the package will not install if the file is already there. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev