When your app runs look in DirInternal for a file called "File1.txt". If it is there then exit immediately. Otherwise continue your first run and finish by creating a file called "File1.txt" in DirInternal. When you release the next version look for a file named "File2.txt". And so on.
A slightly better plan would be to look for a file called "Marker.txt" and change the content each time that a new app level is run.