Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
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 27-Jan-13 11:53am
Comments
db7uk at 27-Jan-13 18:46pm
   
um dont get it. Please elaborate?
Abhishek Pant at 27-Jan-13 19:41pm
   
use installshield or build a registry for serial number and use it with setup project.
Sergey Alexandrovich Kryukov at 27-Jan-13 20:01pm
   
What this serial number is supposed to do?
—SA
Muthuraja Irullandi at 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
vivek511 at 30-Jan-13 7:17am
   
Hi you can use below answer if you facing any problem then mail me or reply soon.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
Marcus Kramer at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
Comments
Marcus Kramer at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,108
1 OriginalGriff 8,186
2 CPallini 2,613
3 Richard MacCutchan 2,231
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100