private static StringCollection GetTypes() { StringCollection types = new StringCollection(); ArrayList xmlElements = WixFiles.GetXsdAllElementNames(); foreach (XmlNode xmlElement in xmlElements) { XmlAttribute nameAtt = xmlElement.Attributes["name"]; if (nameAtt != null) { if (nameAtt.Value != null && nameAtt.Value.Length > 0) { XmlNode deprecated = xmlElement.SelectSingleNode("xs:annotation/xs:appinfo/xse:deprecated", WixFiles.GetXsdNsmgr()); if (deprecated != null) { if (types.Contains("deprecated_" + nameAtt.Value) == false) { types.Add("deprecated_" + nameAtt.Value); } } else if (types.Contains(nameAtt.Value) == false) { types.Add(nameAtt.Value); } } } } types.AddRange(new string[] { "Billboard", "Bitmap", "CheckBox", "ComboBox", "DirectoryCombo", "DirectoryList", "Edit", "GroupBox", "Icon", "Line", "ListBox", "ListView", "MaskedEdit", "PathEdit", "ProgressBar", "PushButton", "RadioButtonGroup", "ScrollableText", "SelectionTree", "Text", "VolumeCostList", "VolumeSelectCombo" }); return(types); }