Files
Infra-LAB/projects/MDT/Scripts/DeployWiz_AdminPassword.vbs

37 lines
870 B
Plaintext

' // ***************************************************************************
' //
' // Copyright (c) Microsoft Corporation. All rights reserved.
' //
' // Microsoft Deployment Toolkit Solution Accelerator
' //
' // File: DeployWiz_Validation.vbs
' //
' // Version: 6.3.8456.1000
' //
' // Purpose: Main Client Deployment Wizard Validation routines
' //
' // ***************************************************************************
Option Explicit
'''''''''''''''''''''''''''''''''''''
' Validate Password
'
Function ValidatePassword
ValidatePassword = ParseAllWarningLabels
NonMatchPassword.style.display = "none"
If Password1.Value <> "" then
If Password1.Value <> Password2.Value then
ValidatePassword = FALSE
NonMatchPassword.style.display = "inline"
End if
End if
ButtonNext.Disabled = not ValidatePassword
End Function