Click here to Skip to main content
16,012,352 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,

what is my question is:-

I want to create a setup file in which i can install windows applications.
and during installation i want to add licensing functionality for the application in the setup file only, but the setup file should not work in other system.

How can i do this....
Posted
Comments
walterhevedeich 11-Aug-11 4:47am    
Please DO NOT repost questions. I have deleted the other question you posted. Although the title is different, the content is the same. There are solutions here, so if you need additional clarification, use the Add Comment widget to ask additional questions on the answers.

By writing code. Seriously, if we told you the ONE way to do this, then EVERYONE would know how to crack it, right ?
 
Share this answer
 
Perhaps you can do it this way:

You will need 2 applications/system for this:
1. Windows Application - Your main product. It should be able to connect and pass a unique identifier of your PC(hard disk serial number, perhaps) and a built in product key to your web app for product activation.
3. Web App/Web Service - This will be the app where your main product will connect to for product activation. This will ensure that there will be only 1:1 product key/PC unique identifier.

Basically, you need to design the setup of your app to connect to your web application for activation. Given that your web app holds the records of the product keys and if they were already in use, and given the fact that you have passed the information when you clicked the activate button on your windows app, your web app will be able to validate if you are attempting to install the app with the same product key to a different PC. Of course, this does not answer many possibilities that can happen like, what if the key was cracked, etc. However, I believe this is the simplest way to get you started.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900