Search Postgresql Archives

Re: Install Postgre while installing Other software.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

I've found this page about silent install that was very usefull for me: http://pginstaller.projects.postgresql.org/silent.html

Now, I've found another problem. I'm able to install PostgreSQL with my software in silent mode, but the problem comes when I do un-install. The problem is related with service account.
I'm currently using the followin settings for install:

msiexec /i postgresql-8.3-int.msi  /qr INTERNALLAUNCH=1 DOINITDB=1 CREATESERVICEUSER=1 ADDLOCAL=server,psql,pgadmin BASEDIR="c:\postgres" SERVICEDOMAIN="%COMPUTERNAME%" SERVICEPASSWORD="AnyPassWord" SUPERPASSWORD="AnyPassWord2

If I do un-install the service account is not removed, so next time I try to install the software again the service account name (posgres) exists so It can not be created again, so the installation progress stops, rolling back.
Do you know how can I remove posgres service account while un-installing? or maybe Do you know how to chek if the postgres user exist while installing, so therefore the installation process could create or login with that user?

Thank in advance!

2009/2/7 Iñigo Barandiaran <ibarandiaran@xxxxxxxxxxxxx>
Hi Raymond!

Thanks for your answer. I'm going to take a look to the silent option you mentioned.
Any link related with this topic would be very appreciated.

Thanks in advance!

Best,

2009/2/7 Raymond O'Donnell <rod@xxxxxx>

On 07/02/2009 15:40, Iñigo Barandiaran wrote:
> I'm trying to use Postgre as a DataBase manager of a Software I'm
> developing. I would like to know how to integrate an installation of Postgre
> in the installation of my own software. I mean, I need to firstly install

The community installer (pgInstaller) has a silent-install option which
I understand is intended for just this scenario.

BTW, the accepted abbreviation of PostgreSQL is "postgres", not "postgre".

Ray.


------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@xxxxxx
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux