Hi,
I have just downloaded the free version of Advanced Installer version 6.9.1.
My goal is to run MyService, installed by the MSI, under the preinstalled rights “Network Service”. To accomplish this, I have carefully read the page http://www.advancedinstaller.com/user-g ... rvice.html.
When the MSI is installed on the client machine, it looks like everything was installed correctly. When looking at the Windows services MyService is installed as NetworkService. But if I start MyService manually, it gives me the error message “Could not start the service on Local Computer Error 1053: The service did not respond to the start or control request in a timely fashion”. Now when I manually reconfigure MyService as NetworkService on the client machine, it starts fine.
Everything is configured as described on the web page, for convenience the configuration information is displayed as follows.
Install Parameters
SERVICE_PASSWORD (value test)
SERVICE_USER (value NT AUTHORITY\NetworkService).
Custom Action
Source Path APPDIR\bin\ntrights.exe
Command Line: -u [SERVICE_USER] +r SeServiceLogonRight
Execution Properties: Asynchronous execution, do not wait for return
Execution Options: Immediate execution
Scheduling Options: Always Execute
Execution Condition NOT installed
Services
User Name: [SERVICE_USER]
Password: [SERVICE_PASSWORD]
Note that I am uncertain about the password I have to supply in SERVICE_PASSWORD. I have heard that no password should be supplied with the NetworkService. Unfortunately it is not possible to provide Advanced Installer with an Install Parameter with no content. Even after removing the password manually from MyService on the client machine after installation, it gives me the same error message as before. This could indicate that something is wrong the rights settings configured by Advanced Installer.
Any help is appreciated.
Regards,
Jan