summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-11-08 20:21:48 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-11-08 20:22:00 +0100
commitafc18dcd98d5a67d21ef237c25221a71b01df1b2 (patch)
tree7638f1b27946f86e0038535a40029d281c8edb32 /tools
parentad76cdecb02bd638e76caf9ba76ca41ae9de283f (diff)
downloadmsitools-afc18dcd98d5a67d21ef237c25221a71b01df1b2.zip
msitools-afc18dcd98d5a67d21ef237c25221a71b01df1b2.tar.gz
msitools-afc18dcd98d5a67d21ef237c25221a71b01df1b2.tar.xz
wixl-heat: generate stable dir id
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/wixl-heat.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/wixl/wixl-heat.vala b/tools/wixl/wixl-heat.vala
index 44989c2..34ef6c1 100644
--- a/tools/wixl/wixl-heat.vala
+++ b/tools/wixl/wixl-heat.vala
@@ -88,7 +88,8 @@ public int main (string[] args) {
}
}
for (; i < path.length; i++) {
- stdout.printf (indent + "<Directory Id=\"%s\" Name=\"%s\">\n".printf (random_id ("dir"), path[i]));
+ last_path += path[i];
+ stdout.printf (indent + "<Directory Id=\"%s\" Name=\"%s\">\n".printf (generate_id("dir", 1, string.joinv("/", last_path)), path[i]));
indent += " ";
}
last_path = path;