How to add a deployment project
Ok So here's a visual walkthrough of how to add a deployment project to your solution. I've already installed the bootstrapper plugin...
This is a C# Windows.Forms simple calculator project called "WindowsTestApp". The solution is also called "WindowsTestApp".
image 1
I then right click on the solution icon...
image 2
... and select Add->New Project...
image 3
The "Add New Project" Dialog appears. I then select the "Setup and Deployment Projects" folder on the left and the Setup Project template on the right. Go ahead and name the project what you want and put the location where you want it created. I left it the default: "Setup1".
image 4
You can see that the Setup1 deployment project has been created and the File System Page is brought up by default. This is a representation of the File system where the application will be installed. Application Folder is wherever they decide to install the app. I then right-clicked the Application folder...
image 5
...and selected "Add->Project Output..."
image 6
In the "Select Project Output Group" dialog, I selected my project from the dropdown and then selected "primary output" from the select box. I pressed Ok to dismiss the dialog.
image 7
Notice that the output has been added. Also noticed the highlighted
Merge Module. This the dependency to the dotnet framework that will, thanks to the bootstrapper, be installed.
image 8
Next I went to the Build menu and selected "Configuration Manager...". I wanted to build this in release, so I made sure both projects were checked for release.
image 9
image 10
Finally, I went once again to the "Build" menu and selected Rebuild Solution (this built first my executable and then the installer package)
image 11
Now to test my installer! I went to the folder where the Setup1 project lives. I then opened the Release folder. There are my setup files!
image 12
I then doubleclick setup.exe and install my program!
NOTE: If the machine I ran the setup files on didn't have the .Net framework installed, at this point I would have been prompted to install it first (and thanks to the bootstrapper it could install it for me). Also note that ALL of these files are required to install my app.
image 13
EDIT: I think Brian is right... so use this for your reference in learning about Deployment projects. Enjoy!