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:subject:mime-version :content-type:from:in-reply-to:date:content-transfer-encoding :message-id:references:to:x-mailer; bh=hwKzO9wkHdi7PTgRqnfVDwGF2cpg/75EbczG8RedWTw=; b=I/im/PJFRN4m1h1B/0L+kX5Az/n3GWmx1iPou6KFzSbY4q4aw9IGIvaZzYIVK0g4On pV9qDVNzeooG1SMqMgViQA537eVQbSGiUpziaV5mFply6TDSPxpxMaW6fjsQtjVprSLQ YpkMv/dV56puYXKgWC0gj9MupFT3sdrUnyZ1g= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=hgfSM8yWxfe2hu8VOM5O0sckqm1f7+9NQ2uHIJ9tBTXHAEE6mTh+Sxa1Hrs81Z8+7W rrrsueFg5x2TaIIZXzsGqDQS2UNxvHUAdxhxp0tTSqTv9RLpLpRgBBOxgr27jTm8TbFL Lj/bW+MGobEBWKv3qTq+IrvdQ+UFwLSM7aMTU= On Aug 24, 2010, at 10:27 AM, Howard Moon wrote:
Maybe a stupid question, but I can't find the answer...
I'm using Iceberg to create a meta-package installer, and have one component that installs a single file to the user's Application Support folder hierarchy. But if the user already has that file there, I don't want to overwrite it (because it contains user settings they might want to keep, and not get them overwritten with the default settings).
How do I keep a single file from being overwritten if it already exists?
Thanks, Howard
Common ways to do this: -create/install the file using your application on first-run, if it finds no file present -install the file in a temporary folder, then in a post-install script, move it to the correct location if it finds no file present Eli _______________________________________________ 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