Automatically install framework and Data Access Components when deploying a project

Source: Internet
Author: User

Automatically install. NET Framework and Data Access Components when you deploy a program.

1. Download the plug-in, complete the installation. http://download.microsoft.com/download/4/e/f/4ef7254b-d6c2-4f6f-8028-f03a594d5edf/PluginInstaller.msi, and install the plug-in.

2. Install the framework

Create an installation project. Do not talk about other operations here. This document only describes how to automatically install the framework when installing a project.

For Windows Installation Projects, You can automatically install the framework without any operations. For web projects, modify the settings and open the Properties window of the installation project. Right-click the project and click Properties, A window is displayed. In this window, we can see the Bootstrap program. Select Web Bootstrap program. If you do not want to automatically install the window project, you can select none.

3. Automatically install Data Access Components

  1. Create an installation project, select a project, open the startup condition editor window of the Project, right-click the target computer node in the window on the left, and add a "add Registry Search ", select this search registryentry1 node, open its Properties window, and set the regkey value to software/Microsoft/dataaccess.
  2. Set the root property value to vsdrrhklm.
  3. Set the value attribute to fullinstallver.
  4. Set the property value to mdacsearch.
  5. Right-click a start condition on the start condition node and select the generated condition1 node. In this node's Properties window, select the condition attribute and set it to mdacsearch> = "2.6 ".
  6. The last step is to add the previous steps for installing the framework (the step for modifying the Bootstrap program)

The above two installation operations can be performed in the same installation project

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.