From 17b646c138f9b5dad94cba0b67faa4ce99c85b8c Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Sun, 6 Jan 2013 01:59:56 +0100 Subject: Fix some wrong values --- src/builder.vala | 4 ++-- src/msi.vala | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/builder.vala b/src/builder.vala index a7a5cf0..5f92d89 100644 --- a/src/builder.vala +++ b/src/builder.vala @@ -60,7 +60,7 @@ namespace Wixl { add ("UnpublishFeatures", 1800); if (db.table_registry.records.length () > 0) { add ("RemoveRegistryValues", 2600); - add ("WriteRegistryValues", 2600); + add ("WriteRegistryValues", 5000); } if (db.table_shortcut.records.length () > 0) add ("RemoveShortcuts", 3200); @@ -140,7 +140,7 @@ namespace Wixl { db.info.set_author (product.Manufacturer); db.table_property.add ("Manufacturer", product.Manufacturer); - db.table_property.add ("ProductLanguage", product.Codepage); + db.table_property.add ("ProductLanguage", product.Language); db.table_property.add ("ProductCode", add_braces (product.Id)); db.table_property.add ("ProductName", product.Name); db.table_property.add ("ProductVersion", product.Version); diff --git a/src/msi.vala b/src/msi.vala index a85eecd..79d9540 100644 --- a/src/msi.vala +++ b/src/msi.vala @@ -567,7 +567,8 @@ namespace Wixl { try { info.set_property (Libmsi.Property.TITLE, "Installation Database"); info.set_property (Libmsi.Property.TEMPLATE, "Intel;1033"); - info.set_property (Libmsi.Property.UUID, uuid_generate ()); + info.set_property (Libmsi.Property.UUID, + add_braces (uuid_generate ())); info.set_property (Libmsi.Property.CREATED_TM, time_to_filetime (now ())); info.set_property (Libmsi.Property.LASTSAVED_TM, -- cgit