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=1 SERVICEDOMAIN="%COMPUTERNAME%" SERVICEACCOUNT="postgres"
SERVICEPASSWORD="test" SUPERUSER="algun_usuario"
SUPERPASSWORD="alguna_contrasena"

Repito: me funcionó muy bien!!!.

Tengan en cuenta que en la sección ADDLOCAL no pude agregar los "docs", ya
que obtenía el mensaje "silent installation of 8.3 fails with error code
2711", y en el archivo LOG que se genera se obtuvo la siguiente descripción
del error:

DEBUG: Error 2711:  The specified Feature name ('docs') not found in Feature
Table.
DEBUG: Error 2867:  The error dialog property is not set
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2867. The
arguments are: , ,
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2711. The
arguments are: docs, ,
MSI (c) (CC:A8) [11:54:11:343]: Product: PostgreSQL 8.1 -- The installer has
encountered an unexpected error installing this package. This may indicate a
problem with this package. The error code is 2711. The arguments are: docs,
,

Pueden probar con otras opciones para ver si les sigue funcionando, pero les
aseguro que con estas líneas me funcionó muy bien!. En tal caso que no les
funciones con SERVICEACCOUNT="postgres" y SERVICEPASSWORD="test", prueben
con: SERVICEACCOUNT="postgres3" SERVICEPASSWORD="test3", es decir, con un
número al final de dichos valores.

Un agradecimiento a los usuarios Greg Quinn y Magnus Hagander, de quienes
obtuve ideas para hacer funcionar este script. Saludos!.

Reply via email to