Asks for registration key again after program recompiled

Post here messages if you have any problems with working of Enigma Protector
Post Reply
sanyock
Posts: 60
Joined: Sat May 12, 2012 7:36 am
Contact:

Asks for registration key again after program recompiled

Post 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
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Asks for registration key again after program recompiled

Post 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).
sanyock
Posts: 60
Joined: Sat May 12, 2012 7:36 am
Contact:

Re: Asks for registration key again after program recompiled

Post by sanyock »

Switched from registry to file system and the problem disapperred
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Asks for registration key again after program recompiled

Post 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.
Post Reply