???? ID: 324733 - ????? ???????: 04 ?????? 2010 - ??????: 5.0

TO HOW: ?? ??? Visual Studio .NET ????????? ????????? ?? .NET Framework ?????? ????

?????? ??????This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

?? ????? ??

??? ?? ??????? ???? | ??? ?? ??????? ????

??????

?? ??? ?? ??? ???? ????? ???? ?? ?? ???? ????????? ?? ??? .NET Framework ?????? ???? ?? ??? ???? ?????

?? ?? ?? Microsoft .NET-???????? ????????? ???? ??, ?? ?????? ???????? .NET Framework ??????? ???? ?????? ??? ??? .NET Framework ??????? ???? ??, ?? ????????? ???? ??? ????? ?? Microsoft Visual Studio .NET ????? ?? ????????? ????????? .NET Framework ???????? ??? ?? ??????? ???? ????? ???????, ????? ??? ?? .NET Framework ??????? ?? ???? ????????? ??????? ???? ?? ???? ?? ????????? ???? ?? ????

.NET Framework ?? ?????

?? ?? Visual Studio .NET ?????????, .NET ?????? Framework ?????? ???????? ?? ??????? ???? ???? ?????? ?? ?? Visual Studio .NET ????????? ????? ?? ????? ???? ????? ??????? ?????? ?? ????? ???, ?? ???????? ??????? ???? ?????? (MsiNetAssemblySupport) ????? ???? ?? ??????? ?????? ?????? ???? ?? ?? .NET Framework ?????? ???????? ?? ??????? ??? ??? .NET Framework ?????? ???????? ?? ???? ???? ??, ?? ??????? ???? ?? ?? ?? ???? ????? ?????? ????? ??????? ???? ??:
?? ????? .NET Framework ?? ???????? ??? ????? .NET Framework ??????? ???? ?? ?? ????? ?? ??? ?? ?????
?? Microsoft Visual Studio .NET ????????? ????? ?? ????? ?? ????? ??? ?? Windows ???????? ????? ????? ??? .NET Framework ????? ???? ???? ?? ???? ??? ???-??? .NET Framework ??????? ???? ?????? ??? ?? ????? ?? ????? ??? .NET Framework ?????? ???????? ?? ?????? ?? ???? ???:
  • .NET Framework Visual Studio .NET ?? ????????? ??????? ???? ?? ???? ???????? ????? ?? ???????? ??? ?? ??????? ???? ?? ??? ?????????? instruct ???
  • Setup.exe Bootstrap ????? (Microsoft ?????? ??????? (MSDN) ???? ?? ??????) ??????? ????? .NET ?? ??????? ???? ?? ??? Setup.exe ?? ????? Framework redistributable ????? (Dotnetfx.exe)? .NET Framework ??????? ??, ?? ??? ?? Setup.exe ???? ????????? ?? ??? ??????? ?????? ??????? ?? ???? ???

.NET Framework ?? ??????? ???? ?? ??? ??????????

??? ??????????? ?????????? ???? Dotnetfx.exe ?? ??????? ???? ?? ??? ???? ???? ?????? ???? ?? Microsoft Internet Explorer 5.01 ?? ????? ???????? ???????? ??? ?? ??? ?? ???? ?????? ?? ?? ??? ??? ???? ???????? ?? ??????? ????:
  • Microsoft Windows 98
  • Microsoft Windows 98 Second Edition
  • Microsoft Windows Millennium ??????? (Windows Me)
  • ?????? ??? 6a ?? ??? Microsoft Windows NT 4.0 (?????????? ?? ?????)
  • Microsoft Windows 2000 (??????????, ?????, ?? ????? ?????) ?????????? ?????? ?????? Microsoft ??????? ??????? ?? ?? ?????? Windows ?????? ??? ?? ???
  • Microsoft Windows XP (?? ?? ??????????)
  • Microsoft Windows Server 2003 ??????
???? ????????? ?????????? ?? ???? ?? ?? (?? ??????? ?????) ????? ??? ??:
  • MDAC 2.6 ?? ???? ????? ?? ???, ????????? ???? ????? ??? ???? ?? ?????? ???
  • ????? Windows ?? ??? WMI instrumentation, ??????? ?????? ?? ??????

