mrichter
Posts: 20
Joined: Wed Oct 17, 2007 11:59 am

Liceense Check Manadates Windows Registry

Hi,

One thing that has always annoyed me about AI is the fact that the license check mandates the use of the windows registry. Java has no API for the windows registry and now with the Vista UAC cracking down on it this has over complicated license checking for our Java app. It would be great if we could perform a license check without the use of the registry. A simple command line parameter would improve this dramatically.

eg:

Code: Select all

updater /checknow -url http://www.example.net/checkLicense.php -license ABC123
Thanks

Mark
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Liceense Check Manadates Windows Registry

Hi Mark,

I added this improvement on our TODO list and it will be available in a future version of Advanced Installer. Thank you for your suggestion. Until then, a workaround would be to use a custom EXE to create the registry value (the EXE can be launched by your application or by a custom action during install).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mrichter
Posts: 20
Joined: Wed Oct 17, 2007 11:59 am

Re: Liceense Check Manadates Windows Registry

Thanks Cosmin,

Spawning the reg executable is exactly what I previously did however it is plagued with problems. Many corporates have policies that prevent registry changes and also the Vista UAC is causing me no end of pain. I have sinced upgraded to use JNI and this has improved things but I still have quite a few users who still get Access denied. This change will signifcantly improve things for my application and I would imagine that i am not alone.

On further thought it would probably be good to have a searching technique that perhaps used the registry and failing insufficient privilages uses a command parameter.

-Mark

Return to “Feature Requests”