Skip to content

Commit e7f1b77

Browse files
committed
[windows] when running installer, search for DLLs in the system directory only since the installer itself doesn't rely on any custom DLLs.
This fixes #2482. Signed-off-by: Vitalii Koshura <[email protected]>
1 parent f9cb224 commit e7f1b77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

installer/installer_setup/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ void ShowWindow(HINSTANCE hInstance, int nCmdShow) {
177177
}
178178

179179
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int nCmdShow) {
180+
SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32);
180181
ShowWindow(hInstance, nCmdShow);
181182
ExtractResourceAndExecute(IDB_MSI, "BOINC.msi");
182183
return 0;

0 commit comments

Comments
 (0)