Unfortunately the service installation currently runs under LocalSystem account, that is probably the reason why it cannot access the remote database. As a workaround you can try to allow the 'Domain\computername$' account at the SQL server for the time of installation. After the installation the service will run under the account specified at the 'Service configuration' page.