. NET Project Production Setup program

Source: Internet
Author: User
Tags file system
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 ...



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.