Click here to Skip to main content
16,017,623 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i made a simple desktop application . now i want to give it to someone else. i am a student. how can i make it . so it can run without visual studio. my friend use it in his medicine store.. wel now how can i make it in the form of software?
Posted
Comments
Dr.Walt Fair, PE 3-Sep-11 17:19pm    
Do you just want to make the EXE or create a distribution, like MSI?
codegeekalpha 3-Sep-11 20:12pm    
i really don't know.. anything that works for others

Depends on your application, but if it's independent, just copy the files from release (or debug) directory (depending what option you chose when you compiled it) and hand them over. Ensure that your friend has proper framework installed (the one you targeted in your project properties)
 
Share this answer
 
Comments
Philippe Mori 3-Sep-11 19:31pm    
Without doing a setup, the application might be blocked depending on how it is copied... and the user might need to unblock it. For that reason, even for simple application, it might be preferable.
codegeekalpha 3-Sep-11 20:13pm    
how can i create a setup for my .net application??
Wendelius 4-Sep-11 3:24am    
One easy way is that you press right mouse button on the project in project explorer and select publish. Follow the instructions and you can create a deployment package.
Assuming you are asking about distributing your app, I would create a Setup project and add your release EXE to it, along with any other files that might be needed.
 
Share this answer
 
Comments
Philippe Mori 3-Sep-11 19:34pm    
It is somehow easier to use "Publish" command for simple project...
Dr.Walt Fair, PE 3-Sep-11 20:45pm    
Yes, that's true. If it's a real simple project, using the Publish might be the easiest.
in the case of windows applications of visual studio 2008-2012
you simply copy the release directory contents and

install the dotnet framework version of the visual studio install in the destination computer

then simply copy the release directory contents in a desired folder in the destination computer . it execute simple ..it would not ask any other setups
 
Share this answer
 
Comments
OriginalGriff 23-May-19 10:10am    
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 8 year old ones. After that amount of time, it's unlikely that teh original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse, and the more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
Richard Deeming 24-May-19 14:22pm    
That's exactly what solution 1 already said!

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