summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRabindra Harlalka <13387-rabindra-harlalka@users.noreply.gitlab.freedesktop.org>2022-04-22 12:12:01 +0530
committerTim-Philipp Müller <tim@centricular.com>2022-06-10 12:58:53 +0100
commit28c844cff621191f234ee70ce7f65efd4fab34ec (patch)
tree87e5ac9456ca57b03bec45ec8c0fa91fddb6ffa7
parentc72ec7f319ccb2816af257d0c7f6f9a8b1089983 (diff)
WiX: Set SDK root env var in the System section
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/337 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/882>
-rw-r--r--cerbero/packages/wix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/packages/wix.py b/cerbero/packages/wix.py
index f9d69336..3c053ae4 100644
--- a/cerbero/packages/wix.py
+++ b/cerbero/packages/wix.py
@@ -556,7 +556,7 @@ class MSI(WixBase):
platform_arch = '_'.join(self.config._get_toolchain_target_platform_arch())
root_env_var = self.package.get_root_env_var(platform_arch)
env = etree.SubElement(envcomponent, 'Environment', Id="SdkRootEnv",
- Action="set", Part="all", Name=root_env_var,
+ Action="set", Part="all", Name=root_env_var, System="yes",
Permanent="no", Value='[SDKROOTDIR]')
etree.SubElement(self.main_feature, 'ComponentRef',
Id='EnvironmentVariables')