Thread: PostgreSQL 13.9.3 Uninstall fails with "Unable to initialize any installation mode"

PostgreSQL 13.9.3 Uninstall fails with "Unable to initialize any installation mode"

From
"Lawrence, Mike (DTST)"
Date:

Dell Customer Communication - Confidential

 

I recently installed PostgreSQL 13.9.3 on a newly build Window 11 22H1 system. When I attempt to uninstall, and I’ve tried numerous times, I receive the error "Unable to initialize any installation mode".

 

 

Mike Lawrence
Consultant Product Manager, Product Management
Dell Technologies | DT Services Technologies

Mike.Lawrence@Dell.com

Home Office:  Moorpark, CA

 

   

 

Delivering great customer experiences powered by value-added insights through technology. 

 

Attachment
On 2/10/23 08:28, Lawrence, Mike (DTST) wrote:
> Dell Customer Communication - Confidential
> 
> 
> I recently installed PostgreSQL 13.9.3 on a newly build Window 11 22H1 
> system. When I attempt to uninstall, and I’ve tried numerous times, I 
> receive the error "Unable to initialize any installation mode".

Where did you get the package you installed from?

What where the steps you took to uninstall?

> 
> *Mike Lawrence*
> Consultant Product Manager, Product Management
> *Dell Technologies*|DT Services Technologies
> 
> Mike.Lawrence@Dell.com <mailto:Mike.Lawrence@Dell.com>
> 
> Home Office:  Moorpark, CA
> 
> /Delivering great customer experiences powered by value-added insights 
> through technology./
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com




RE: PostgreSQL 13.9.3 Uninstall fails with "Unable to initialize any installation mode"

From
"Lawrence, Mike (DTST)"
Date:
Hi Adrian,
I downloaded "postgresql-13.9-3-windows-x64.exe" from
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads.

I went to Windows 11 Apps > Apps & Features, found PostgreSQL 13 and used the Uninstall option from there. I also tried
executing"C:\Program Files\PostgreSQL\13\uninstall-postgresql.exe" directly with and without Compatibility mode and had
thesame problem.
 


Mike


Internal Use - Confidential

-----Original Message-----
From: Adrian Klaver <adrian.klaver@aklaver.com> 
Sent: Friday, February 10, 2023 8:42 AM
To: Lawrence, Mike (DTST) <Mike.Lawrence@dell.com>; pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL 13.9.3 Uninstall fails with "Unable to initialize any installation mode"


[EXTERNAL EMAIL] 

On 2/10/23 08:28, Lawrence, Mike (DTST) wrote:
> Dell Customer Communication - Confidential
> 
> 
> I recently installed PostgreSQL 13.9.3 on a newly build Window 11 22H1 
> system. When I attempt to uninstall, and I’ve tried numerous times, I 
> receive the error "Unable to initialize any installation mode".

Where did you get the package you installed from?

What where the steps you took to uninstall?

> 
> *Mike Lawrence*
> Consultant Product Manager, Product Management *Dell Technologies*|DT 
> Services Technologies
> 
> Mike.Lawrence@Dell.com <mailto:Mike.Lawrence@Dell.com>
> 
> Home Office:  Moorpark, CA
> 
> /Delivering great customer experiences powered by value-added insights 
> through technology./
> 

--
Adrian Klaver
adrian.klaver@aklaver.com

On 2/10/23 9:56 AM, Lawrence, Mike (DTST) wrote:
> Hi Adrian,
> I downloaded "postgresql-13.9-3-windows-x64.exe" from
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads.
> 
> I went to Windows 11 Apps > Apps & Features, found PostgreSQL 13 and used the Uninstall option from there. I also
triedexecuting "C:\Program Files\PostgreSQL\13\uninstall-postgresql.exe" directly with and without Compatibility mode
andhad the same problem.
 

I am only an occasional Windows user and have not really used Windows 
11, so I don't have a way to test on my end.

I did find:


https://support.microsoft.com/en-us/windows/uninstall-or-remove-apps-and-programs-in-windows-4b55f974-2cc6-2d2b-d092-5905080eaf98

" Uninstall in Settings

     Select Start > Settings  > Apps > Apps & features .

     Find the app you want to remove, select More  > Uninstall.

Note: Some apps can't be uninstalled from the Settings app right now. 
For help uninstalling these apps, follow the instructions to uninstall 
from Control Panel.


  Uninstall from Control Panel

     In search on the taskbar, enter Control Panel and select it from 
the results.

     Select Programs > Programs and Features.

     Press and hold (or right-click) on the program you want to remove 
and select Uninstall or Uninstall/Change. Then follow the directions on 
the screen.

"


