As a Salesforce ISV, we are currently facing the following situation:
We have one managed package available as an application on AppExchange and we would like to propose a 'premium' version of our application providing additional features.
For that matter, we started to develop another managed package. This new package would partly rely on the same APEX code as our initial package.
We tried the Extension to managed package proposed by Salesforce, which makes the first package required to install the 'extension' package. This later would then be able to use the APEX code of the main package. But still, it is necessary to install both packages, even if you only need the features of the second one, which is not appropriate for some of our AppExchange customers. An idea has already been posted to simplify the installation process.
Do you see any other solution to use the same APEX code within two packages, apart from code duplication ? Any idea would be greatly appreciated.