summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/builder.vala2
-rw-r--r--tools/wixl/msi.vala8
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala
index 9c0bc59..f6db67d 100644
--- a/tools/wixl/builder.vala
+++ b/tools/wixl/builder.vala
@@ -272,6 +272,8 @@ namespace Wixl {
db.info.set_subject (product.Name);
db.info.set_author (product.Manufacturer);
+ if (db.info.get_comments () == null)
+ db.info.set_comments ("This installer database contains the logic and data required to install %s.".printf (product.Name));
db.table_property.add ("Manufacturer", product.Manufacturer);
db.table_property.add ("ProductLanguage", product.Language);
diff --git a/tools/wixl/msi.vala b/tools/wixl/msi.vala
index e2b5490..9c2e40e 100644
--- a/tools/wixl/msi.vala
+++ b/tools/wixl/msi.vala
@@ -740,6 +740,14 @@ namespace Wixl {
public void set_comments (string value) throws GLib.Error {
set_property (Libmsi.Property.COMMENTS, value);
}
+
+ public string? get_comments () {
+ try {
+ return properties.get_string (Libmsi.Property.COMMENTS);
+ } catch (GLib.Error err) {
+ return null;
+ }
+ }
}
class MsiDatabase: Object {