Deploy ASP. NET (including. netframework and MDAC)

Source: Internet
Author: User


With the Microsoft Visual Studio. NET 2003 Bootstrap plug-in, you can easily create an installer and resend. NET Framework 1.1 and/or MDAC 2.7 with your application.

The address of the bootstrap plug-in plugininstaller. MSI is:
Http://www.microsoft.com/downloads/details.aspx? Familyid = 627921a0-d9e7-43d6-a293-72f9c370bd19 & displaylang = ZH-CN


To enable. NET Framework applications to run on a specific computer, the. NET Framework must be installed on the computer. MDAC 2.7 is required for any. NET Framework application that uses ADO. Net to connect to the database. Many computers have installed these components, but they should be re-distributed with the application to ensure that an application can run.

The Visual Studio. NET 2003 Bootstrap program is integrated with the Visual Studio. NET installer and deployment project. Based on this, you can create only one installer to automatically detect the required software on the target computer and install it as needed. If the computer is required to restart during installation of any component, the installer will automatically continue subsequent installation. Therefore, you only need to run an installer to install the necessary software and applications.

For more information about the Visual Studio. NET 2003 Bootstrap, see the visusal Studio. NET 1.1 Article in the. NET Framework 2003 Development Guide.

Supplement: after Microsoft Visual Studio is installed. NET 2003, it is best to install the bootstrap plug-in plugininstaller immediately. msi to make your.. Net program installation package has been installed. net Framework 1.1 and/or MDAC 2.7 are packaged into your installation package, but your installation package can be smoothly installed.

Method:

To deploy. NET Framework 1.1 to the target machine, follow these steps:

1. Open Visual Studio. NET 2003, create a new project, select the installation and deployment project, and create a new installation project;

2. Select project-> Properties (make sure you have installed the plug-in). On the pop-up property page (such as), set the boot program to Windows to install the boot program.

3. Now, the settings are complete. You can view the view, editor, and startup conditions to check whether. NET Framework is included in the deployment project.


How to manually add a Search Condition For MDAC 2.7 to the startup conditions when creating the installation package (that is, how to include MDAC 2.7 in the installation and deployment Program ):

1. select View> editor> startup condition, right-click to add a Registry Startup condition.

2. Select search registryentry1, open the Properties dialog box, set regkey to software/Microsoft/dataaccess, root select vsdrrhklm, set property to mdacsearch, and set value to fullinstallver.

3. Select the condition1 node, open the Properties dialog box, and set condition to mdacsearch> = "2.6 ".

4. Set installurl to: http://download.microsoft.com/download/3/ B /f/3bf74b01-16ba-472d-9a8c-42b2b4fa0d76/mdac_typ.exe to install MDAC 2.7 manually online.

5. The message is displayed when MDAC 2.7 is not installed on the target computer, for example, "<this program requires MDAC 2.7 or a later version. Please install it!> ".

6. Now the Basic settings are complete.

Note:

Note when installing the project "requirements on the target computer" with multiple "Registry searches!
 

Related Article

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.