In AEM 6.0, whenever I install any package it overwrites existing structure on the server. I am creating package and tried with different options such as merge, mergepreserve but it always overwrite existing contents while installing package.
For eg: If "testpackage" has /content/test/pages in it and target author instance has test pages /content/test/pages/existingpage. After installing "testpackage" on target author instance, I would like to preserve "existingpage" under content path /content/test/pages.
How can I achieve that?
I tried diffferent options provided in package manager but nothing worked - please find screenshot enclosed.
It looks like you cannot specify a mode while creating a package in crx package manager. but if you are creating a package externally, e.g. through a maven plugin - you can specify in filter.xml if the content should be merged.