anre_karsch
Posts: 2
Joined: Thu Jul 06, 2017 12:53 pm

Service installation - User?

Thu Jul 06, 2017 1:01 pm

Hi Team,

I'm having a question regarding the service installation.
The options you provide are really good, but I'm missing the option to let the user choose if
he wants to use either the "local system account" or a self defined service account, which
will be created and used then.

Is it possible to do this with the advanced installer?

If yes, how? :?:

Many thanks in advance!

Cheers,
Arne

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Service installation - User?

Thu Jul 06, 2017 1:19 pm

Hi Arne and welcome to Advanced Installer forums.

In order to install a service under a custom user you can implement the steps from the "How to install a service for a custom user" tutorial.

To conditionally install it under a custom user or under the LocalSystem account you can implement the solution discussed in the "Can't install service for LocalSystem OR custom account" thread.

Let me know if you need more details.

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

anre_karsch
Posts: 2
Joined: Thu Jul 06, 2017 12:53 pm

Re: Service installation - User?

Thu Jul 06, 2017 2:11 pm

Hu Eusebiu,

thanks for the fast reply. But I think it'S not that clear to me now.
I already have problem to fidne/create/build a dialog, which at least gives the user the option to graphically choose between:

*Use existing account
*Use System Account
*Create and use new user

I don't think that the other topics you've linked are the right solution, or?

Cheers, Arne

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Service installation - User?

Mon Jul 10, 2017 2:12 pm

Hi Arne,

To have those options available on a dialog you can add a custom dialog and edit it appropriately (e.g. add three checkbox controls).

To create a new user during the installation you can go in the "Users and Groups" page, add a new user and use the property related to the dialog's checkbox as a condition for that user as detailed in the tutorial I mentioned above. You can see a similar example in the "Conditional file installation" video.

Just let me know if you have other questions.

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

Return to “Building Installers”