Windows: delete existing uninstall shortcut when performing upgrade/reinstall
This commit is contained in:
parent
a44c2a1e19
commit
a3783ea7b6
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue