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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user