[MDEV-27546] The installer does not check that the selected directory is empty (does not contain the old version of MariaDB) Created: 2022-01-19  Updated: 2023-01-12  Resolved: 2022-01-31

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform Windows
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7
Fix Version/s: 10.6.6, 10.7.2

Type: Bug Priority: Major
Reporter: Lena Startseva Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
causes MDEV-27828 Unable to upgrade MariaDB 10.6.5 to M... Closed
causes MDEV-30374 Setup wizard on windows checks instal... Closed

 Description   

Steps:

  1. Install old version of MariaDB (e.g. 10.6.5) in directory "C:\Program Files\MariaDB\"
  2. Try to install new version of MariaDB (e.g. 10.7.1) in the same directory ("C:\Program Files\MariaDB\")

Expected result:
The installer will warn you that the directory is not empty, or will not allow you to install a new version in this directory at all

Actual result:
The new version is installed in the specified directory, Windows considers that there are two versions in this directory.


Generated at Thu Feb 08 09:53:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.