Patch for Redmine Bug 5587

From: Paresh More <paresh(dot)more(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Cc: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>
Subject: Patch for Redmine Bug 5587
Date: 2020-06-22 07:31:29
Message-ID: CAAgiCNEHz51LRvPozJrbNCc2bL9F21qcsMVYXOhjL-twaVZT1w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello Dave,

This is regarding issue #5587 (Handle Windows x32/x64 installation using
Innotool)
https://redmine.postgresql.org/issues/5587

This patch will make sure the following thing

- pgAdmin4 windows installer should restrict the user not to install
32bit and 64bit parallelly.
- It should not allow pgAdmin4 install x64 if x32 is installed Or vice
versa, only upgrade of the same type should be allowed.

- If user has already installed 32bit installer and try to install 64bit
it should throw an error as "You already have a 32bit installation of
pgAdmin 4. Please uninstall this before installing the 64bit version."

- If user has already installed 64bit installer and try to install 32bit
it should throw an error as "You already have a 64 bit installation of
pgAdmin 4. Please uninstall this before installing the 32 bit version."

It's working fine at my end.

Attached is the patch for the same.

--

Thanks & Regards

*Paresh More*

[image: NEW-EDB-logo-4c]

Pune, India.
Cell : +919922000564 | www.enterprisedb.com

Attachment Content-Type Size
5587_v1.patch application/octet-stream 3.3 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-06-22 07:36:44 pgAdmin 4 commit: Update Japanese translation.
Previous Message Yogesh Mahajan 2020-06-22 06:31:06 [pgAdmin] : Patch fixing Feature Test failures.