I have had a look online but I am struggling to find an answer for my issue - hoping to get some assistance/guidance.
I have setup the "CheckIfUserExists" custom action and attached it to the "Next" button in our installer. During setup of our application, the user provides their domain, username and password. I would like to validate the credentials before the installation continues. I am, however, struggling with the validation part.
These screenshots were taken using an application I found elsewhere in these forums. I used it to test against our application's installer (and the interface is prettier than the mess I have created). The functionality of the buttons remains the same in both.
Scenario 1: Providing the domain, username and password.
Outcome 1: AI_USER_EXISTS = No ; AI_USER_VALID_PASSWORD = [blank]


Scenario 2: Providing the username and password only.
Outcome 2: AI_USER_EXISTS = Yes ; AI_USER_VALID_PASSWORD = YES


For both scenario 1 and 2:

I thought to try altering the CheckIfUserExists as follows:

Though this time, both with and without the domain being provided returned AI_USER_EXISTS = No ; AI_USER_VALID_PASSWORD = [blank].
I require the domain name to be present, it is not an option to leave it out (the credentials are later passed into an IIS application pool). May I please get some assistance with this?
Thank you in advance!
FOLLOW US
Get the latest news in Application Packaging