Trial window displays

Post here messages if you have any problems with working of Enigma Protector
Post Reply
guido100uk
Posts: 2
Joined: Tue Dec 29, 2009 8:44 pm

Trial window displays

Post by guido100uk »

Hi,
I'm try to protect a VB .net exe using windoze xp. I have protected the exe OK and the trial finishes as expected. I then entered the key and that was accepted however the next time I ran the exe file it asked for the details again and everytime after.
Ca you let me know what I'm doing wrong.
Thanks in advance,
guido
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: Trial window displays

Post by Enigma »

Hi,

Probably registration information just is not saved after registration..
Do you use custom registration dialog, or standard Enigma Registration Dialog?

Firstly, check out settings on REGISTRATION FEATURES - Registration Data Storing panel. There:
- if you save registration key in registry, be sure that your application has write permissions to selected registry branch. For example, you may not have permissions to write to HKEY_LOCAL_MACHINE registry path.
- if you save registration information into file, be sure that program has write access to the selected file. For example, you may not have permissions to write to Program Files folder without Admin privileges under Win Vista/Seven.

If you are using custom registration with Enigma API then be sure that you save registration information (with Enigma API EP_RegCheckAndSaveKey or EP_RegSaveKey) after you have checked it.

Regards
Vladimir
guido100uk
Posts: 2
Joined: Tue Dec 29, 2009 8:44 pm

Re: Trial window displays

Post by guido100uk »

Hi Vladimir,
Thanks for your quick response.
I have checked the registration feature I was asking it write to secret.dat I know there is a bug in trial verions, I also asked it to write to the registry.
The program did write to the registry as I have checked using regedit and confirmed that the the key and my name have been written. I aslso asked for Hadrware ID which give the correct key and everything but when you use the protected program again it asks for the details again.

Regards,
guido
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: Trial window displays

Post by Enigma »

Hi guido,

Really, not sure that there is an Enigma bug. I have tested registration scheme with exactly .net file and everything is working well...
My steps:
- delete previous registration info for debuging purposes: Main menu - Tools - Debug - Reset Local Registration Info
- enable Enigma's Registration Dialog at "REGISTRATION FEATURES - Registration Dialog"
- protect the file

After run, file asks for a license info, I enter license info and register - program continues to run well. After second start - no any registration dialog appears.. Everything is well.

Maybe also an idea, enable option "REGISTRATION FEATURES - Common - Allow execution only if registered" and then try to register. I think that maybe you have written the license info in the registry, but it is invalid...? Or maybe enable option "REGISTRATION FEATURES - Registration Dialog - Show message if key is valid/invalid", it is necessary to be 100% sure that entered key is valid.

If you would like to solve this problem, could you send me:
- your project file, probably something invalid is there
- unprotected files for tests
- you can write me at support@enigmaprotector.com and I send you latest demo version.
- or, finally, I can protect your files with special debug version that generates log file, and we can easy find a core of problem!

Regards
Vladimir
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: Trial window displays

Post by Enigma »

guido, hope that problem is solved now, I've replied to you! Problem is in project file..!

Regards
Vladimir
Post Reply