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!

UnChanter
Posts: 5
Joined: Wed Feb 18, 2015 3:25 pm

Service indentity

Hello,
I need to create a custom step to realizing service identity. I need step like this:
Image

I read follow turtorial. But I don't understand how to realize it.

I need a step by step tutorial to do it

Thanks.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Service indentity

Hello and welcome to our forums,

Mainly, to achieve what you want you should first create your own dialog on which the user will select the desired service user account and password (e.g. SERVICE_USER and SERVICE_PASSWORD properties). Please take a look on our "Using the Dialog Editor" tutorials which should be a good starting point for you. Then, you should use the above properties in the "Account" section of your "Service Properties" right pane.

Here's a step by step procedure:
1. go to "Install Parameters" page and add the "SERVICE_USER" and "SERVICE_PASSWORD" properties in the "Properties" section
2. go to "Dialogs" page and create your own custom dialog on which the "SERVICE_USER" and "SERVICE_PASSWORD" properties will be set accordingly with the user selection
3. go to "Services" page and add your service
4. in the "Service Properties" right pane -> "Account" section set the "Username" field to [SERVICE_USER] and the "Password" field to [SERVICE_PASSWORD]
5. check "Set "Log on as a service" policy for selected username" option
5. build and test the project

Note: If you want to install the service under the "LocalSystem" account, then the "SERVICE_USER" and "SERVICE_PASSWORD" properties should be both set to an empty value.

If you have any further questions or doubts just let us know.

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

Return to “Building Installers”