Share the common error of the VS.NET2003 re-distribute .NET framework

xiaoxiao2021-03-06  17

Summary: This article describes how to use Microsoft Visual Studio .NET 2003 via the .NET Framework to re-distribute the software package DotNetfx.exe deploying the Microsoft .NET Framework application. Analyze the common mistakes of beginners.

Text: Step 1: Download Microsoft Visual Studio .NET 2003 boot plugin download address: http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&familyid=627921a0-d9e7-43d6-a293- 72F9C370BD19

My lesson: I didn't download this plugin, I found the DOTNETFX.EXE file directly in the installation plate, I didn't get it at least 5 hours.

Step 2: Install the .NET Framework using the setup project

1.

Make sure the Visual Studio .NET frame boot boot plugin is installed.

2.

Select the setup project in the Solution Explorer. On the project menu, select Properties.

3.

Set the boot program property to a Windows installation boot program.

When compiling the SETUP project, the .NET framework re-dispensing the package will be packaged with the setup.exe.

Note You must also enable the Startup condition of the .NET framework; this condition is enabled by default, any project of the .NET framework is enabled. To check the start condition, point from the View menu to Editor and select Launch Conditions, then look for the startup condition named .NET Framework.

Step 3: Install MDAC using the setup project

1.

Make sure the Visual Studio .NET frame boot boot plugin is installed.

2.

Select the setup project in the Solution Explorer. From the view menu point to the editor and select the start condition.

3.

Select the requirements for the target computer. Right click on the mouse to select the Add Registry Startup condition.

4.

Select the Search for RegistryTry1 node. In the Properties window, select the RegKey property and type Software / Microsoft / DataAccess.

5.

Select the root property and select VSDRHKLM.

6.

Select the value attribute and type FullinstallVer.

7.

Select the Property property and type MDAcSearch.

8.

In Launch Conditions Editor, select the Condition1 node. In the Properties window, select the Condition property and select MDAcSearch> = "2.6". Special attention here: quotes on 2.6 are Chinese

My lesson: I got a day because of this Chinese symbol.

When compiling the SETUP project, the .NET framework re-dispensing the package and MDAC will be packaged with the setup.exe.

Other related information, you only need to search for 9CBS articles!

Recommended to read this article: http://www.microsoft.com/china/msdn/library/netframework/netframework/nfdnnetdEpvsredistDeploy1_1.mspx

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

New Post(0)