BUG #18673: Uninstallation of second instance - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18673: Uninstallation of second instance
Date
Msg-id 18673-53b4cd3c6e529024@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18673
Logged by:          Adarsha Nadig S
Email address:      adarshanadig@live.com
PostgreSQL version: 16.4
Operating system:   Window 11
Description:

Hi, 

Postgres has been bundled using Wix installer packages with other
application . Based on the condition, if Postgres is already installed, a
new instance will be created in the Wix Installer's custom action.

using below command
<Postgres installation path>\16\bin> initdb.exe $"-D \"{pgDataPath}\"  -U
postgres -E 'UTF-8'" using command line tool. 

once its succeeded will register the service using below command line 
<Postgres installation path>\16\bin> g_ctl.exe register -N {pgServiceName}
-D \"{pgDataPath}\" -o \"-p {pgPortNumber}\""

But uninstallation of the main application will fail without any errors or
logs.  We only see the following logs in EventViewer.
Windows Installer installed the product. Product Name: {application name}.
Product Version: {application version}. Product Language: 1033.
Manufacturer: {Manufacturer Name}. Installation success or error status:
1603.


pgsql-bugs by date:

Previous
From: Sandeep Thakkar
Date:
Subject: Re: BUG #18668: [Windows] September 2024 releases (17.0, 16.4, etc) all include older libiconv-2.dll
Next
From: PG Bug reporting form
Date:
Subject: BUG #18674: Partitioned table doesn't depend on access method it uses