Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Postgresql silent install (http://forums.winamp.com/showthread.php?t=210481)

ediouf 15th March 2005 15:45

Postgresql silent install
 
Hi everybody !

Is someone can help me to use NSIS for Progresql silent install. With the documentation of NSIS, someone can run a .exe file with exec or execwait commands ; but i don't know how to run a .msi file(postgresql.msi) on command line.

Thanks !

kichik 15th March 2005 17:56

Search the forum for "msi". There are plenty of threads that should help you with this problem.

ediouf 16th March 2005 08:20

What about postgresql silent install ?
 
Hi kichik,

What i would like is to run this command line to silent install postgresql, in a NSIS script:

msiexec /i postgresql-8.0.0-rc1-int.msi /qr INTERNALLAUNCH=1 ADDLOCAL=server,psql,docs SERVICEDOMAIN=%COMPUTERNAME% SERVICEPASSWORD=SecretWindowsPassword123 SUPERPASSWORD=VerySecret BASEDIR=c:\postgres TRANSFORMS=:lang_fr

Is it possible with NSIS ?

My second question how to get nsExec plugin ?

Thanks everybody for your help!

Afrow UK 16th March 2005 15:27

Use:

nsExec::Exec 'msiexec /i "$EXEDIR\postgresql-8.0.0-rc1-int.msi" /qr INTERNALLAUNCH=1 ADDLOCAL=server,psql,docs SERVICEDOMAIN=%COMPUTERNAME% SERVICEPASSWORD=SecretWindowsPassword123 SUPERPASSWORD=VerySecret BASEDIR=c:\postgres TRANSFORMS=:lang_fr'

"$EXEDIR\postgresql-8.0.0-rc1-int.msi" needs to be the full path to the MSI on the user's system.

-Stu


All times are GMT. The time now is 05:06.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.