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!

hsc
Posts: 117
Joined: Wed Mar 02, 2016 2:55 pm

Specify the service user name at install time

Hi,
my installer installs and launches a Windows service. While documentation is quite clear about how to define a service user's name and password in the installer, I cannot find how to let the interactive user select a user account during the installation. I would prefer to be able to select the user name from a list of known users, like you can do it when you configure the service user in Windows's "Services" maintenance snap-in.
Any ideas?
Thanks
Hans
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Specify the service user name at install time

Hi Hans,

In order to achieve this you can follow the How to install a service for a custom user tutorial. However, I'm afraid that there is no predefined support for displaying a predefined list of the users available on the machine. You may be able to achieve this through a custom action created by yourself.

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

Return to “Common Problems”