fix the wix file to overwrite with save -f (#7545)

This commit is contained in:
Darren Schroeder 2022-12-21 12:34:49 -06:00 committed by GitHub
parent 1291b647ae
commit 215f1af1da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,7 @@
DiskId='1' DiskId='1'
Source='target\$(var.Profile)\nu_plugin_query_json.exe' Source='target\$(var.Profile)\nu_plugin_query_json.exe'
KeyPath='yes'/> KeyPath='yes'/>
</Component> </Component>
<Component Id='binary21' Guid='*' Win64='$(var.Win64)'> <Component Id='binary21' Guid='*' Win64='$(var.Win64)'>
<File <File
Id='exe21' Id='exe21'
@ -342,7 +342,7 @@
<ComponentRef Id='binary17'/> <ComponentRef Id='binary17'/>
<ComponentRef Id='binary18'/> <ComponentRef Id='binary18'/>
<ComponentRef Id='binary19'/> <ComponentRef Id='binary19'/>
<ComponentRef Id='binary20'/> <ComponentRef Id='binary20'/>
<ComponentRef Id='binary21'/> --> <ComponentRef Id='binary21'/> -->
<ComponentRef Id='binary22'/> <ComponentRef Id='binary22'/>
@ -375,7 +375,7 @@
<SetProperty <SetProperty
Id="ReplacePathsInWindowsTerminalProfile" Id="ReplacePathsInWindowsTerminalProfile"
Sequence="execute" Sequence="execute"
Value="&quot;[#exe0]&quot; -c &quot;open '[#WindowsTerminalProfileFile]' | update profiles.commandline '[#exe0]' | update profiles.icon '[#icon0]' | save '[#WindowsTerminalProfileFile]'&quot;" Value="&quot;[#exe0]&quot; -c &quot;open '[#WindowsTerminalProfileFile]' | update profiles.commandline '[#exe0]' | update profiles.icon '[#icon0]' | save -f '[#WindowsTerminalProfileFile]'&quot;"
After='CostFinalize'/> After='CostFinalize'/>
<CustomAction <CustomAction
Id="ReplacePathsInWindowsTerminalProfile" Id="ReplacePathsInWindowsTerminalProfile"