This issue occurs due to the 'Password must meet complexity requirements' policy setting defined by Windows. The policy setting is enabled by default, and this causes the installer to return the error if the user-defined password does not meet the minimum complexity requirements.