Skip to content

Commit

Permalink
Merge pull request #12511 from n1hility/fix-win-path
Browse files Browse the repository at this point in the history
Fixes #11416 - Trailing quote on PATH added by Windows MSI
  • Loading branch information
openshift-merge-robot authored Dec 6, 2021
2 parents e79c47b + 527fd3c commit da3d636
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/msi/podman.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down

0 comments on commit da3d636

Please sign in to comment.