diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-23 12:11:30 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-23 12:43:38 +1000 |
| commit | 05edba00dc08b74a6d9b32b4e56f4da6ef90c638 (patch) | |
| tree | 734cf99cfc7e8f105365981169d7882a4400070d /src/wixext | |
| parent | d686f0d92fc14940441dbf53c28547a975572f92 (diff) | |
| download | wix-05edba00dc08b74a6d9b32b4e56f4da6ef90c638.tar.gz wix-05edba00dc08b74a6d9b32b4e56f4da6ef90c638.tar.bz2 wix-05edba00dc08b74a6d9b32b4e56f4da6ef90c638.zip | |
Update BalBurnBackendExtension to use BundleFinalize.
Diffstat (limited to 'src/wixext')
| -rw-r--r-- | src/wixext/BalBurnBackendExtension.cs | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/wixext/BalBurnBackendExtension.cs b/src/wixext/BalBurnBackendExtension.cs index e1082889..71cd2d92 100644 --- a/src/wixext/BalBurnBackendExtension.cs +++ b/src/wixext/BalBurnBackendExtension.cs | |||
| @@ -9,21 +9,14 @@ namespace WixToolset.Bal | |||
| 9 | using WixToolset.Data.Burn; | 9 | using WixToolset.Data.Burn; |
| 10 | using WixToolset.Data.Tuples; | 10 | using WixToolset.Data.Tuples; |
| 11 | using WixToolset.Extensibility; | 11 | using WixToolset.Extensibility; |
| 12 | using WixToolset.Extensibility.Data; | ||
| 13 | 12 | ||
| 14 | public class BalBurnBackendExtension : BaseBurnBackendExtension | 13 | public class BalBurnBackendExtension : BaseBurnBackendExtension |
| 15 | { | 14 | { |
| 16 | public override void PostBackendBind(IBindResult result) | 15 | public override void BundleFinalize() |
| 17 | { | 16 | { |
| 18 | base.PostBackendBind(result); | 17 | base.BundleFinalize(); |
| 19 | 18 | ||
| 20 | if (result.Wixout == null) | 19 | var intermediate = this.Context.IntermediateRepresentation; |
| 21 | { | ||
| 22 | this.Messaging.Write(new Message(null, MessageLevel.Warning, 1, "BurnBackend didn't provide Wixout so skipping BalExtension PostBind verification.")); | ||
| 23 | return; | ||
| 24 | } | ||
| 25 | |||
| 26 | var intermediate = Intermediate.Load(result.Wixout); | ||
| 27 | var section = intermediate.Sections.Single(); | 20 | var section = intermediate.Sections.Single(); |
| 28 | 21 | ||
| 29 | var baTuple = section.Tuples.OfType<WixBootstrapperApplicationTuple>().SingleOrDefault(); | 22 | var baTuple = section.Tuples.OfType<WixBootstrapperApplicationTuple>().SingleOrDefault(); |
