In my setup I need to install SQL server with SA password passed from InputQueryPage.
I need to limit password input based on Windows password complexity. The password need to be at least 9 characters long and it has to contain at least one symbol, one uppercase letter, one lowercase letter and one digit. How can do this?
I have this code :
Page0 :=
CreateInputQueryPage(
pSelectTasks, 'SQL Server installation', '',
'Specify SQL Server parameters , press Next to continue.');
Page0.Add('SQL Instance:', False);
Page0.Add('Sa Password:', True);
Page0.Values[0] := ('xxx');
Page0.Values[1] := ('xxxxxxx');