kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Assigning windows service user password from propertuy

Hello,

we would like to create new a windows local user using the Users and Groups Dialog. This user name and password would be hardcoded and constant.
On the other hand a installing user might provide username and password of existing user.

Later this user will be assigned to a window service.

Here comes my question. The username of the windows service can be taken from property, but the password does not seem to allow that.

Is there a way to assign windows service user password based on string value that installing user provided in dialog during installation?

We are on older version 20.1.1, maybe this is possible in later versions?

Thank you.
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Assigning windows service user password from propertuy

Hello,

The reason it seems that you cannot assign a property for the password is because the password is hidden.

However, please note that it is possible to assign a password through a property as well - since the text is hidden, please make sure that the name of the property is correctly written.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”