Files
windows-builder/setup-media-template/sources/replacementmanifests/microsoft-certificateservices-ca-serverupgrade-replacement.man
2026-06-02 03:37:09 -07:00

56 lines
2.0 KiB
Groff

<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v3"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
manifestVersion="1.0"
>
<assemblyIdentity
language="neutral"
name="Microsoft-CertificateServices-CA-ServerUpgrade-Replacement"
processorArchitecture="*"
version="1.0.0.0"
versionScope="nonSxS"
/>
<migration
alwaysProcess="yes"
replacementSettingsVersionRange="0"
replacementVersionRange="6.1.*"
settingsVersion="0"
>
<migXml xmlns="">
<rules context="System">
<include>
<objectSet>
<pattern type="Registry">HKLM\Software\Microsoft\ADCS\CertificateAuthority [ConfigurationStatus]</pattern>
</objectSet>
</include>
</rules>
<rules context="System">
<detects>
<detect>
<!-- Detection of CA. This is consistent with -DL manifest for CA. -->
<condition>MigXmlHelper.DoesObjectExist("Registry", "HKLM\SYSTEM\CurrentControlSet\Services\CertSvc\Security")</condition>
</detect>
<detect>
<!-- If the registry key doesn't exist, put a DWORD value of 2 -->
<condition negation="Yes">MigXmlHelper.DoesObjectExist("Registry", "HKLM\Software\Microsoft\ADCS\CertificateAuthority [ConfigurationStatus]")</condition>
</detect>
</detects>
<addObjects>
<object>
<location type="Registry">HKLM\Software\Microsoft\ADCS\CertificateAuthority [ConfigurationStatus]</location>
<attributes>Dword</attributes>
<bytes>02000000</bytes>
</object>
</addObjects>
<include>
<objectSet>
<pattern type="Registry">HKLM\Software\Microsoft\ADCS\CertificateAuthority [ConfigurationStatus]</pattern>
</objectSet>
</include>
</rules>
</migXml>
</migration>
</assembly>