Re: How to not install a file if it exists?
Re: How to not install a file if it exists?
- Subject: Re: How to not install a file if it exists?
- From: Howard Moon <email@hidden>
- Date: Wed, 25 Aug 2010 07:48:53 -0700
Never mind, I sussed it out.
On Aug 25, 2010, at 7: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
>>
>
> Where can I find info on how to do that 2nd method? I've done very little script writing (but am familiar with working at the command-line level). But I don't know how to use Iceberg to put the file into a temporary directory in the first place. Are there any good web sources for examples of doing this?
>
> Thanks for any help...
> -Howard
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden