Browse Source

Fixed "DisplayVersion" not created in program uninstallation registry entry (microsoft/winget-pkgs/pull/37596)

22000.348.40.10_616592c
Valentin Radu 4 years ago
parent
commit
616592c330
  1. 2
      ep_setup/ep_setup.c

2
ep_setup/ep_setup.c

@ -96,7 +96,7 @@ BOOL SetupUninstallEntry(BOOL bInstall, WCHAR* wszPath)
{ {
PathRemoveFileSpecW(wszPath); PathRemoveFileSpecW(wszPath);
wcscat_s(wszPath, MAX_PATH, L"\\" _T(PRODUCT_NAME) L".amd64.dll"); wcscat_s(wszPath, MAX_PATH, 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…
Cancel
Save