Maybe you can try something like the following:


When the application starts, have it look for a certain file in a certain place with certain contents.


If the file does not exist, set...