lidds
Posts: 44
Joined: Thu Jun 14, 2012 11:22 pm

Install Service with network user account...

I am trying to create an installer that would install a service using the login credentials that a user enters in the LogonInformationDlg during the installation process. I am however struggling to understand how to do this plus I would like the installer to verify the domain user account and password when the user clicks on the Next button on the LogonInformationDlg.

Is anyone able to assist with how to do this or give an example project, I have looked through the various posts on forum but they do not provide exactly what I want to achieve.

Thanks in advance

Simon
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install Service with network user account...

Hi Simon,

In order to achieve that, you can use the predefined Check if user exists custom action. This custom action allows you to check if a specific user account exists on the target machine or inside the installer. It was designed to work with the "LogonInformationDlg" dialog.

Also, please take a look on the Validate User account password forum thread which debates a similar subject.

Please let us know if you need any help implementing your scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lidds
Posts: 44
Joined: Thu Jun 14, 2012 11:22 pm

Re: Install Service with network user account...

Dan, thank you for your reply, however I am still unclear as to how I install the service using the username and password specified in the LogonInformationDlg? Do you have an example of this, or could you give me the steps to do this?

Thank you for your time
Simon
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install Service with network user account...

You're welcome Simon,

In order to install a service for a user, please take a look on the How do I install a service for a custom user? article with related information for hints and guidance.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”