When Windows is installed does it create any file (name) or registry value that is unique to that installation ?
I'm developing a app that's natively portable. Every time the app is run on a new OS, the app needs to do something (eg. display the license). Any ideas ?
Even if the user has installed, say, Win 7-32 on two partitions, I would like to identify one from the other.
If the app is run from one directory and then moved to another directory or drive, the app should be able to tell that the OS has not changed.
btw, this is not really related to Win 7 - the app will run on any windows.
One way would be to get the volume id of the system drive. Any better way ?