How to implement
See I have a requirement like this. My application will be installed in a new system. I want to know whether i am being installed for the first time ,if so i need to do action say "A. Once it is installed and my application restarts, i should not do action "A". It should be also possible for the user to simulate the situation. (i.e make my application to think it is being installed for the first time). What i thought was to look for file, if not present, then my application is being installed for the first time,else create a file. if user wants to simulate, he can delete that file
is it ok?

