From 9bccc96c4ee35328a48e1991cc5d18dc53572ed3 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 29 Sep 2023 14:02:52 +0300 Subject: [PATCH] Mangle dashes as needed by WiX. --- packaging/createmsi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/createmsi.py b/packaging/createmsi.py index 6f198f308..fef2b3875 100755 --- a/packaging/createmsi.py +++ b/packaging/createmsi.py @@ -291,7 +291,7 @@ class PackageGenerator: }) for dirname in cur_node.dirs: - dir_id = os.path.join(current_dir, dirname).replace('\\', '_').replace('/', '_') + dir_id = os.path.join(current_dir, dirname).replace('\\', '_').replace('/', '_').replace('-', '_') dir_node = ET.SubElement(parent_xml_node, 'Directory', { 'Id': dir_id, 'Name': dirname,