Program | project
Basic steps:
1. Open your. NET, right-click your project (solution), and choose Add New Project (add New Item).
2. Choose to install and deploy the Project Web Setup project (or a Windows Setup project)
3.vs window will display the file system, with the mouse click on the left column of the "Web Application Folder" Plus, right click "Web Application Folder", select "Add Project Output",
Select both the primary output and the content file.
4. Your project will add a Yousetupname project, which is the installation of the project.
5. Because. xml,. rpt,. gif files are not automatically added to your project, so you add them manually. In Solution Explorer, right-click Yousetup Project (your installation project name), and select the Add
File, and then put your. RPT,. xml,. gif file into;
6. If you use the crystal, you need to add crystal reprot support files. In Solution Explorer, right-click Yousetup Project (your installation project name) and select the Add
Plus merge module ", found in the window, and selected C:\Program Files\Common Files\merge modules\dotnetcrystalreports.msm, open, joined;
7. Right-click File system on target computer, select Properties, and in the Properties window, set ProductName to "the name of the item you want to package"
8. Right-click Web Application Folder, select Properties, and in the Properties window, set Defaultdocument to "your default login page", "Start Page",
9. Select your Yousetupname project, press the right button, select "Generate", or choose "Generate Yoursetupfilename" in the main Menu "generation";
Under Yoursetupfilename there will be two folders, DEbug and release, where the. exe and. msi are the installation files that you want, and you can run the. exe to install the
Hope to be useful ...