pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: adarshanadig@live.com
Subject: BUG #18673: Uninstallation of second instance
Date: Fri, 25 Oct 2024 13:38:33 +0000
Message-ID: <18673-53b4cd3c6e529024@postgresql.org> (raw)

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.



Message-ID: <18673-53b4cd3c6e529024@postgresql.org>
Permalink:  ../18673-53b4cd3c6e529024@postgresql.org/
Also on:    postgresql.org/message-id/18673-53b4cd3c6e529024@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, adarshanadig@live.com
  Subject: Re: BUG #18673: Uninstallation of second instance
  In-Reply-To: <18673-53b4cd3c6e529024@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox