Thanks for the reply. I had not tried using the LocalService account type in the service account property on ServiceProcessInstaller. I had tried every other option available for service account (Network Service, LocalSystem, User), but not LocalService. After changing the service account property in the ServiceProcessInstaller to LocalService, I installed the service. I navigated to the Logon Tab for the service. The properties log on account indicated "NT AUTHORITY\Localservice". Both the Password and confirm password dialog boxes contained values. I tried starting the service with password and without passwords, but received the following error message:
Could not start the FanacSyncService service on local computer Error 5; Access is denied.
If I follow the same process as above, but set the service account property to NetworkService I get the same error message.
From the Logon tab in Properties dialog for Services under browse (for the local machine), advanced does contain "Local Service" and "NETWORK SERVICE" Users.
I can start both localsystem and user service account types.
Any idea why I'm not able to start the other services?