Deploying the .NET Framework 2.0 Using Systems Management Server 2.0

 

Microsoft Corporation

March 2006

Applies to:
.NET Framework 2.0

Summary: This article describes deployment scenario for .NET Framework 2.0 using Systems Management Server (SMS). (3 printed pages)

Introduction

Systems Management Server (SMS) allows you to deploy software with administrative privileges across a network. This section describes the specific procedures for using SMS to deploy the Windows Installer setup package for dotnetfx.exe across a network. For additional SMS product information and documentation, see the Systems Management Server home page and Deploying Windows Installer Setup Packages with Systems Management Server 2.0.

In addition, there are minimum configuration requirements that must be met in order to install the .NET Framework on a computer. For specific software and hardware requirements and recommendations, see the Minimum Configuration Requirements.

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 SMS Server. These procedures must be performed in the order in which they are presented.

Extract the Dotnetfx.exe Files to Deploy the .NET Framework

First step is to extract files contained in redistributable dotnetfx.exe file.

  1. Download Dotnetfx.exe to the root directory of the C drive on your local computer.

  2. Open a command prompt.

  3. Change the directory to the root of the C drive, type:

    c:
    cd \ 
    
  4. From the command prompt to create a directory in which to copy dotnetfx.exe, type:*
    mkdir dotnetfx

  5. Extract the files to the dotnetfx directory, type:
    dotnetfx.exe /q /c:"msiexec /qb /a netfx.msi TARGETDIR=c:\dotnetfx"

  6. Close the command prompt window.

  7. Navigate to the C:\dotnetfx folder in Windows Explorer and verify that the files were extracted.

  8. Move the dotnetfx folder and all its contents to the server that you will use for deployment.

Create a .NET Framework Package

After you have moved the dotnetfx folder to the proper location for deployment, the next step is to create an SMS package for the .NET Framework.

  1. Open the SMS Administrator console. Click Start, point to Programs, and choose Systems Management Server.

  2. Expand the Site Database node, and right-click the Packages node in the Site Database tree.

  3. From the Action menu, point to New, and choose Package. The Package Properties dialog box is displayed.

  4. In the Package Properties dialog box, click the General tab and complete the information as follows:

    Name: .NET Framework
    Version: 2.0.50727
    Publisher: Microsoft
    Language: English

  5. In the Package Properties dialog box, click the Data Source tab.

  6. Click the This package contains source files check box.

  7. Click the Always obtain files from source directory option button.

  8. Click the Set button. The Set Source Directory dialog box is displayed.

  9. In the Set Source Directory dialog box, click the Local drive on site server OR Network Path (UNC Name) option button. (This depends on how you want to share out the deployable program.)

  10. Click the Browse button. The Browse for Folder dialog box is displayed.

  11. Select the C:\DotNetFx directory or provide the server location (\\<servername>\<foldername>), where you extracted the files to previously.

  12. In the Browse for Folder dialog box, click OK.

  13. In the Set Source Directory dialog box, click OK.

  14. In the Package Properties dialog box, click OK.

Create a Program for the .NET Framework Package

Next, create a .NET Framework program for the .NET Framework package. Each SMS package contains at least one SMS program, which is a command line that runs on each targeted computer to control the execution of the package.

  1. Expand the Microsoft .NET Framework <version#> English node, located under the Packages node.

  2. Right-click Programs, point to New, and choose Program. The Program Properties dialog box is displayed.

  3. In the Program Properties dialog box, click the General tab and complete the information as follows:

    Name: .NET Framework Program
    Command line:msiexec /i netfx.msi /q ARPSYSTEMCOMPONENT=1

    Optional arguments ARPNOREMOVE=1

  4. In the Program Properties dialog box, click the Environment tab.

  5. Clear the User input required check box.

  6. Click the option button Run with administrative rights.

  7. Click OK.

Create a .NET Framework Distribution Point

Next, create a distribution point for the .NET Framework package. SMS Distribution Points are shares on site systems where package source files are copied for access by client computers.

  1. Right-click Distribution Points, located under the Microsoft .NET Framework <version#> English node.
  2. Select New, and choose Distribution Points. The New Distribution Points Wizard appears.
  3. In the New Distribution Points Wizard dialog box, click the Next button.
  4. Select the distribution point to which you want to copy the .NET Framework package.
  5. Click Finish to start the distribution.

Create a .NET Framework Advertisement

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.

Note You could set a schedule before creating an ASSIGNMENT, which helps in setting a time for when the package will be deployed on target machines. It can be set by going to the Schedule tab and creating a mandatory assignment for the current time (or schedule one for later time).

  1. In the Site Database tree, right-click the Advertisements node.

  2. Select New, and choose Advertisement. The Advertisement Properties dialog box is displayed.

  3. In the Advertisement Properties dialog box, complete the information in the General tab as follows:

    Type .NET Framework Advertisement in the Name section.

  4. Select Microsoft .NET Framework <version#> English from the Package drop-down list.

  5. Select .NET Framework Program from the Program drop-down list.

  6. Click the Browse button and select the appropriate collection of computers on which to deploy the .NET Framework.

  7. Click OK.