summaryrefslogtreecommitdiff
path: root/contrib/msi/podman.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/msi/podman.wxs')
-rw-r--r--contrib/msi/podman.wxs3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/msi/podman.wxs b/contrib/msi/podman.wxs
index 4136e2cc4..aade2afdb 100644
--- a/contrib/msi/podman.wxs
+++ b/contrib/msi/podman.wxs
@@ -32,7 +32,8 @@
</Directory>
<Property Id="setx" Value="setx.exe"/>
- <CustomAction Id="ChangePath" ExeCommand="PATH &quot;%PATH%;[INSTALLDIR]&quot;" Property="setx" Execute="deferred" Impersonate="yes" Return="check"/>
+ <!-- Directory table entries have a trailing slash, so an extra backslash is needed to prevent escaping the quote -->
+ <CustomAction Id="ChangePath" ExeCommand="PATH &quot;%PATH%;[INSTALLDIR]\&quot;" Property="setx" Execute="deferred" Impersonate="yes" Return="check"/>
<Feature Id="Complete" Level="1">
<ComponentRef Id="INSTALLDIR_Component"/>