Click here to Skip to main content
15,897,291 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Can anyone help me?

I need to convert a winform application into a executable installer,

i.e a file(.sln) into a (.exe) installer format.

I already know that there is a executable in the file path,

..\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release

But is there anyway to make it easier for users to use the .exe without having them to navigate around the folders???
Posted
Comments
j@sonMarz 4-Aug-10 2:27am    
thanks for the reply guys appreciate it very much!!! =D
Toli Cuturicu 4-Aug-10 6:20am    
Reason for my vote of 1
absurdity

um... what ?

When you create an installer, you don't send them source code, you send them exe, and the installer creates a shortcut to run it.
 
Share this answer
 
The executable under "..\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release" *IS* your application. That is all the user needs!

The solution (*.sln) file is used by Visual Studio and it is a sort of a description of your application and it's projects. No user needs to see that.

If you need to create an installer - there are many ways to do that, but I would suggest reading about programming under VS first...
 
Share this answer
 
Comments
Member 13341679 20-Sep-17 5:18am    
Yes, this is the .exe file but if we are using some different libraries(e.g AForge.Imaging) in the code snippet, it is showing errors. Is there any solutions for this error, please answer.
In Visual Studio 2010 you can create a "Setup and Deplayment" project in your solution.

In this project, you can create a MSI file that installs your WindowsFormsApplication1 on the computer.
 
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