Optional Component and Package Setup

Applies To: Windows Server 2008

Optional Component Setup (OCSetup.exe) is a command-line tool that installs and uninstalls Windows optional components. This tool replaces Sysocmgr.exe.

You can use OCSetup.exe to install, update, and remove Windows Installer (MSI) components and Component-Based Servicing (CBS) components. OCSetup.exe passes CBS components to Package Manager for installation, and passes MSI components to Windows Installer for installation. By using the /x command-line option, you can use OCSetup to install components using custom installers.

Note: You should use Server Manager to install components and server roles on full installations of Windows Server 2008—not OCSetup using the command line. However, you should use OCSetup to install components and server roles on servers with a Server Core installation of Windows Server 2008.

More information:

For more information about Package Manager, see https://go.microsoft.com/fwlink/?LinkId=91915.

For more information about OCSetup, see https://go.microsoft.com/fwlink/?LinkId=91916.

Managed Entities

The following is a list of the managed entities that are included in this managed entity:

Name Description

Package Manager

Package Manager is a tool that installs or removes packages or Windows components. It is called by Windows Setup during normal installation, including unattended installation, and runs transparently while updating or installing Windows. For unattended installation of hotfixes or other updates, you must run Package Manager manually at a command prompt.

You can also use Package Manager for enabling or disabling optional features and servicing an offline Windows image. For more information about Package Manager, see https://go.microsoft.com/fwlink/?LinkId=91915.

Aspects

The following is a list of all aspects that are part of this managed entity:

Name Description

Component Installation and Removal

You can use Optional Component Setup (OCSetup.exe) to install optional components in Windows Vista and Server Core installations of Windows Server 2008. OCSetup.exe passes Component-Based Servicing (CBS) components to Package Manager for installation, and OCSetup.exe passes system Windows Installer (MSI) components to Windows Installer for installation. You can also call Package Manager directly to install components independently from OCSetup.exe. For more information about OCSetup, see https://go.microsoft.com/fwlink/?LinkId=91916.

Setup Infrastructure