On Mon, 16 May 2011 19:23:15 +0200, truongxuan quang <[email protected]> wrote:

Dear list

I face with some problem in installation PostgreSQL 8.3 on winXP , long time before I use PostgreSQL and PostGIS for managing shape file data. Last week I tried to install PostgreSQL 8.4, after that I remove PostgreSQL 8.3 (I only uninstalled inside windows control panel/add and then I delete all folder inside window programs) and I reinstall PostgreSQL 8.4, and problem was starting happen from this step, until now, I could not connect data by my user and password or
start PostgreSQL8.4 service from Administrative Tools . Even I tried to
uninstall and reinstall for at least 20 times, delete folder, remove
user/password on Administrative Tools.

Hi Truongxuan,


I once had also a problem with a deinstallation of PostgreSQL. I found that
script, It deletes everytthing what stays after the deinstallation.


echo on
@REM ********************************************************************************
@REM
@REM  NAME          : Remove_PostgreSQL_Total.CMD
@REM
@REM DESCRIPTION : Entfernt vollständig alle Verzeichnisse und Einträge die durch @REM die De-Installation von PostgreSQL nicht entfernt wurden.
@REM
@REM Diese Datei darf erst nach der De-Installtion von PostgreSQL @REM gestartet werden. Sie muß von dem User ausgeführt werden, unter @REM dem die Installation von PostgreSQL erfolgte. Normalerweise ist
@REM                  das der Administrator unter Windows.
@REM
@REM Die Verzeichnisse beziehen sich auf eine PostgreSQL-Standard-
@REM                  Installation!
@REM
@REM ********************************************************************************

@REM    -------------------------------------------------------------
@REM    Benutzerkonto, unter dem der PostgreSQL-Datenbankserver läuft
@REM    -------------------------------------------------------------

        @set WIN_USER=postgres

@REM ================================================================================

        NET USER %WIN_USER% /DELETE

rmdir /S /Q "%SystemDrive%\Dokumente und Einstellungen\%USERNAME%\Anwendungsdaten\PostgreSQL"
        rmdir /S /Q "%SystemDrive%\Dokumente und Einstellungen\%WIN_USER%"
        rmdir /S /Q "%ProgramFiles%\PostgreSQL"



Use this script AFTER the deinstallation of PostgreSQL as an administrator user.

maybe this helps.

with regards

René
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to