Thread: Automatic installs

Automatic installs

From
Jonathan Barnhart
Date:
Could the PG installer be fixed so the following command would work
perfectly instead of almost perfectly?

start /wait msiexec /i postgresql-8.0-int.msi SUPERPASSWORD="postgres"
SUPERPASSWORDV="postgres" INTERNALLAUNCH=1 SERVICEPASSWORD="postgres"
SERVICEPASSWORDV="postgres" SERVICEOK=1 INITDBOK=1 /qr

The problem is that the user account is not created.  If the user
account has been created in the past, it works PERFECTLY with building
the database etc.  But the account creation gives no error and does not
go.



=====
"We'll do the undoable, work the unworkable, scrute the inscrutable and have a long, hard look at the ineffable to see
whetherit might not be effed after all" 

Re: Automatic installs

From
"Magnus Hagander"
Date:
> Could the PG installer be fixed so the following command
> would work perfectly instead of almost perfectly?
>
> start /wait msiexec /i postgresql-8.0-int.msi SUPERPASSWORD="postgres"
> SUPERPASSWORDV="postgres" INTERNALLAUNCH=1 SERVICEPASSWORD="postgres"
> SERVICEPASSWORDV="postgres" SERVICEOK=1 INITDBOK=1 /qr
>
> The problem is that the user account is not created.  If the
> user account has been created in the past, it works PERFECTLY
> with building the database etc.  But the account creation
> gives no error and does not go.

You will notice this is already in a feature request on the pgFoundry
site, so it'll probably get there not too long from now. It is also well
documented that it is currently not supported (in the silent install
instructions).

Until this is eventually done, there are many tools available to do this
outside the postgresql installer in the support tools and resource kit
for Windows.

//Magnus