summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-07-11 15:34:11 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-07-11 18:26:03 +0200
commitb2a6eebf2060110effe3b9d0d87f5aba804ffdb5 (patch)
tree460d5c05a5580bf3e00ef47d206cf70ed50d6efe /tools
parent76d9fb2e0569e163b6919c1a9d657897da7933cb (diff)
downloadmsitools-b2a6eebf2060110effe3b9d0d87f5aba804ffdb5.tar.gz
msitools-b2a6eebf2060110effe3b9d0d87f5aba804ffdb5.tar.xz
msitools-b2a6eebf2060110effe3b9d0d87f5aba804ffdb5.zip
wixl: modify file sequence default value
The integers in this field must be equal or greater than 1. http://msdn.microsoft.com/en-us/library/windows/desktop/aa368596%28v=vs.85%29.aspx
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/msi.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wixl/msi.vala b/tools/wixl/msi.vala
index f566ca8..e15e0f4 100644
--- a/tools/wixl/msi.vala
+++ b/tools/wixl/msi.vala
@@ -237,7 +237,7 @@ namespace Wixl {
sql_insert = "INSERT INTO `File` (`File`, `Component_`, `FileName`, `FileSize`, `Attributes`, `Sequence`) VALUES (?, ?, ?, ?, ?, ?)";
}
- public Libmsi.Record add (string File, string Component, string FileName, int FileSize, int Attributes, int Sequence = 0) throws GLib.Error {
+ public Libmsi.Record add (string File, string Component, string FileName, int FileSize, int Attributes, int Sequence = 1) throws GLib.Error {
var rec = new Libmsi.Record (6);
if (!rec.set_string (1, File) ||