Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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 3:04am
Edited 12-Nov-10 3:06am
JF201553.5K
v2
Comments
JF2015 at 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 at 26-Jul-13 8:45am
   
can i apply same process to database project of vb.net?
edriso at 12-Nov-10 9:02am
   
does it apply to vb.net 2008 as well
thanks
thatraja at 13-Nov-10 2:24am
   
Good answer in a good way ... 5!
Neeil at 17-Nov-10 3:12am
   
It is also same steps in V S 2010 ????????
info4shajeer at 10-Jul-12 5:00am
   
thanx
Member 10633000 at 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 at 12-Nov-10 8:18am
   
Good advice!

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

  Print Answers RSS
0 Peter Leow 443
1 OriginalGriff 403
2 Kornfeld Eliyahu Peter 260
3 Sergey Alexandrovich Kryukov 242
4 Maciej Los 230


Advertise | Privacy | Mobile
Web01 | 2.8.150301.1 | Last Updated 17 Nov 2010
Copyright © CodeProject, 1999-2015
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