From 49f1209035aac1fcfad5dbbe25f7b2306d3be86c Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 7 Dec 2017 14:19:05 -0800 Subject: Support MSI backends creating custom tables and remove WixToolset.Data.WindowsInstaller --- .../Inscribe/InscribeMsiPackageCommand.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Inscribe/InscribeMsiPackageCommand.cs') diff --git a/src/WixToolset.Core.WindowsInstaller/Inscribe/InscribeMsiPackageCommand.cs b/src/WixToolset.Core.WindowsInstaller/Inscribe/InscribeMsiPackageCommand.cs index 58384325..5c56d9aa 100644 --- a/src/WixToolset.Core.WindowsInstaller/Inscribe/InscribeMsiPackageCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Inscribe/InscribeMsiPackageCommand.cs @@ -9,7 +9,9 @@ namespace WixToolset.Core.WindowsInstaller.Inscribe using System.Runtime.InteropServices; using System.Security.Cryptography.X509Certificates; using WixToolset.Core.Native; + using WixToolset.Core.WindowsInstaller.Bind; using WixToolset.Data; + using WixToolset.Data.WindowsInstaller; using WixToolset.Extensibility; using WixToolset.Msi; @@ -250,13 +252,19 @@ namespace WixToolset.Core.WindowsInstaller.Inscribe if (digitalCertificateTable.Rows.Count > 0) { - database.ImportTable(codepage, digitalCertificateTable, this.Context.IntermediateFolder, true); + var command = new CreateIdtFileCommand(digitalCertificateTable, codepage, this.Context.IntermediateFolder, true); + command.Execute(); + + database.Import(command.IdtPath); shouldCommit = true; } if (digitalSignatureTable.Rows.Count > 0) { - database.ImportTable(codepage, digitalSignatureTable, this.Context.IntermediateFolder, true); + var command = new CreateIdtFileCommand(digitalSignatureTable, codepage, this.Context.IntermediateFolder, true); + command.Execute(); + + database.Import(command.IdtPath); shouldCommit = true; } -- cgit v1.2.3-55-g6feb