1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Windows: delete existing uninstall shortcut when performing upgrade/reinstall

This commit is contained in:
Mounir IDRASSI
2018-12-02 06:57:58 +01:00
parent a44c2a1e19
commit a3783ea7b6

View File

@@ -1818,6 +1818,9 @@ BOOL DoShortcutsInstall (HWND hwndDlg, wchar_t *szDestDir, BOOL bProgGroup, BOOL
else
goto error;
StringCbPrintfW (szTmp2, sizeof(szTmp2), L"%s%s", szLinkDir, L"\\Uninstall VeraCrypt.lnk");
StatDeleteFile (szTmp2, FALSE);
StringCbPrintfW (szTmp2, sizeof(szTmp2), L"%s%s", szLinkDir, L"\\VeraCrypt User's Guide.lnk");
StatDeleteFile (szTmp2, FALSE);
}