Re: Can't install Postgres version 18

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Nicolai <nm280192(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can't install Postgres version 18
Date: 2026-06-12 17:10:27
Message-ID: 3560704a-d7a2-4003-a2d7-1399d9487dfb@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/12/26 9:59 AM, Nicolai wrote:
> Hi
>
> I did not use the edb to remove it, I used the installer file and then select remove. After that I delete the whole folder under c:/program file. Then a restart of the pc.

1) Confirm that you actually installed using the EDB installer.

2) Did you actually read the information at the link?

3) I'm going to say "I delete the whole folder under c:/program file."
is not helping.

>
> I have tried repair many times
>
>
> Hilsen
>
> Nicolai Friis
>
>> Den 12. jun. 2026 kl. 16.27 skrev Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>:
>>
>> On 6/12/26 5:07 AM, Nicolai Madsen wrote:
>>> Hi
>>> I had installed Postgres version 18 earlier on my PC, but I want to start over, and remove all of the DB's I have made. I couldn't figure out how to do that, so I googled and was told that I should uninstall postgres, stop the service in the task manager, and then delete the folder under C:/Program Files. AFter that I should restart the PC, and everything should be gone, and ready to be reinstalled. I did that, but each time I am trying to reinstall it, then it doesn't make any folders under Program Files, so the service can't be started. It just give me this warning
>>> image.png
>>> If I try to reinstall it again, it tells me that it is already installed, and asks me if I want to make a change, repair, or uninstallation. I have tried to choose that it should install the docs also, and then it creates the folder under program files, but it only contains the docs nothing else.
>>> I have tried to restart the PC, reinstall it and tried google how to solve this but no solution yet.
>>> I hope you could guide me the right way.
>>
>> 1) Assuming you are using the EDB installer did you follow the instructions here?:
>>
>> https://www.enterprisedb.com/docs/supported-open-source/postgresql/uninstalling/
>>
>> 2) Did you try the repair option on the reinstall?
>>
>>> --
>>> Hilsen
>>> Nicolai Friis Madsen
>>
>>
>> --
>> Adrian Klaver
>> adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2026-06-12 21:14:47 Re: Can't install Postgres version 18
Previous Message Nicolai 2026-06-12 16:59:50 Re: Can't install Postgres version 18