Skip to content

Commit

Permalink
[windows] when running installer, search for DLLs in the system direc…
Browse files Browse the repository at this point in the history
…tory only since the installer itself doesn't rely on any custom DLLs.

This fixes #2482.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
  • Loading branch information
AenBleidd committed Jan 27, 2025
1 parent f9cb224 commit e7f1b77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions installer/installer_setup/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ void ShowWindow(HINSTANCE hInstance, int nCmdShow) {
}

int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int nCmdShow) {
SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32);
ShowWindow(hInstance, nCmdShow);
ExtractResourceAndExecute(IDB_MSI, "BOINC.msi");
return 0;
Expand Down

0 comments on commit e7f1b77

Please sign in to comment.