Merge pull request from n1hility/fix-win-path

Fixes  - Trailing quote on PATH added by Windows MSI
This commit is contained in:
OpenShift Merge Robot
2021-12-06 09:13:24 +00:00
committed by GitHub

@ -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"/>