During 2nd stage setup, define also DNS hostname of the computer if possible

svn path=/trunk/; revision=18125
This commit is contained in:
Hervé Poussineau 2005-09-27 14:27:14 +00:00
parent 514cdac338
commit e521cf2597

View file

@ -480,6 +480,8 @@ ComputerPageDlgProc(HWND hwndDlg,
SetWindowLong(hwndDlg, DWL_MSGRESULT, -1);
return TRUE;
}
/* Try to also set DNS hostname */
SetComputerNameEx(ComputerNamePhysicalDnsHostname, ComputerName);
/* Check admin passwords */
GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD1, Password1, 15);