1. Create a new activator, Incremental2PackActivator for the incremental pack in feature. Bundle that wish to use the incremental pack in feature will have to use the new activator in place of the old one.
2. The pack in archive must follow be named as 2Pack_version.zip ( version must be of the 0.0.0 format ). For e.g, for a bundle with version 1.0.2, it should have 2Pack_1.0.0.zip, 2Pack_1.01.zip and 2Pack_1.0.2.zip at META-INF folder. To migrate existing bundle that uses the old 2pack activator ( AdempiereActivator ), you need to rename the existing 2Pack.zip at META-INF to 2Pack_version.zip where version = the current bundle version.
During installation of bundle, if there isn't a prior installation record at AD_Package_Imp, the system should pack in all 2pack zip file order by the file's version suffix.
If there are prior installation records at AD_Package_Imp, the system needs to work out the version range that needs to be applied. For e.g, if the bundle's current version is 1.0.4 and the highest version at AD_Package_Imp is version 1.0.2, the system needs to applied 2Pack_1.0.3.zip and 2Pack_1.0.4.zip