I have a pro version and a free version. What I plan to do is to put my code in a jar (lib) and have a flag reg=1 in code itself. And I will build 2 jars one with reg=0 for free and other with reg=1 for pro.
Now Once I have the free installed, if I install the pro, I see that the new jar (pro reg=1) has not replaced the older one,
How to do that?