From f0efd786d460e7f3f06e81695e469a812b33a7aa Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Tue, 13 Aug 2013 18:25:26 +0200 Subject: wixl: add Signature table This helps to fix AppSearch when uninstalling --- tools/wixl/msi.vala | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tools') diff --git a/tools/wixl/msi.vala b/tools/wixl/msi.vala index 7c0e570..61e34d3 100644 --- a/tools/wixl/msi.vala +++ b/tools/wixl/msi.vala @@ -597,6 +597,14 @@ namespace Wixl { } } + class MsiTableSignature : MsiTable { + static construct { + name = "Signature"; + + sql_create = "CREATE TABLE `Signature` (`Signature` CHAR(72) NOT NULL, `FileName` CHAR(255) NOT NULL, `MinVersion` CHAR(20), `MaxVersion` CHAR(20), `MinSize` LONG, `MaxSize` LONG, `MinDate` LONG, `MaxDate` LONG, `Languages` CHAR(255) PRIMARY KEY `Signature`)"; + } + } + class MsiTableAppSearch : MsiTable { static construct { name = "AppSearch"; @@ -780,6 +788,7 @@ namespace Wixl { public MsiTableCustomAction table_custom_action; public MsiTableRegLocator table_reg_locator; public MsiTableCreateFolder table_create_folder; + public MsiTableSignature table_signature; public HashTable tables; @@ -841,6 +850,7 @@ namespace Wixl { table_upgrade = new MsiTableUpgrade (); table_launch_condition = new MsiTableLaunchCondition (); table_app_search = new MsiTableAppSearch (); + table_signature = new MsiTableSignature (); table_custom_action = new MsiTableCustomAction (); table_reg_locator = new MsiTableRegLocator (); table_create_folder = new MsiTableCreateFolder (); @@ -869,6 +879,7 @@ namespace Wixl { table_upgrade, table_launch_condition, table_app_search, + table_signature, table_custom_action, table_reg_locator, table_create_folder, -- cgit