We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Dialogs - Username and Password Validation

Hi,

I would like to know if there is a way to carry out username and password validation with a dialog
text box. For example when a user runs the installer and in order to run a service they have to enter
the (AD or local) service or user account details, the dialog can then check those details with AD or local
accounts to ensure that the details are correct and most importantly that they work.

We have had one situation during test that we can enter username and password details but because there
was no validation, when the install was finished, services were not able to start due to incorrect account
details.

best regards,

Ian
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Dialogs - Username and Password Validation

Hi Ian,

I'm afraid that we do not have predefined support to validate the username and password against the Operating System accounts. In order achieve this you can implement your own custom action which validates the username and the password after the user inputs them.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Re: Dialogs - Username and Password Validation

Good morning Eusebiu,

Thanks for your response. Are there any guides or examples that I could follow to make a custom
validator? This is something that we will need to use going forward.

Best regards.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Dialogs - Username and Password Validation

Hi Ian,

You can see an example of a PowerShell custom action that validates the user credentials in the "PowerShell: Test Domain User Account Credentials" article.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”