.NET Framework ?? ???????? ??? ?? ??????? ????

  1. .NET Framework redistributable ????? ??????? ????:
    • .NET Framework redistributable ?????? ?? ??????? ???? ?? ??? ????? Microsoft ??? ???? ?? ????:
      HTTP://msdn2.Microsoft.com/en-us/netframework/aa731542.aspx (http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx)
      -??-
    • Windows ?? redistributable ????? ??????? ??? ?????? CD-ROM ?? DVD-ROM. Wcu\dotNetFramework ??? ????? ?? ?? ????????
  2. .NET Framework ?? ??????? ???? ?? ??? Dotnetfx.exe ??????
  3. Visual Studio .NET ????????? ??? ?? ???????? ???? ??, ??? ?? ???? ???? ??????? ?? ?????? ?? ???? ???? ?? ??? ????? Windows ??????? ???? ?? ??? ?? MDAC 2.6 ?? ?????? ??????? ??????? ???
.NET Framework Redistributable ????? ?? ???? ??? ???????? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
308488  (http://support.microsoft.com/kb/308488/EN-US/ ) ???????: ??????? ?? .NET Framework ???????

???? Visual Studio .NET ????????? ?? ??? .NET Framework ?????? ???? ?? ??? Setup.exe ?? ????? ????

?? ???? ?? ?? ???? ????????? ?? ????? ???? .NET Framework redistributable ????? ???? ??????? ???? ??? ??, ?? ???? ??? ???? Visual Studio .NET ????????? ?? ??? ??????? ?????? (.msi ?????) ??????? ???? ??? Setup.exe bootstrapping ????????? ?? ??? ???? ?? ??? ???? demonstrate ???? ?? ??? MSDN ???? ?? ?????? ?? ?? ?? ????? ??? Change the Settings file (Settings.ini) to specify the locations of the redistributable package and your application installer. For more information about how to include the .NET Framework with your package, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx (http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx)

Prepare Your Deployment Project for Use with the Setup.exe Bootstrapping Application Sample

To use the Setup.exe bootstrapping application sample with an installer that you created by using Visual Studio .NET deployment tools, you must prepare the deployment project for this scenario to work correctly. By default, a deployment project includes a Windows Installer bootstrapping application. However, the .NET Framework redistributable also includes a Windows Installer bootstrapping application. You must remove the installer bootstrapping application from your project. ??? ???? ?? ???, ????? ????? ?? ???? ????::
  1. In Solution Explorer, click the deployment project.
  2. ????? ????????????????? ??,???.
  3. ???????? ?????dialog box, set theBootstrapper???? ?? ??? ?????? ????.
  4. ????? ????????????? ??,?????? ?????.
  5. Copy the Windows Installer file (.msi) to the deployment location (for example, a folder on a CD-ROM or a network share).
  6. Copy the Setup.exe bootstrapping application sample and the Settings.ini file that you downloaded in the "Use Setup.exe to Distribute the .NET Framework with Your Visual Studio .NET Application" section to the deployment location, and then follow the steps in the "Customize the Settings.ini File" section

Customize the Settings.ini File

  1. Open the Settings.ini file in a text editor (such as Notepad).
  2. ??????Msi=FxCopSourceSetup.msientry, and then replace the default path with the path of your .msi file, as in the following examples:
    • When mySetup.msi is located on the local computer in the same folder as Setup.exe, the path is Msi=mySetup.msi.
    • When the mySetup.msi is located on a network share in a folder named myProjectFolder, the path is Msi=\\myNetworkShare\myProjectFolder\mySetup.msi.
    • When mySetup.msi is located in a folder named myInstallerFiles, on the same CD-ROM as Setup.exe, the path is Msi=myInstallerFiles/mySetup.msi.
  3. ??????FxInstallerPath=c:?????????:. Replace the default path with the correct path of the .NET Framework redistributable package, Dotnetfx.exe, as in the following examples:
    • When Dotnetfx.exe is located on the local computer in a folder named myProjectFolder, the path is FxInstallerPath=c:\myProjectFolder\.
    • When Dotnetfx.exe is located on a network share in a folder named myProjectFolder, the path is FxInstallerPath=\\myNetworkShare\myProjectFolder\.
    • When Dotnetfx.exe is located in a folder named myExecutables, on the same CD-ROM as Setup.exe, the path is FxInstallerPath=myExecutables/.
  4. To verify what build number and language version of the .NET Framework is installed, specify the language in the Settings.ini file. By default, if you do not specify a language for the LanguageDirectory variable, Setup.exe verifies that the English version is installed.
  5. Save the Settings.ini file.

??????

For more information, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms994427.aspx (http://msdn2.microsoft.com/en-us/library/ms994427.aspx)

???? ???? ???? ??:
  • Microsoft .NET Framework 1.0
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft .NET Framework 1.1
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Professional Edition
??????: 
kberrmsg kbdeployment kbpackage kbhowtomaster kbhowto kbredistribution kbmt KB324733 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:324733  (http://support.microsoft.com/kb/324733/en-us/ )