2009/5/4 Kranti™ K K Parisa <kranti.parisa@gmail.com>:
> Hi,
>
> I am trying to install the service (pgAgent) on windows vista and xp
> getting the following error
>
> D:\Program Files\PostgreSQL\8.3\bin>
> pgAgent INSTALL pgAgent
> 18:49:18: Error: Can't open registry key
> 'HKLM\SYSTEM\CurrentControlSet\Services
> \EventLog\Application\pgAgent' (error 5: access is denied.)
> 18:49:18: Error: Can't set value of
> 'HKLM\SYSTEM\CurrentControlSet\Services\Even
> tLog\Application\pgAgent\EventMessageFile' (error 5: access is denied.)
> 18:49:18: Error: Can't open registry key
> 'HKLM\SYSTEM\CurrentControlSet\Services
> \EventLog\Application\pgAgent' (error 5: access is denied.)
> 18:49:18: Error: Can't set value of
> 'HKLM\SYSTEM\CurrentControlSet\Services\Even
> tLog\Application\pgAgent\TypesSupported' (error 5: access is denied.)
>
> Please suggest/advise. Is there any simple exe file which could install
> this?
Yes, pgagent.exe. You need administrative privileges to install
though. On vista, you may need to open the command prompt with the
'Run as Administrator' option, even if your account has administrative
privileges.
--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com