Click here to Skip to main content
12,999,867 members (54,903 online)
Rate this:
Please Sign up or sign in to vote.
See more:
How Can make .exe file or installation file in project. And attached the all necessary files like crystal report , Sql Server. It install step by step. How can i Make better setup file.
Posted 19-Apr-13 20:19pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


refer below links for getting started with setup and deployment projects.
How to: Create or Add Deployment Projects[^]
Getting Started With Setup Projects[^]
Create Setup And Deployment Project in Visual Studio 2008/2010[^]

for installing sql server and creating database, tables refer below articles.
How to add Sql Server setup file as a prerequisite in windows application[^]

hope it helps.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Follow below steps to create set up file

1) Select Add->New Project -> select Other Project Type set up and deployment

2) Choose setup file in Solution Explorer right click then choose view -> File System

3) In the Application folder choose right click add --> File and choose your .mdb database add it. Along with before you add your project .exe file (or) Primary output of the file

4) If you need shortcut for set up file then right of primary out file and create short cut and cut this shortcut select user desktop option and paste it rename it.

5) Again right click and create another one short cut in the Application then paste it in USer's Programs menu (create one folder and place it)

6) Rebuild set up file and see in your setup file folder setup file is created taken that msi file and install it in other PC.

all steps explained with screen shot refer this article

Other option take whole bin folder files copy and paste in other system just execute that .exe file on double click

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 20 Apr 2013
Copyright © CodeProject, 1999-2017
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