diff options
Diffstat (limited to 'src/ext/Util')
-rw-r--r-- | src/ext/Util/wixext/UtilDecompiler.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ext/Util/wixext/UtilDecompiler.cs b/src/ext/Util/wixext/UtilDecompiler.cs index 1f3079d8..55323e15 100644 --- a/src/ext/Util/wixext/UtilDecompiler.cs +++ b/src/ext/Util/wixext/UtilDecompiler.cs | |||
@@ -435,11 +435,15 @@ namespace WixToolset.Util | |||
435 | { | 435 | { |
436 | foreach (var row in table.Rows) | 436 | foreach (var row in table.Rows) |
437 | { | 437 | { |
438 | this.DecompilerHelper.AddElementToRoot(UtilConstants.GroupName, | 438 | var group = new XElement(UtilConstants.GroupName, |
439 | new XAttribute("Id", row.FieldAsString(0)), | 439 | new XAttribute("Id", row.FieldAsString(0)), |
440 | new XAttribute("Name", row.FieldAsString(2)), | 440 | new XAttribute("Name", row.FieldAsString(2)), |
441 | AttributeIfNotNull("Domain", row, 3) | 441 | AttributeIfNotNull("Domain", row, 3) |
442 | ); | 442 | ); |
443 | |||
444 | this.DecompilerHelper.AddElementToRoot(group); | ||
445 | |||
446 | this.DecompilerHelper.IndexElement(row, group); | ||
443 | } | 447 | } |
444 | } | 448 | } |
445 | /// <summary> | 449 | /// <summary> |