Deploying the .NET Framework Using Systems Management Server
Note This topic applies only to the .NET Framework version 1.0 redistributable package. For information about deploying the .NET Framework version 1.1 core redistributable, see the .NET Framework Deployment Guide Web site at www.msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/dotnetframedepguid.asp.
Microsoft Systems Management Server allows you to deploy software with administrative privileges across a network. This section describes the specific procedures for using Systems Management Server to deploy the Windows Installer setup package for Dotnetfx.exe across a network. For additional Systems Management Server product information and documentation, see the Systems Management Server Home Page (www.microsoft.com/smserver/default.asp) and the Microsoft TechNet article "Deploying Windows Installer Setup Packages with Systems Management Server 2.0" at www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/sms/deploy/depovg/deplymsi.asp?frame=true.
To deploy the .NET Framework redistributable package, Dotnetfx.exe, with administrator privileges, you must extract the Windows Installer file, Netfx.msi, from the Dotnetfx.exe file. Netfx.msi is the file you must use to deploy the .NET Framework. After you extract Netfx.msi, you can run the Systems Management Server Administrator console from the network administrator computer and configure it to deploy Dotnetfx.exe on a selected group of computers on the network.
Before you can install a Windows Installer setup package on a Systems Management Server client computer, the client computer must have the Windows Installer installation service installed. The procedures described in this section assume that Windows Installer 2.0 is installed on all client computers prior to the deployment of Netfx.msi. The network administrator is responsible for ensuring that all client computers meet this requirement. You can use Systems Management Server to install Windows Installer 2.0 on client computers. For more information, see "Deploying Windows Installer Setup Packages with Systems Management Server 2.0."
After the network administrator has ensured that all networked computers on which Dotnetfx.exe will be installed meet the minimum configuration requirements, the following five tasks and their individual procedures must be performed on the server running Systems Management Server. These procedures must be performed in the order in which they are presented.
First, extract the Windows Installer file, Netfx.msi, from the Dotnetfx.exe file. Netfx.msi is the file used to deploy the .NET Framework.
To extract the Dotnetfx.exe file to deploy
- Download Dotnetfx.exe to the root directory of drive C on the server running Systems Management Server.
- Open a command prompt.
- Change the directory to the root of drive C.
- Type mkdir dotnetfx at the command prompt to create a directory in which to copy Dotnetfx.exe.
- Type dotnetfx.exe /T:c:\dotnetfx /C at the command prompt to extract the files to the dotnetfx directory.
Next, create a Systems Management Server package for the .NET Framework. A Systems Management Server package is the basic unit of software distribution. It contains the source files for the program and the details that direct the software distribution process.
To create a .NET Framework package
- Open the Systems Management Server Administrator console. Click the Start button, point to Programs, and choose Systems Management Server.
- Expand the Site Database node, and right-click the Packages node in the Site Database tree.
- From the Action menu, point to New, and choose Package. The Package Properties dialog box is displayed.
- In the Package Properties dialog box, complete the information in the General tab as follows:
- Type .NET Framework in the Name section.
- Type 1.0.3429.0 in the Version section.
- Type Microsoft in the Publisher section.
- Type English in the Language section.
- In the Package Properties dialog box, click the Data Source tab.
- Select the This package contains source files check box.
- Select the Always obtain files from source directory option.
- Click the Set button. The Set Source Directory dialog box is displayed.
- In the Set Source Directory dialog box, select the Local drive on site server option.
- Click the Browse button. The Browse for Folder dialog box is displayed.
- Select the C:\DotNetFx directory, where you extracted the files to previously.
- In the Browse for Folder dialog box, click OK.
- In the Set Source Directory dialog box, click OK.
- In the Package Properties dialog box, click OK.
Next, create a .NET Framework program for the .NET Framework package. Each Systems Management Server package contains at least one Systems Management Server program, which is a command line that runs on each targeted computer to control the execution of the package.
To create a program for the .NET Framework package
- Expand the Microsoft .NET Framework 1.0.3529.0 English node, located under the Packages node.
- Right-click Programs, point to New, and choose Program. The Program Properties dialog box is displayed.
- In the Program Properties dialog box, complete the information in the General tab as follows:
- Type .NET Framework Program in the Name section.
- Type msiexec /i netfx.msi /q ARPSYSTEMCOMPONENT=1 ARPNOREMOVE=1 in the Command line section.
- In the Program Properties dialog box, click the Environment tab.
- Clear the User input required check box.
- Select the Run with administrative rights option.
- Click OK.
Next, create a distribution point for the .NET Framework package. Systems Management Server Distribution Points are shares on site systems where package source files are copied for access by client computers.
To create a .NET Framework distribution point
- Right-click Distribution Points, located under the Microsoft .NET Framework 1.0.3529.0 English node.
- Select New, and choose Distribution Points. The New Distribution Points Wizard appears.
- In the New Distribution Points Wizard, click Next.
- Select the distribution point to which you want to copy the .NET Framework package.
- Click Finish to start the distribution.
Finally, create an advertisement for the .NET Framework program. An advertisement specifies the program that is available to client computers, which computers will receive the advertisement, and when the program will be scheduled for installation.
To create a .NET Framework advertisement
- In the Site Database tree, right-click the Advertisements node
- Select New, and choose Advertisement. The Advertisement Properties dialog box is displayed.
- In the Advertisement Properties dialog box, complete the information in the General tab as follows:
- Type .NET Framework Advertisement in the Name section.
- Select Microsoft .NET Framework 1.0.3529.0 English from the Package drop-down list.
- Select .NET Framework Program from the Program drop-down list.
- Click the Browse button and select the appropriate collection of computers on which to deploy the .NET Framework. To determine the computers to which you can deploy the .NET Framework, see Minimum Configuration Requirements.
- Click OK.