Installer production

xiaoxiao2021-03-06  56

Installer production

Produce the project installed: 1. Open your .NET, right click on your project (Solution), select Add New Project (add a new project).

2. Select the installation and deployment project web installation item (or Windows installation item)

3. The window of the VS will display the file system, click the "Web Application Folder" in the left column, right-click "Web Application Folder", select Add Item Output, and select the main output and content file.

4. Your project will add a new YouSetupname project, which is the installed project.

5. Because .xml ,.rpt, .gif file cannot be automatically added to the project, so you have to add it. In the Solution Explorer, right click on YOUSETUP Project (your installation item name), select "Add File", then add your .rpt, .xml, .gif file;

6. If you use Crystal Report, you will add Crystal Reprot's support file. In the Solution Explorer, right-click YouSetup Project (your installation item name), select Add Merger Module, found in the window, and select C: / Program Files / Common Files / Merge Modules / DotNetCrystalReports.msm, Open, join; 7. Right-click on the "File System on Target", select the properties, in the properties window, set the productName to "I have the item name you want to package"

8. Right-click on "Web Application Folder", select the properties, in the Properties window, set the defaultDocument to "your default login page", "start page",

9. Check your YouSetupname project, press right-click, select "Generate"; or "Generate YourSetupFileName" in the "Generation" of the main menu;

10 YourSetupFileName The following will have two folders Debug and Release, inside .exe and .msi are the installation file you want, run .exe, you can install it.

Posted on 2004-05

转载请注明原文地址:https://www.9cbs.com/read-81595.html

New Post(0)