mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-01-19 09:07:29 +01:00
Fixed "DisplayVersion" not created in program uninstallation registry entry (microsoft/winget-pkgs/pull/37596)
This commit is contained in:
parent
4ec8cc10f7
commit
dfd703004c
@ -94,9 +94,9 @@ BOOL SetupUninstallEntry(BOOL bInstall, WCHAR* wszPath)
|
|||||||
}
|
}
|
||||||
if (!dwLastError)
|
if (!dwLastError)
|
||||||
{
|
{
|
||||||
PathRemoveFileSpecW(wszPath);
|
PathRemoveFileSpecW(wszPath + 1);
|
||||||
wcscat_s(wszPath, MAX_PATH, L"\\" _T(PRODUCT_NAME) L".amd64.dll");
|
wcscat_s(wszPath + 1, MAX_PATH - 2, L"\\" _T(PRODUCT_NAME) L".amd64.dll");
|
||||||
HMODULE hEP = LoadLibraryExW(wszPath, NULL, LOAD_LIBRARY_AS_DATAFILE);
|
HMODULE hEP = LoadLibraryExW(wszPath + 1, NULL, LOAD_LIBRARY_AS_DATAFILE);
|
||||||
if (hEP)
|
if (hEP)
|
||||||
{
|
{
|
||||||
DWORD dwLeftMost = 0;
|
DWORD dwLeftMost = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user