Skip to content

Commit

Permalink
- Fixed payload serialization problem for ExePackage
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-shilo committed Aug 9, 2017
1 parent 3078433 commit 7db891c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/src/WixSharp/Bootstrapper/Packages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public override XContainer[] ToXml()
.Add(this.MapToXmlAttributes());

if (Payloads.Any())
Payloads.ForEach(p => root.Add(new XElement("Payload", new XAttribute("SourceFile", p))));
Payloads.ForEach(p => root.Add(p.ToXElement("Payload")));

foreach (var exitCode in ExitCodes)
{
Expand Down

0 comments on commit 7db891c

Please sign in to comment.