summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-08-13 18:25:26 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-08-13 18:27:21 +0200
commitf0efd786d460e7f3f06e81695e469a812b33a7aa (patch)
treec9d9733f7ec0b3d39e30f90abd29064cd0cb73b9
parentcc3b74cd9b0e540088f9e83374774535b0f42267 (diff)
downloadmsitools-f0efd786d460e7f3f06e81695e469a812b33a7aa.tar.gz
msitools-f0efd786d460e7f3f06e81695e469a812b33a7aa.tar.xz
msitools-f0efd786d460e7f3f06e81695e469a812b33a7aa.zip
wixl: add Signature table
This helps to fix AppSearch when uninstalling
-rw-r--r--tools/wixl/msi.vala11
1 files changed, 11 insertions, 0 deletions
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<string, MsiTable> 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,