Page 1 of 1

Asks for registration key again after program recompiled

Posted: Sat Aug 04, 2012 6:17 am
by sanyock
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

Re: Asks for registration key again after program recompiled

Posted: Mon Aug 06, 2012 9:40 am
by Enigma
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).

Re: Asks for registration key again after program recompiled

Posted: Mon Aug 06, 2012 2:20 pm
by sanyock
Switched from registry to file system and the problem disapperred

Re: Asks for registration key again after program recompiled

Posted: Mon Aug 06, 2012 2:26 pm
by Enigma
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.