Re: Installing folders with content but updating them later results in contents being deleted...
Re: Installing folders with content but updating them later results in contents being deleted...
- Subject: Re: Installing folders with content but updating them later results in contents being deleted...
- From: Greg Neagle <email@hidden>
- Date: Thu, 10 May 2018 14:32:20 -0700
> On May 10, 2018, at 2:03 PM, thanos kazakos <email@hidden> wrote:
>
> Hello everyone
>
> I'm making an installer that the first time installs some content in
> Library/Application Support/My Company/My Product/Content/Subfolders...
>
> as well as the software plugins in other different locations/paths. The
> plugins read info from the above location.
>
> Later on I will update the sofware plugins with a different installer as well
> as some other stuff in Library/Application Support/My Company/Different
> Folder/Subfolders.
>
> This second update installer doesn't have content to be installed so it's not
> as big as the first Content one.
>
> However when I prepare it, whether I have the "Content" folder and subfolders
> empty or not have it at al in the Packages project, running it deletes the
> contents of that folder or deletes the entire folder respectively.
>
> Is there a way around this or am I missing something obvious?
Yes. Don't use the same package identifier for your update package. Otherwise
you'll see the behavior you describe as the Installer assumes your new package
is claiming you don't need those files any longer.
If your main installer has an identifier of com.foo.bar, your update pkg could
have an identifier of com.foo.bar_update.
>
> Thanks in advance for your help.
> _______________________________________________
> 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