woodhoct
Posts: 15
Joined: Wed Nov 04, 2015 9:52 pm

Setting Windows Service Account Creds at Installation

Hello,

I am using AI 14.1 Enterprise.

Is there a way to use user interface dialogs to set windows service account username and password?

Cheers.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Setting Windows Service Account Creds at Installation

Hello,

Yes, this can be done. Just go to "Dialogs" page and add two edit box controls (USERNAME_PROP, PWD_PROP). Then just set the formatted references of the properties associated with the above box controls in the "Username" and "Password" fields of your service from "Services" page:
  • Username: [USERNAME_PROP]
    Password: [PWD_PROP]
This way at install time the creds will be set to the values of the above properties, which are the values set in the edit box controls.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
woodhoct
Posts: 15
Joined: Wed Nov 04, 2015 9:52 pm

Re: Setting Windows Service Account Creds at Installation

Thank you Daniel.

I appreciate your quick reply. I will give this a try.

All the best.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Setting Windows Service Account Creds at Installation

You are always welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”