Skip to content

Commit

Permalink
Merge pull request #6029 from BOINC/vko_protect_msi_launch
Browse files Browse the repository at this point in the history
[windows] when running installer, search for DLLs in the system directory only since the installer itself doesn't rely on any custom DLLs.
  • Loading branch information
AenBleidd authored Jan 27, 2025
2 parents f9cb224 + e7f1b77 commit 3161bbf
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 3161bbf

Please sign in to comment.