Re: Installing folders with content but updating them later results in contents being deleted...
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=disneyanimation-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=glF0/hlw5mQZvJ0Gg5qBrNGoCuSATe+qV6bwE1JcSl4=; b=dFBeD+rF1viqz3+RATUi5x5EP6eXiyLE4SyVHhw7bUKgLVNNpT/ekFDnEYiSOqc6Bk QwNIecSZpr/FLzFLjQ+/KUjCU7YvPzMWIqRYg6Cg65Q/eFBvJ62LsZeClYF37kDa5XZE u4NtpZwUshmczpMxNRJ2fzWmfGElikReqZgTAcjBfMbnEFE0LlQrcuCxBJINTnOoBtVf z65XfNvh8aOBmZZY0pOWuYUu5ctlSaUQhEekBGo/DSKoszIKukW1M/s9a5iSKr/SdUZt y7cmScL4XOLeV2k00DiwF75lCJY7LVTpz+/eDb38SB5SQtfCzR8wKWCqsAjkg7VNbIN3 ZLBA==
On May 10, 2018, at 2:03 PM, thanos kazakos <thanoskazakos@gmail.com> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/greg.neagle%40disneyan...
This email sent to greg.neagle@disneyanimation.com
_______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg Neagle