mirror of
https://github.com/containers/podman.git
synced 2025-07-21 04:24:36 +08:00
Merge pull request #12511 from n1hility/fix-win-path
Fixes #11416 - Trailing quote on PATH added by Windows MSI
This commit is contained in:
@ -32,7 +32,8 @@
|
||||
</Directory>
|
||||
|
||||
<Property Id="setx" Value="setx.exe"/>
|
||||
<CustomAction Id="ChangePath" ExeCommand="PATH "%PATH%;[INSTALLDIR]"" 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 "%PATH%;[INSTALLDIR]\"" Property="setx" Execute="deferred" Impersonate="yes" Return="check"/>
|
||||
|
||||
<Feature Id="Complete" Level="1">
|
||||
<ComponentRef Id="INSTALLDIR_Component"/>
|
||||
|
Reference in New Issue
Block a user