+ char *s = g_strstrip (value + 22);
+ if (!g_ascii_strcasecmp (s, "None"))
+ arch = PROCESSOR_ARCHITECTURE_NONE;
+ else if (!g_ascii_strcasecmp (s, "MSIL"))
+ arch = PROCESSOR_ARCHITECTURE_MSIL;
+ else if (!g_ascii_strcasecmp (s, "X86"))
+ arch = PROCESSOR_ARCHITECTURE_X86;
+ else if (!g_ascii_strcasecmp (s, "IA64"))
+ arch = PROCESSOR_ARCHITECTURE_IA64;
+ else if (!g_ascii_strcasecmp (s, "AMD64"))
+ arch = PROCESSOR_ARCHITECTURE_AMD64;
+ else
+ goto cleanup_and_fail;