Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
i have already made windows application and i want to setup this application with a serial number [visual stdio 2010],how can i do that?
Posted
Comments
db7uk 27-Jan-13 18:46pm    
um dont get it. Please elaborate?
Abhishek Pant 27-Jan-13 19:41pm    
use installshield or build a registry for serial number and use it with setup project.
Sergey Alexandrovich Kryukov 27-Jan-13 20:01pm    
What this serial number is supposed to do?
—SA
Muthuraja Irullandi 27-Jan-13 23:39pm    
Hi,
You can create a setup project in visual studio. If your setup is more complex then you can go for the InstallShield. In both cases, you will get the setup.exe and it will not ask for any serial number while install.
If you want that functionality, then you have to define the algorithm that. It can be a separate application, that you call during the install. Most , the MacID of the machine used to generate the cd key.

Best Regards
Muthuraja
[no name] 30-Jan-13 7:17am    
Hi you can use below answer if you facing any problem then mail me or reply soon.

Hi
you can Create setup file through below process

File-> New-> Project-> Other Project Types-> Setup and Deployment -> Visual Studio Installer- > Setup Wizard.

Set you Set your Project Name and Click on OK

click Next-> Create a setup for windows Application-> Next-> Select your Project EXE and other supporting file through Add Button then Next and Finsh.
then run the Project.
 
Share this answer
 
Comments
fjdiewornncalwe 30-Jan-13 9:27am    
My 1. The OP is looking for a way to add serial numbers to his application, not on how to create a setup project.
Hi
you can Create setup file through below process

File-> New-> Project-> Other Project Types-> Setup and Deployment -> Setup Project.

Set you Set your Project Name and Click on OK

Click File System On Target Machine -> Add Special Folder->Programs File Folder->Add Folder (Name It)-> Then go to File ->Add -> Existing project ->Select the C# project->After that you can see on solution explorer that solution has been added->Then go to the folder(Name it )->Add -> Project output->Ok.

Then you can see that Primary output has been made. Make two shortcuts of that.
Move those shortcuts that you have made to user desktop and another one to User programs menu.

After doing all this

Click View ->Editor->User Interface .
Then Debug It .

You can find the Folder inside visual studio projects.

Thanks.
 
Share this answer
 
Comments
fjdiewornncalwe 30-Jan-13 9:29am    
My 1. Repost of Solution 1 with no useful modifications or enhancements.

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