blob: 77102c0fe415617b90d903302d11f41b6aead99d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolset.Core.Burn.Bundles
{
using System;
using WixToolset.Data;
/// <summary>
/// Initializes package state from the Exe contents.
/// </summary>
internal class ProcessExePackageCommand
{
#if TODO
public RowDictionary<WixBundlePayloadRow> AuthoredPayloads { private get; set; }
public PackageFacade Facade { private get; set; }
/// <summary>
/// Processes the Exe packages to add properties and payloads from the Exe packages.
/// </summary>
public void Execute()
{
WixBundlePayloadRow packagePayload = this.AuthoredPayloads.Get(this.Facade.Package.PackagePayload);
if (String.IsNullOrEmpty(this.Facade.Package.CacheId))
{
this.Facade.Package.CacheId = packagePayload.Hash;
}
this.Facade.Package.Version = packagePayload.Version;
}
#endif
}
}
|