diff --git a/scripts/packaging/win/snowflake_cli_min.wxs b/scripts/packaging/win/snowflake_cli_min.wxs new file mode 100644 index 0000000000..33389f3615 --- /dev/null +++ b/scripts/packaging/win/snowflake_cli_min.wxs @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/scripts/packaging/win/wxs_builder.py b/scripts/packaging/win/wxs_builder.py index b497d0851a..5dd8f8b0e3 100644 --- a/scripts/packaging/win/wxs_builder.py +++ b/scripts/packaging/win/wxs_builder.py @@ -19,7 +19,7 @@ ElementTree.register_namespace(ns_name, ns_url) wxs = ElementTree.parse(WXS_TEMPLATE_FILE) root = wxs.getroot() -snow_files = root.find(".//Component", namespaces=ns) +snow_files = root.find(".//DirectoryRef", namespaces=ns) if snow_files is None: raise ValueError("Component not found in the template")