pages/DatabaseConfig.nsi
changeset 2 0c0d5dadfca3
parent 0 67e1cc6cd929
child 3 0cce88c7cf7c
--- a/pages/DatabaseConfig.nsi	Wed May 27 01:15:21 2009 -0400
+++ b/pages/DatabaseConfig.nsi	Wed May 27 01:17:11 2009 -0400
@@ -125,7 +125,8 @@
         Abort
         
       ; If we're root, we can assume the login doesn't exist yet, so skip the validation
-      IntCmp $db_needroot 0 +2
+      IntCmp $db_needroot 0 +3
+        LockWindow on
         Return
         
       ${db_connect} $R0 $db_user $db_password
@@ -144,6 +145,7 @@
                                            fail. This option is recommended only for advanced users." IDYES +2
         Abort ; on No
       
+      LockWindow on
       Return
       
     GenerateRandomLogin:
@@ -151,6 +153,7 @@
       StrCpy $db_user "bn_enanocms"
       Call GenerateRandomPassword
       Pop $db_password
+      LockWindow on
       Return
   
 FunctionEnd