Re: [GENERAL] Running initdb while logged in as Administrator user (Windows)

2008-09-18 Thread Merlin Moncure
On Thu, Sep 18, 2008 at 3:47 PM, Daniel Futerman <[EMAIL PROTECTED]> wrote: >> Look at psexec from Microsoft (former sysinternals). >> http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx > >> You'll have to verify what the license says, but given that it's free >> and comes from the guys

Re: [GENERAL] Running initdb while logged in as Administrator user (Windows)

2008-09-18 Thread Daniel Futerman
> Look at psexec from Microsoft (former sysinternals). > http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx > You'll have to verify what the license says, but given that it's free > and comes from the guys that make Windows, it seems reasonable that it > should be doable. This looks li

Re: [GENERAL] Running initdb while logged in as Administrator user (Windows)

2008-09-18 Thread Daniel Futerman
Thanks for the suggestion. Maybe i should rephrase my question : How does the Postgres (8.3) Installer manage to run initdb (when the installation is not installed as a service). When installing Postgres from the command line (the 'silent' install), initdb can only be run if installing as a servic

Re: [GENERAL] Running initdb while logged in as Administrator user (Windows)

2008-09-18 Thread Magnus Hagander
Daniel Futerman wrote: > I'm trying to develop an automated PostgreSQL installer for Windows that > uses a silent install of PostgreSQL and batch scripts to initialise the > database cluster (i.e. run initdb) and start/stop the db server. The > install shouldn't install as a service, so initdb need

Re: [GENERAL] Running initdb while logged in as Administrator user (Windows)

2008-09-18 Thread Simon Riggs
On Thu, 2008-09-18 at 19:29 +0200, Daniel Futerman wrote: > silent install of PostgreSQL Please shout about it, don't hide it. And look at stackbuilder. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-general mailing list (pgsql-gen

[GENERAL] Running initdb while logged in as Administrator user (Windows)

2008-09-18 Thread Daniel Futerman
I'm trying to develop an automated PostgreSQL installer for Windows that uses a silent install of PostgreSQL and batch scripts to initialise the database cluster (i.e. run initdb) and start/stop the db server. The install shouldn't install as a service, so initdb needs to be run manually. The prob