BUG #18673: Uninstallation of second instance

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: adarshanadig(at)live(dot)com
Subject: BUG #18673: Uninstallation of second instance
Date: 2024-10-25 13:38:33
Message-ID: 18673-53b4cd3c6e529024@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18673
Logged by: Adarsha Nadig S
Email address: adarshanadig(at)live(dot)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.

Browse pgsql-bugs by date

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