<?xml version="1.0" encoding="UTF-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v3" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<assemblyIdentity buildType="release" language="neutral" name="Microsoft-Windows-CmiSetup-Instrumentation" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" version="6.1.7601.17514" versionScope="nonSxS"></assemblyIdentity>
	<registryKeys>
		<!-- CmiSetup Provider -->
		<registryKey keyName="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\Microsoft-Windows-Setup\{75EBC33E-0CC6-49da-8CD9-8903A5222AA0}">
			<registryValue name="Enabled" value="1" valueType="REG_DWORD"></registryValue>
			<registryValue name="EnableLevel" value="4" valueType="REG_DWORD"></registryValue>
		</registryKey>
	</registryKeys>
	<instrumentation xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" xmlns:xs="http://www.w3.org/2001/XMLSchema">
		<events xmlns:auto-ns1="urn:schemas-microsoft-com:asm.v3" xmlns="http://schemas.microsoft.com/win/2004/08/events">
			<!--
           * Microsoft Windows CmiSetup Provider *
           Author: jasontho (Jason Thorsness)
      -->
			<provider guid="{75EBC33E-0CC6-49da-8CD9-8903A5222AA0}" message="$(string.CmiSetup.ProviderMessage)" messageFileName="%SystemRoot%\system32\oobe\CmiSetup.dll" name="Microsoft-Windows-CmiSetup" resourceFileName="%SystemRoot%\system32\oobe\CmiSetup.dll" symbol="Microsoft_Windows_CmiSetup">
				<channels>
					<channel chid="chaCmiSetupAnalytic" name="Microsoft-Windows-CmiSetup/Analytic" type="Analytic"></channel>
					<!-- This is the official Setup channel as seen in the Event Viewer.  
               This channel can only be used in the First Boot phase. -->
					<importChannel chid="chaSetup" name="Setup"></importChannel>
				</channels>
				<keywords>
					<!-- Events with the Performance keyword come in opcode=win:start/win:stop pairs 
               with the same task name.  An individual thread will complete once instance of
               a task with a particular type before starting a new one. -->
					<keyword mask="0x00000001" message="$(string.Performance.KeywordMessage)" name="keyPerformance"></keyword>
				</keywords>
				<templates>
					<template tid="tidErrorCodeResult">
						<data inType="win:UInt32" name="ErrorCode"></data>
					</template>
				</templates>
				<tasks>
					<task eventGUID="{C719CE52-9545-4c08-ACA8-0F3C42B6B9DE}" message="$(string.CmiConfigInstall.TaskMessage)" name="tskCmiConfigInstall" value="1000"></task>
					<task eventGUID="{6FA8AEBF-3323-4231-BFFD-DC0B54D6A73F}" message="$(string.CmiConfigInstallWork.TaskMessage)" name="tskCmiConfigInstallWork" value="2000"></task>
					<task eventGUID="{CD5F25F1-1717-4c21-8818-8DB698303259}" message="$(string.CbsDoOnlineInstall.TaskMessage)" name="tskCbsDoOnlineInstall" value="3000"></task>
				</tasks>
				<events>
					<!-- Official CmiSetup Channel (Will show up in the Event Viewer) Events -->
					<!-- CmiSetup Analytic Events -->
					<!-- CmiConfigInstall -->
					<event channel="chaCmiSetupAnalytic" keywords="keyPerformance" level="win:Informational" message="$(string.CmiConfigInstall.StartMessage)" opcode="win:Start" symbol="CmiConfigInstallStart" task="tskCmiConfigInstall" value="1001"></event>
					<event channel="chaCmiSetupAnalytic" keywords="keyPerformance" level="win:Informational" message="$(string.CmiConfigInstall.StopMessage)" opcode="win:Stop" symbol="CmiConfigInstallStop" task="tskCmiConfigInstall" template="tidErrorCodeResult" value="1002"></event>
					<!-- CmiConfigInstallWork -->
					<event channel="chaCmiSetupAnalytic" keywords="keyPerformance" level="win:Informational" message="$(string.CmiConfigInstallWork.StartMessage)" opcode="win:Start" symbol="CmiConfigInstallWorkStart" task="tskCmiConfigInstallWork" value="2001"></event>
					<event channel="chaCmiSetupAnalytic" keywords="keyPerformance" level="win:Informational" message="$(string.CmiConfigInstallWork.StopMessage)" opcode="win:Stop" symbol="CmiConfigInstallWorkStop" task="tskCmiConfigInstallWork" template="tidErrorCodeResult" value="2002"></event>
					<!-- CbsDoOnlineInstall -->
					<event channel="chaCmiSetupAnalytic" keywords="keyPerformance" level="win:Informational" message="$(string.CbsDoOnlineInstall.StartMessage)" opcode="win:Start" symbol="CbsDoOnlineInstallStart" task="tskCbsDoOnlineInstall" value="3001"></event>
					<event channel="chaCmiSetupAnalytic" keywords="keyPerformance" level="win:Informational" message="$(string.CbsDoOnlineInstall.StopMessage)" opcode="win:Stop" symbol="CbsDoOnlineInstallStop" task="tskCbsDoOnlineInstall" template="tidErrorCodeResult" value="3002"></event>
				</events>
			</provider>
		</events>
	</instrumentation>
	<localization>
		<resources culture="en-US">
			<stringTable>
				<!-- Keywords -->
				<string id="Performance.KeywordMessage" value="Performance"></string>
				<!-- Providers -->
				<string id="CmiSetup.ProviderMessage" value="Microsoft-Windows-CmiSetup"></string>
				<!-- CmiConfigInstall -->
				<string id="CmiConfigInstall.TaskMessage" value="CMI Configuration"></string>
				<string id="CmiConfigInstall.StartMessage" value="CMI Configuration Started"></string>
				<string id="CmiConfigInstall.StopMessage" value="CMI Configuration completed with status %1."></string>
				<!-- CmiConfigInstallWork -->
				<string id="CmiConfigInstallWork.TaskMessage" value="CMI Execute Changes"></string>
				<string id="CmiConfigInstallWork.StartMessage" value="Executing CMI changes."></string>
				<string id="CmiConfigInstallWork.StopMessage" value="CMI changes completed with status %1."></string>
				<!-- CbsDoOnlineInstall -->
				<string id="CbsDoOnlineInstall.TaskMessage" value="CBS Online Install"></string>
				<string id="CbsDoOnlineInstall.StartMessage" value="Performing CBS Online Install."></string>
				<string id="CbsDoOnlineInstall.StopMessage" value="CBS Online Install completed with status %1."></string>
			</stringTable>
		</resources>
	</localization>
	<cbb:debuggingInfo xmlns:cbb="urn:schemas-microsoft-com:asm.internal.v1">
		<cbb:sourceManifest sourcePath="%basedir%\base\cmi\setup\microsoft-windows-cmisetup-instrumentation.man"></cbb:sourceManifest>
	</cbb:debuggingInfo>
</assembly>
