1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-10 01:34:58 +03:00

v4.15-9537-beta

This commit is contained in:
dnobori
2015-03-26 18:01:02 +09:00
parent 64fd19e6f8
commit 1f645c9816
385 changed files with 28637 additions and 22088 deletions

View File

@ -4569,6 +4569,24 @@ UINT SwReady(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, WIZARD *wizard,
break;
case WM_WIZ_NEXT:
if (IsUseAlternativeHostname())
{
wchar_t src_dll1[MAX_PATH];
wchar_t src_dll2[MAX_PATH];
wchar_t *exe_dir = MsGetExeFileDirW();
CombinePathW(src_dll1, sizeof(src_dll1), exe_dir, VG_DLL_X86);
CombinePathW(src_dll2, sizeof(src_dll2), exe_dir, VG_DLL_X64);
if (IsFileExistsW(src_dll1) || IsFileExistsW(src_dll2))
{
if (MsgBoxEx(hWnd, MB_ICONQUESTION | MB_YESNO | MB_DEFBUTTON2,
_UU("SW_VG_CONFIRM_MSG")) == IDNO)
{
break;
}
}
}
return D_SW_PERFORM;
case WM_WIZ_BACK: