During 2nd stage setup, define also DNS hostname of the computer if possible
Modified: trunk/reactos/lib/syssetup/wizard.c

Modified: trunk/reactos/lib/syssetup/wizard.c
--- trunk/reactos/lib/syssetup/wizard.c	2005-09-27 13:47:46 UTC (rev 18124)
+++ trunk/reactos/lib/syssetup/wizard.c	2005-09-27 14:27:14 UTC (rev 18125)
@@ -480,6 +480,8 @@
                   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);