Click here to Skip to main content
12,395,230 members (69,078 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
I need help to make a setup file for my project which i want to write to CD and to be used on any other system.
Posted 12-Nov-10 2:04am
Updated 12-Nov-10 2:06am
JF201554.7K
v2
Comments
JF2015 12-Nov-10 8:06am
   
What have you tried so far? Which problems are you facing? Please tell us a little bit more!
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

In a 20 step nutshell (VS2005) Wink | ;) :

1) Click 'File' -> 'Add' -> 'New Project'.
2) Goto 'Other Project Types' and 'Setup and Development'.
3) Choose 'Setup Project'.
4) In the 'Solution Explorer' rightclick on your setup project.
5) Choose 'Properties'.
6) Click 'Prerequisites...' button.
7) Choose your prerequisites (e.g. .NET Framework, Windows Installer).
8) Press 'OK', press 'Apply'.
9) Rightclick on 'Application Folder' in the left File System window.
10) Choose 'Add' -> 'Project Output'
11) When done, rightclick in the Right File System window.
12) Choose 'Add' and whatever you want to add to the application directory
during installation.
13) Rightclick on 'Project output from ....'
14) Select 'Create shorcut to Primary output from ...'
15) Rightclick on 'Shorcut to Primary output from...'
16) Choose 'Rename'
17) Name it after your application.
18) Select it and drag it to the left to 'User's Program Menu'.
19) (Build solution) Build your setup project.
20) In the setup project directory you'll find the .exe and .msi file to
install your application.

Pfffff... I need a rest and some coffee.
  Permalink  
v2
Comments
Pradip9975 26-Jul-13 8:45am
   
can i apply same process to database project of vb.net?
edriso 12-Nov-10 9:02am
   
does it apply to vb.net 2008 as well
thanks
thatraja 13-Nov-10 2:24am
   
Good answer in a good way ... 5!
Neeil 17-Nov-10 3:12am
   
It is also same steps in V S 2010 ????????
info4shajeer 10-Jul-12 5:00am
   
thanx
Member 10633000 27-Mar-14 10:24am
   
nice one...
thanks......
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Here's the whole tutorial: Step-by-Step Process of Creating a Setup and Deployment Project[^]

A simple Google search would have saved you a lot of time. Do not believe me. Check this: Clickety[^]!

Moreover, Google suggestion would have given you other search options as well. Put some effort my friend, put some effort!
  Permalink  
Comments
JF2015 12-Nov-10 8:18am
   
Good advice!
Member 11873281 30-Dec-15 5:26am
   
Sir,
I have to create a setup file in which I can include the MYSQl data base file. whenever i am creating a setup file and installing on other system it is showing database file missing.
Ankur\m/ 15-Feb-16 5:02am
   
Sorry for the late reply. Have come here after a long time.
Take a look here - http://www.msdotnet.co.in/2013/07/how-to-create-setup-fileexe-with.html
Found by searching - https://www.google.co.in/?gws_rd=ssl#q=include+database+in+setup+file+c%23

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.160721.1 | Last Updated 17 Nov 2010
Copyright © CodeProject, 1999-2016
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