Files
UnrealEngineUWP/Engine/Extras
paul chipchase ff35395386 Fix P4VUtils failing to remove its old commands when running an install
#rb Josh.Adams
#rnx
#preflight 62975f7c101592b805fa7cb9

- When UGS invokes the tool to be installed, it will call 'P4VUtils.exe install' which meant that getting the process path as the dotnet path would return the exe
- However previous versions of the tool were creating a path to dotnet.exe to use as the dotnet path
- When removing the old commands before installing the new ones, one of the filters is to check the dotnet path of the command and make sure that it matches the current one
- So if the older version was using a path to dotnet.exe and the newer version, the p4vutils.exe, they won't match and the old commands won't be removed, so when the new ones are added we end up with duplicates.
- For now the easiest fix is to go back to the logic before change 20248689, so on windows we make sure that we find dotnet.exe so it will match.

[CL 20451429 by paul chipchase in ue5-main branch]
2022-06-01 08:57:36 -04:00
..
2021-08-24 19:28:38 -04:00
2022-04-25 14:45:28 -04:00