This section describes a small plug-in that allows you to easily create a deployment project that contains. NET Framework 1.1 or mdac2.7-[bootstrapper]

Source: Internet
Author: User

It seems that I installed it myself last year. After I changed the machine, some of the original gadgets were lost. Today I want to package and deployProgramAfter searching for a long time, I found this kind of stuff. It seems that someone has introduced it before. Today I am nagging again, and I will give a very careful introduction.

To put it bluntly, the plug-in name I want to introduce is "bootstrapper". (If you have heard of it, you can leave. Don't yell at me. I want more people to know about it ), the official Chinese name of Microsoft is Microsoft Visual Studio.. NET 2003 Bootstrap plug-in ". After installing the plug-in, you can easily deploy the. Net program to a machine without installing the. NET Framework.

The plug-in M $ official is: http://www.microsoft.com/downloads/details.aspx? Displaylang = ZH-CN & familyid = 627921a0-d9e7-43d6-a293-72f9c370bd19

The following describes the specific deployment methods.

First, if you need to deploy. NET Framework 1.1 to the target machine, follow these steps:

1. Open Visual Studio. NET 2003, create a new project, and selectInstall and deploy a project, CreateInstallation Project;

2. SelectProject->Attribute(Make sure you have installed the plug-in .)Property page(For example), setBootstrap programIsInstall the boot program in Windows.

3. Now, the settings are complete. You can viewView->Editor->Startup ConditionsTo check whether the. NET Framework has been included in the deployment project.

4. When installing a program with. NET Framework, if the target machine does not install. NET Framework, a prompt is displayed for installation, such:

Next we will introduce how to include MDAC 2.7 in the installation and deployment Program:

1. SelectView->Editor->Startup Conditions, Right-click and selectAdd Registry Startup Conditions.

2. SelectSearch registryentry1, OpenAttribute dialog box, SetRegkeySetSOFTWARE \ Microsoft \ dataaccess,RootSelectVsdrrhklm, SetPropertyIsMdacsearch, SetValueIsFullinstallver.

3. SelectCondition1Node, openAttribute dialog box, SetConditionSetMdacsearch >=" 2.6".

4. Now the Basic settings are complete.

The above is an introduction to the use of this plug-in. I hope it will be helpful to everyone. It is estimated that many people should be familiar with this plug-in. I am smiling :)

Update
After reading Jason. Net's reply, I forgot to add the. NET Framework distribution part.

Here, the official description of M $ is directly posted.
Http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/default.aspx? Pull =/library/en-US/dnnetdep/html/vsredistdeploy1_1.asp

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.