mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +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:
1 parent
35200a29ea
commit
cc61c90372
10 files changed
+1
-18
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user