Browse Source

Setup: Fixed uninstallation of EP installations that have went through upgrades before the proper Pin to Start fix ^2

pull/2350/head 22621.2428.59.1_a7c87ce
Amrsatrio 2 years ago
parent
commit
a7c87ce37d
  1. 3
      ep_setup/ep_setup.c

3
ep_setup/ep_setup.c

@ -985,12 +985,15 @@ int WINAPI wWinMain( @@ -985,12 +985,15 @@ int WINAPI wWinMain(
{
bOk = DeleteFileW(wszPath);
}
if (bOk)
{
PathRemoveExtensionW(wszPath);
wcscat_s(wszPath, MAX_PATH, L".prev");
if (FileExistsW(wszPath))
{
bOk = DeleteFileW(wszPath);
}
}
if (bOk)
{
GetWindowsDirectoryW(wszPath, MAX_PATH);

Loading…
Cancel
Save