Skip to content

Commit

Permalink
Setup: Don't place wincorlib.dll on Windows 10 (#2829)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrsatrio committed Feb 15, 2024
1 parent 3993241 commit 610ba7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ep_setup/ep_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ int WINAPI wWinMain(
if (bOk) GetWindowsDirectoryW(wszPath, MAX_PATH);
if (bOk) wcscat_s(wszPath, MAX_PATH, L"\\SystemApps\\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy");
if (bOk) bOk = InstallResource(bInstall, hInstance, IDR_EP_AMD64, wszPath, L"dxgi.dll");
if (bOk) bOk = InstallResource(bInstall, hInstance, IDR_EP_STARTMENU, wszPath, L"wincorlib.dll");
if (bOk) bOk = InstallResource(bInstall && IsWindows11(), hInstance, IDR_EP_STARTMENU, wszPath, L"wincorlib.dll");
if (bOk) bOk = DeleteResource(wszPath, L"wincorlib_orig.dll");
if (bOk && IsWindows11() && bInstall)
{
Expand Down

0 comments on commit 610ba7f

Please sign in to comment.