summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-08-13 18:25:32 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-08-13 18:27:21 +0200
commit52f89268696fd61ae8e510d80bab3dc6424a1410 (patch)
treec2cd44d441e80df1c7ccb1f060632bb2ab194e15 /tools
parentf0efd786d460e7f3f06e81695e469a812b33a7aa (diff)
downloadmsitools-52f89268696fd61ae8e510d80bab3dc6424a1410.zip
msitools-52f89268696fd61ae8e510d80bab3dc6424a1410.tar.gz
msitools-52f89268696fd61ae8e510d80bab3dc6424a1410.tar.xz
wixl: schedule AppSearch when necessary
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/builder.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala
index 356652f..4de679a 100644
--- a/tools/wixl/builder.vala
+++ b/tools/wixl/builder.vala
@@ -175,7 +175,8 @@ namespace Wixl {
add (MSIDefault.Action.RemoveFolders);
add (MSIDefault.Action.CreateFolders);
}
-
+ if (db.table_app_search.records.length () > 0)
+ add (MSIDefault.Action.AppSearch);
table.add_sorted_actions ();
// InstallUISequence
@@ -191,6 +192,8 @@ namespace Wixl {
}
if (db.table_launch_condition.records.length () > 0)
add (MSIDefault.Action.LaunchConditions);
+ if (db.table_app_search.records.length () > 0)
+ add (MSIDefault.Action.AppSearch);
table.add_sorted_actions ();
}