Partager via


Component Installation and Removal

Applies To: Windows Server 2008

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.

Events

Event ID Source Message

1

Microsoft-Windows-OcSetup

The Windows component "%1" was successfully installed. (Command line: "%2")

2

Microsoft-Windows-OcSetup

The Windows component "%1" was successfully uninstalled. (Command line: "%2")

3

Microsoft-Windows-OcSetup

The Windows component "%1" could not be configured. The component installer returned an error: %2 "%3" (Command line: "%4")

4

Microsoft-Windows-OcSetup

The Windows component could not be configured because of an error: %1 "%2" (Command line: "%3")

Optional Component and Package Setup

Setup Infrastructure