From 4f4a12a3ea94450ebab80544daf2d2b617346171 Mon Sep 17 00:00:00 2001 From: Marcin Raba Date: Mon, 9 Sep 2024 21:42:35 +0200 Subject: [PATCH] SNOW-1055755: windows build debug - ...wix util schema update - min test --- scripts/packaging/win/snowflake_cli_min.wxs | 18 ++++++++++++++++++ scripts/packaging/win/wxs_builder.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 scripts/packaging/win/snowflake_cli_min.wxs 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")