| Previous | Next |
| WCM_E_MISSINGCONFIGURATION | WCM_E_SOURCEMANEMPTYVALUE |
WCM_E_INVALIDPROCESSORFORMAT
WCM_E_INVALIDPROCESSORFORMAT is the failure HRESULT 0x8022002A (signed decimal -2145255382, unsigned decimal 2149711914). Its severity bit is 1, facility is 34 (FACILITY_STATE_MANAGEMENT), and the facility-specific code field is 0x002A.
AllStat records the Windows SDK description as “The processor architecture attribute has an invalid value”
Interpretation without overreach
The processor architecture attribute is malformed. The operation reached manifest or target metadata parsing before architecture-specific settings can be selected. The first branch to test is whether the field uses a marketing CPU name instead of the schema token; keep that separate from the possibility that case, delimiter, or whitespace was altered by a template.
SMI object or metadata boundary
At this boundary, capture raw processorArchitecture value and XML location, then correlate it with target architecture returned by ITargetInfo. Assign ownership only after checking authoring variable before and after substitution.
Common origins
- the field uses a marketing CPU name instead of the schema token
- case, delimiter, or whitespace was altered by a template
- an empty or unresolved build variable is emitted
- a custom architecture alias is not recognized by the target SMI version
Useful artifacts
- raw processorArchitecture value and XML location
- target architecture returned by ITargetInfo
- authoring variable before and after substitution
- known-good architecture values from target component manifests
- all architecture branches included in the package
How to isolate the defect
- emit the exact schema-supported token
- fail the build when the architecture variable is empty or unknown
- do not infer architecture from file paths or process bitness alone
- validate each package architecture independently
- recompile against the intended target image
When another attempt is justified
Retry after correcting the attribute. Moving the same malformed manifest to a matching CPU does not make its syntax valid.
Related result codes
WCM_E_INVALIDDATATYPE concerns a setting’s value type. INVALIDPROCESSORFORMAT concerns the metadata selector used for target architecture.
Example from an offline image
A package generator writes “Intel 64-bit” into processorArchitecture. The human-readable label cannot be parsed as the SMI architecture token.
Developer and administrator notes
For operational telemetry, retain authoring variable before and after substitution; also record known-good architecture values from target component manifests. Preserve a redacted summary of all architecture branches included in the package; use a cryptographic hash when that evidence is a file, stream, or generated artifact.
Official Microsoft references.
- Microsoft: SMI error and success constants.
- Microsoft: Settings Management Infrastructure API.
- Microsoft: SMI interfaces.
- Microsoft: ISettingsEngine::CreateSettingsIdentity.
- Microsoft: ISettingsEngine::GetNamespace.
Looking for a different code? Search another status or error code.
