mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows MSI: avoid duplicated entry for VeraCrypt when installing MSI over an EXE based installation
This commit is contained in:
@@ -3045,6 +3045,9 @@ EXTERN_C UINT STDAPICALLTYPE VC_CustomAction_PostInstall(MSIHANDLE hInstaller)
|
|||||||
{
|
{
|
||||||
MSILog(hInstaller, MSI_ERROR_LEVEL, L"End VC_CustomAction_PostInstall: Could not write to registry");
|
MSILog(hInstaller, MSI_ERROR_LEVEL, L"End VC_CustomAction_PostInstall: Could not write to registry");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// delete entry of EXE installation if it exists
|
||||||
|
RegDeleteKeyExW (HKEY_LOCAL_MACHINE, L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\VeraCrypt", KEY_WOW64_32KEY, 0);
|
||||||
}
|
}
|
||||||
end:
|
end:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user