We just discovered a new problem with our registration scheme on Windows 7 64 bit edition. Currently we save a hidden registration file inside our application's resources but it has become clear that this is not the best place for this. Today we discovered that on Windows 7 64 bit edition when an application tries to create a file inside program files(x 86)/.. it actually ends up in the user's appData inside the virtualStore. This becomes a serious problem when a different user tries to use the software from a different account (because the virtualStore is specific to the user's account and the user gets asked to register the software again).
I am wondering where do people usually put these kinds of registration files?