What I did:
Built the program
Protected with Enigma
Executed on a test computer
Registered with a hardware id for a first time
Rebuilt the program
Protected with Enigma
Executed on a test computer
Registration dialog appeared again (I do NOT want it, because already registered). It displays the same hardware id as previously and the old key is suitable but need to enter it each time after recompilation which is very nasty
Asks for registration key again after program recompiled
Re: Asks for registration key again after program recompiled
Hi sanyock,
Probably, Enigma Protector is enable to save registration key. The behavior you described proves it.
You need to check the options in Registration Features - Registration Data Storing panel.
For example, if you store the key in Registry, in HKEY_LOCAL_MACHINE then Enigma Protector will be unable to save it if application is run under non admin account (because HKEY_LOCAL_MACHINE is write protected this case).
Probably, Enigma Protector is enable to save registration key. The behavior you described proves it.
You need to check the options in Registration Features - Registration Data Storing panel.
For example, if you store the key in Registry, in HKEY_LOCAL_MACHINE then Enigma Protector will be unable to save it if application is run under non admin account (because HKEY_LOCAL_MACHINE is write protected this case).
Re: Asks for registration key again after program recompiled
Switched from registry to file system and the problem disapperred
Re: Asks for registration key again after program recompiled
Fyi, in the project sample you sent me, you've used exactly HKEY_LOCAL_MACHINE.
If you would like the registration affected on all Windows accounts, it would be better to store license in the file system in some %All Users% folder.
If you would like the registration affected on all Windows accounts, it would be better to store license in the file system in some %All Users% folder.