Hello and welcome to Advanced Installer forums,
I am afraid that this is not possible in the scenario where the user changes the User & Password details
after the installation. However, it is possible to do that if they change this during the installation.
For instance, you can have a dialog where you ask the user to input the following data: the user for which the service will be installed and the password.
These two inputs will be saved in two different properties. These two properties will have their attribute set to persistent.
Please have a look on the following articles which I think you will find useful:
-
How to install a service for a custom user
-
How do I make the properties in the package keep their values during Maintenance or Upgrade?
Beside what is said above, in order to receive the input from the user (in what regards the Username & password for the service), a new dialog will be needed. Please have a look on the following article for more information about this:
-
Adding a custom dialog
Hope this helps.
Best regards,
Catalin