Un saludo a todos. Pueden probar el siguiente script, el cual me funcionó
perfectamente bien para una "silent install" del PostgreSQL 8.1.10:
msiexec.exe /i postgresql-8.1-int.msi /log resultado.txt /qr
INTERNALLAUNCH=1 ADDLOCAL=server,psql,pgadmin,psqlodbc BASEDIR="c:\postgres"
CREATESERVICEUSER
> Thank you for the reply.
> But then are you saying I don't even really need to use the
> MSI in the first place?
> I can just copy the files to a folder. Then run initdb and pg_ctl?
Sure. The MSI is just a convenient way to get everything into place, and
to set icons and stuff.
> I am bundlin
t: RE: [GENERAL] Problems running PostGreSQL silent install
No, the MSI instlaler only lets you install once instance on each
machine. (Unless you are talking different versions, that is). You can,
however, install one instance with the MSI installer, and then manually
run initdb and pg_ctl regist
> initdb: directory "C:/Program Files/PostgreSQL/8.1/data"
> exists but is not empty If you want to create a new database
> system, either remove or empty the directory "C:/Program
> Files/PostgreSQL/8.1/data" or run initdb with an argument
> other than "C:/Program Files/PostgreSQL/8.1/data".
>
I have seen many problems like this in the forum, but cannot see a solution
for mine...
I have created an account with restricted privileges for the service.
Everything works fine until I get an error running the silent install.
Failed to run initdb: 1!
I then check the logfile, and it says
The