Click here to Skip to main content
15,911,785 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created one application in .NET and want to create a setup and deployment package in .NET. Also, I want to include Customer Information dialog window in its UI. I just want to know how to handle the Serial/Product key, in this case. I mean how can I check whether serial key entered by user is correct or not and how can I assign a unique serial key to the setup package before hading it over to the user.Urgent required.
Posted
Updated 20-Apr-11 2:50am
v2

If you have Wise or InstallShield, they have ways to do this. When I last used both of them, it was not very easy, and I had to do a lot of hacks and extra work to get it working the way I wanted. My requirements were further complicated because I also gave the users an evaluation option (no need for product key).

If you are using Visual Studio Setup, then it's even more difficult because of how limited VS setup projects are. You'd have to use a combination of VBScript and an external exe/dll to get things working as you want.
 
Share this answer
 
v3
For unique serial keys, you can probably use GUIDs and track them somewhere in the database. When the user enters the key, check it with the database/tracking mechanism of yours. If the key if fine, let the user install it. Users will need internet access though to install your product.
 
Share this answer
 
Comments
NAND_20 20-Apr-11 0:33am    
I need whole process,how to do
You can find all kinds of methods of licensing and opinions on the best way to create product keys, etc in the Code Project Articles[^].
 
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