> 
> 
> Mike
> 
> 
> Internal Use - Confidential
> 
> -----Original Message-----
> From: Adrian Klaver <adrian.klaver@aklaver.com>
> Sent: Friday, February 10, 2023 8:42 AM
> To: Lawrence, Mike (DTST) <Mike.Lawrence@dell.com>; pgsql-general@lists.postgresql.org
> Subject: Re: PostgreSQL 13.9.3 Uninstall fails with "Unable to initialize any installation mode"
> 
> 
> [EXTERNAL EMAIL]
> 
> On 2/10/23 08:28, Lawrence, Mike (DTST) wrote:
>> Dell Customer Communication - Confidential
>>
>>
>> I recently installed PostgreSQL 13.9.3 on a newly build Window 11 22H1
>> system. When I attempt to uninstall, and I’ve tried numerous times, I
>> receive the error "Unable to initialize any installation mode".
> 
> Where did you get the package you installed from?
> 
> What where the steps you took to uninstall?
> 
>>
>> *Mike Lawrence*
>> Consultant Product Manager, Product Management *Dell Technologies*|DT
>> Services Technologies
>>
>> Mike.Lawrence@Dell.com <mailto:Mike.Lawrence@Dell.com>
>>
>> Home Office:  Moorpark, CA
>>
>> /Delivering great customer experiences powered by value-added insights
>> through technology./
>>
> 
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



RE: PostgreSQL 13.9.3 Uninstall fails with "Unable to initialize any installation mode"

From
"Lawrence, Mike (DTST)"
Date:
Thanks. Those I've tried.

I feel like it's related to Windows 11 as I never had trouble with SQL uninstalls in Windows 10.


Mike


Internal Use - Confidential

-----Original Message-----
From: Adrian Klaver <adrian.klaver@aklaver.com> 
Sent: Friday, February 10, 2023 10:08 AM
To: Lawrence, Mike (DTST) <Mike.Lawrence@dell.com>; pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL 13.9.3 Uninstall fails with "Unable to initialize any installation mode"


[EXTERNAL EMAIL] 

On 2/10/23 9:56 AM, Lawrence, Mike (DTST) wrote:
> Hi Adrian,
> I downloaded "postgresql-13.9-3-windows-x64.exe" from
https://urldefense.com/v3/__https://www.enterprisedb.com/downloads/postgres-postgresql-downloads__;!!LpKI!jb4U2mDde4K_Qa_r1Oc629RdMzkH-_iooRSGkbQW6D9LqqqF4czhLP-VijlRczhX3hHMwKLZwGWcz0VtVwbN0blchw$
[enterprisedb[.]com].
> 
> I went to Windows 11 Apps > Apps & Features, found PostgreSQL 13 and used the Uninstall option from there. I also
triedexecuting "C:\Program Files\PostgreSQL\13\uninstall-postgresql.exe" directly with and without Compatibility mode
andhad the same problem.
 

I am only an occasional Windows user and have not really used Windows 11, so I don't have a way to test on my end.

I did find:


https://urldefense.com/v3/__https://support.microsoft.com/en-us/windows/uninstall-or-remove-apps-and-programs-in-windows-4b55f974-2cc6-2d2b-d092-5905080eaf98__;!!LpKI!jb4U2mDde4K_Qa_r1Oc629RdMzkH-_iooRSGkbQW6D9LqqqF4czhLP-VijlRczhX3hHMwKLZwGWcz0VtVwbgFmpLwA$
[support[.]microsoft[.]com]

" Uninstall in Settings

     Select Start > Settings  > Apps > Apps & features .

     Find the app you want to remove, select More  > Uninstall.

Note: Some apps can't be uninstalled from the Settings app right now. 
For help uninstalling these apps, follow the instructions to uninstall from Control Panel.


  Uninstall from Control Panel

     In search on the taskbar, enter Control Panel and select it from 
the results.

     Select Programs > Programs and Features.

     Press and hold (or right-click) on the program you want to remove 
and select Uninstall or Uninstall/Change. Then follow the directions on 
the screen.

"


> 
> 
> Mike
> 
> 
> Internal Use - Confidential
> 
> -----Original Message-----
> From: Adrian Klaver <adrian.klaver@aklaver.com>
> Sent: Friday, February 10, 2023 8:42 AM
> To: Lawrence, Mike (DTST) <Mike.Lawrence@dell.com>; pgsql-general@lists.postgresql.org
> Subject: Re: PostgreSQL 13.9.3 Uninstall fails with "Unable to initialize any installation mode"
> 
> 
> [EXTERNAL EMAIL]
> 
> On 2/10/23 08:28, Lawrence, Mike (DTST) wrote:
>> Dell Customer Communication - Confidential
>>
>>
>> I recently installed PostgreSQL 13.9.3 on a newly build Window 11 22H1
>> system. When I attempt to uninstall, and I’ve tried numerous times, I
>> receive the error "Unable to initialize any installation mode".
> 
> Where did you get the package you installed from?
> 
> What where the steps you took to uninstall?
> 
>>
>> *Mike Lawrence*
>> Consultant Product Manager, Product Management *Dell Technologies*|DT
>> Services Technologies
>>
>> Mike.Lawrence@Dell.com <mailto:Mike.Lawrence@Dell.com>
>>
>> Home Office:  Moorpark, CA
>>
>> /Delivering great customer experiences powered by value-added insights
>> through technology./
>>
> 
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com

On 2/10/23 11:47, Lawrence, Mike (DTST) wrote:
> Thanks. Those I've tried.

Just to be clear you tried the Control Panel method and that did not work?

> 
> I feel like it's related to Windows 11 as I never had trouble with SQL uninstalls in Windows 10.
> 
> 
> Mike
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com