We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,613 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

how to convert c# project into a windows installer?

Hi, I have a C# project which I want to make into a Windows installer (either .msi or .exe if possible) so that it can be deployed for e.g. in the C:\Program Files\myproject folder on any PC running Windows (and if possible limit it as from Vista onwards with a check from the installer itself). How do I proceed?

3
Contributors
3
Replies
3 Hours
Discussion Span
9 Months Ago
Last Updated
6
Views
Question
Answered
lordrt
Posting Pro in Training
466 posts since Jul 2010
Reputation Points: 30
Solved Threads: 33
Skill Endorsements: 0

The deployment tools in Visual Studio allow you to create installers for 64-bit applications and components. The TargetPlatform Property of a deployment project determines whether an installer will target a 32-bit or a specific 64-bit platform.
http://www.dapfor.com/en/net-suite/net-grid/tutorial/data-binding

Avrillavigne
Newbie Poster
2 posts since Aug 2012
Reputation Points: 0
Solved Threads: 1
Skill Endorsements: 0

just go to file menu then new project ---> other project types ---> setup and development ---> give name and select path where you want save your setup --->press ok
after that a page will open having two columns , on your left side there will be there options 1-application folder 2-users desktop 3-users program menu ,
first click on application folder then on right side just right click select Add--->files---> browse your bin folder of your project select all files and folder in it and press ok
then click on users desktop option and then again right click on right side then select Create new shorcut ---> a window will open , select application folder and then select file .exe and press ok

then go to Build menu and there will 3rd option Build YourProjectName click it . Done :P
You have created your first setup.

Regards

M.Waqas Aslam
Master Poster
743 posts since Aug 2011
Reputation Points: 50
Solved Threads: 120
Skill Endorsements: 2

thanks.
One additional help required, I would like to add the .NET framework 4 setup as well in the C# setup file, how to do this? I have the .NET file as standalone setup on my pc.

lordrt
Posting Pro in Training
466 posts since Jul 2010
Reputation Points: 30
Solved Threads: 33
Skill Endorsements: 0
Question Answered as of 7 Months Ago by M.Waqas Aslam and Avrillavigne

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0592 seconds using 2.64MB