1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 00:04:57 +03:00

Cedar/SW.c: remove "install_src.dat" file check

Previously, the file needed to be present in order for the setup to work.

This commit removes the requirement so that the setup can be ran from the build directory without the need to copy the file (which is now removed from the repository).
This commit is contained in:
Davide Beatrici
2020-07-23 03:11:15 +02:00
parent 35200a29ea
commit cc61c90372
10 changed files with 1 additions and 18 deletions

View File

@ -289,8 +289,6 @@ bool SwAddBasicFilesToList(LIST *o, char *component_name)
return false;
}
Add(o, SwNewSfxFile("install_src.dat", L"|install_src.dat"));
return true;
}
@ -5633,13 +5631,6 @@ UINT SwWelcomeDlg(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, WIZARD *wiz
break;
case WM_WIZ_NEXT:
if (IsFileExistsW(L"@install_src.dat") == false)
{
// Vpnsetup.exe is launched from other than the installation source
MsgBoxEx(hWnd, MB_ICONSTOP, _UU("SW_NOT_INSTALL_SRC"));
break;
}
if (MsIsKB3033929RequiredAndMissing())
{
// KB3033929 is missing