[msitools] wixl: modify file sequence default value



commit b2a6eebf2060110effe3b9d0d87f5aba804ffdb5
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Thu Jul 11 15:34:11 2013 +0200

    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

 tools/wixl/msi.vala |    2 +-
 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) ||


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]