summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-01-06 01:59:56 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-01-06 16:38:26 +0100
commit17b646c138f9b5dad94cba0b67faa4ce99c85b8c (patch)
tree16b4658001c40b7b0cba295dc4acd7f948a1e616 /src
parent09460231052736715e666ee0f230379fb7fc69cd (diff)
downloadmsitools-17b646c138f9b5dad94cba0b67faa4ce99c85b8c.tar.gz
msitools-17b646c138f9b5dad94cba0b67faa4ce99c85b8c.tar.xz
msitools-17b646c138f9b5dad94cba0b67faa4ce99c85b8c.zip
Fix some wrong values
Diffstat (limited to 'src')
-rw-r--r--src/builder.vala4
-rw-r--r--src/msi.vala3
2 files changed, 4 insertions, 3 deletions
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,