Is there a way to check the version they are upgrading from?
If so, you could make the fully unlocked app version 2.5, and the locked free app version 2.2 and, assuming your current customers are on version 1.9, you simply check for this. If they are on version 1.9, they get "upgraded" to version 2.5.