Re-add IParseHelper.GetAttributeMsidbRegistryRootValue()
Rob Mensching committed
Dec 29, 2017 at 21:47 UTC
5e0736223c10b443c9b4ca9a70148ff1efb8032f
1 file changed
+9
src/WixToolset.Extensibility/Services/IParseHelper.cs
+9
@@ -218,6 +218,15 @@ namespace WixToolset.Extensibility.Services
218
/// <returns>The attribute's long filename value.</returns>
219
string GetAttributeLongFilename(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowWildcards = false, bool allowRelative = false);
220
221
+ /// <summary>
222
+ /// Gets a RegistryRoot as a MsiInterop.MsidbRegistryRoot value and displays an error for an illegal value.
223
+ /// </summary>
224
+ /// <param name="sourceLineNumbers">Source line information about the owner element.</param>
225
+ /// <param name="attribute">The attribute containing the value to get.</param>
226
+ /// <param name="allowHkmu">Whether HKMU is returned as -1 (true), or treated as an error (false).</param>
227
+ /// <returns>The attribute's RegisitryRootType value.</returns>
228
+ int GetAttributeMsidbRegistryRootValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowHkmu);
229
+
230
/// <summary>
231
/// Gets a version value or possibly a binder variable and displays an error for an illegal version value.
232
/// </summary>