[MCOL-1812] Bulk Write SDK Windows installer uninstallation / alter - wrong execute credentials Created: 2018-10-16  Updated: 2023-10-26  Resolved: 2018-11-09

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.2.0
Fix Version/s: 1.2.1

Type: Bug Priority: Major
Reporter: Jens Röwekamp (Inactive) Assignee: Zdravelina Sokolovska (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows 10


Attachments: File MariaDB ColumnStore Bulk Write SDK-1.2.1-1-x64.msi    
Sprint: 2018-19, 2018-20

 Description   

If the Bulk Write SDK's MSI package is executed from the File Explorer after it was installed, it doesn't ask for Administrator credentials and therefore can't uninstall or alter the installation any more.

As workaround executing the MSI package from Windows 10's "Add or remove programs" dialog/screen does uninstall / alter the Bulk Write SDK correctly.



 Comments   
Comment by Jens Röwekamp (Inactive) [ 2018-10-19 ]

has something to do with the Python pymcsapi installation. If no Python was detected during installation the uninstall works as expected. If Python was detected during installation the uninstall doesn't work.

Comment by Jens Röwekamp (Inactive) [ 2018-10-19 ]

Needed to set the Python directory properties to secure.
Now we should be able to uninstall the Bulk Write SDK successfully if Python was detected during installation.

For QA:
Try to install and uninstall the bulk write SDK on 4 configurations of Windows 10

  1. with no Python installed
  2. with Python 2.7 installed
  3. with Python 3.7 installed
  4. with Python 2.7 and Python 3.7 installed

Confirm for all 4 configurations that the bulk write sdk was uninstalled successfully.
Uninstall through double clicking the msi package and not through the "Add or remove programs option" of the Windows Start menu.

Comment by Zdravelina Sokolovska (Inactive) [ 2018-11-08 ]

checked on Windows10 with the attached msi from MCOL-1671
uninstall failed after install, then
uninstall, install after each of the steps
1. with no Python installed
2. with Python 2.7 installed
3. with Python 2.7 and Python 3.7 installed
uninstall Python 2.7 and retry to uninstall the bulk write SDK:
fail to uninstall the bulk write SDK with only Python 3.7 installed
fail to uninstall the bulk write SDK after Python 2.7 was uninstalled
uninstall Python 3.7 too and retry to uninstall the bulk write SDK – failed

Comment by Jens Röwekamp (Inactive) [ 2018-11-08 ]

That is correct, the MSI provided in MCOL-1671 doesn't include the patch introduced in MCOL-1812.

I added a MSI with the patch to this ticket as buildbot is currently not building mcsapi's MSI packet.

Comment by Zdravelina Sokolovska (Inactive) [ 2018-11-09 ]

checked with the new build package MariaDB ColumnStore Bulk Write SDK-1.2.1-1
note:
As workaround in addition uninstall the MSI package from Windows 10's "Add or remove programs" dialog/screen does uninstall / alter the Bulk Write SDK correctly.

Generated at Thu Feb 08 02:31:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.