View Full Version : Installing a program on a network x amount of times
codge
03-08-2006, 02:48 AM
Hi, Is it possible to install a program on networked workstations 'x' amount of time depending on the user license but then not allow any more, and setup displays a message informing the user accordingly.
I assume a file would have to be placed on the server which would be read and updated by setup each time it is run, is it possible, is there a better way of doing it
Hope someone can help, Regards C
You could possibly use the LuaSocket library to detect when there are more than X number of applications running. Creating a licensing server, and then your app would be the client to the server. This would allow for a "floating" license concept meaning they could have the app installed on more than 5 machines, yet it would only run on up to 5 machines at a time.
codge
03-08-2006, 06:46 AM
Hi
Thanks for the reply I'll investigate it as it sounds just what I need
In the mean time I dabbled and came up with this for a single user install, which although a bit noddy it does seem to work,
result=File.DoesExist("P:\\program\\check.ini");
if result then
result = Dialog.Message("License Exceeded", "This is a single user license and has been installed previously. Please uninstall from the other workstation if you wish to install on this one", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Application.Exit(0);
end
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.