I think this would be far to complex to just post here. There are Install packages that handle this or you would need to figure out how to create keys for products, encrytion, storing them , generating a license ( temp or perm), protecting the keys, Checking this information in your application code etc... If you do not want to buy install software try this free open source product http://www.activelocksoftware.com/[^]