mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-28 01:10:55 +01:00
Setup: Fixed uninstallation of EP installations that have went through upgrades before the proper Pin to Start fix ^2
This commit is contained in:
parent
845d2b55c9
commit
a7c87ce37d
@ -985,12 +985,15 @@ int WINAPI wWinMain(
|
|||||||
{
|
{
|
||||||
bOk = DeleteFileW(wszPath);
|
bOk = DeleteFileW(wszPath);
|
||||||
}
|
}
|
||||||
|
if (bOk)
|
||||||
|
{
|
||||||
PathRemoveExtensionW(wszPath);
|
PathRemoveExtensionW(wszPath);
|
||||||
wcscat_s(wszPath, MAX_PATH, L".prev");
|
wcscat_s(wszPath, MAX_PATH, L".prev");
|
||||||
if (FileExistsW(wszPath))
|
if (FileExistsW(wszPath))
|
||||||
{
|
{
|
||||||
bOk = DeleteFileW(wszPath);
|
bOk = DeleteFileW(wszPath);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (bOk)
|
if (bOk)
|
||||||
{
|
{
|
||||||
GetWindowsDirectoryW(wszPath, MAX_PATH);
|
GetWindowsDirectoryW(wszPath, MAX_PATH);
|
||||||
|
Loading…
Reference in New Issue
Block a user