Bug #96940 Unable to unistall MySQL Server 5 .7 on Windows Server 2012
Submitted: 18 Sep 2019 21:39 Modified: 8 Oct 2019 17:18
Reporter: Stefano Passiatore Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.7.27 OS:Windows (Server 2012)
Assigned to: CPU Architecture:Other (x64)

[18 Sep 2019 21:39] Stefano Passiatore
Description:
Hi, I'm unable to uninstall MySQL Server 5.7 on my Windows Server 2012.
I've tried to:
 - Uninstall in "program installations" but, the progress bar during uninstall come back (like performing a rollback) to the start without uninstall
 - Try to Remove Mysql Server by MySQL Installar but the process failed with this log:

Beginning removal of MySQL Server 5.7.27.
1: Action 23:36:31: INSTALL. 
1: 1: MySQL Server 5.7 2: {FB709D10-253F-4362-A1DE-39A896CE5549} 
1: Action 23:36:31: FindRelatedProducts. Searching for related applications
1: Action 23:36:31: AppSearch. Searching for installed applications
1: Action 23:36:31: LaunchConditions. Evaluating launch conditions
1: Action 23:36:31: ValidateProductID. 
1: Action 23:36:31: CostInitialize. Computing space requirements
1: Action 23:36:31: FileCost. Computing space requirements
1: Action 23:36:31: CostFinalize. Computing space requirements
1: Action 23:36:31: MigrateFeatureStates. Migrating feature states from related applications
1: Action 23:36:31: InstallValidate. Validating install
1: Action 23:36:32: InstallInitialize. 
1: Action 23:36:32: GenerateScript. Generating script operations for action:
1: InstallInitialize
1: Action 23:36:32: QtRemoveService. 
1: 
1: Action 23:36:32: RemoveExistingProducts. Removing applications
1: Action 23:36:32: ProcessComponents. Updating component registration
1: Action 23:36:32: UnpublishFeatures. Unpublishing Product Features
1: Feature: Unpublishing Product Features
1: Action 23:36:32: SchedSecureObjectsRollback. 
1: Action 23:36:32: ExecSecureObjectsRollback. 
1: 
1: Action 23:36:32: ExecSecureObjectsRollback. 
1: 
1: Action 23:36:32: ExecSecureObjectsRollback. 
1: 
1: Action 23:36:32: ExecSecureObjectsRollback. 
1: 
1: Action 23:36:32: RemoveRegistryValues. Removing system registry values
1: Key: Removing system registry values, Name: 
1: Action 23:36:32: RemoveShortcuts. Removing shortcuts
1: Shortcut: Removing shortcuts
1: Action 23:36:32: RemoveFiles. Removing files
1: File: Removing files, Directory: 
1: Action 23:36:34: RemoveFolders. Removing folders
1: Folder: Removing folders
1: Action 23:36:34: CreateFolders. Creating folders
1: Action 23:36:34: InstallFiles. Copying new files
1: Action 23:36:34: CreateShortcuts. Creating shortcuts
1: Action 23:36:34: WriteRegistryValues. Writing system registry values
1: Action 23:36:34: InstallServices. Installing new services
1: Action 23:36:34: RegisterUser. Registering user
1: Action 23:36:34: RegisterProduct. Registering product
1: Action 23:36:34: PublishFeatures. Publishing Product Features
1: Action 23:36:34: PublishProduct. Publishing product information
1: Action 23:36:34: InstallFinalize. 
1: Action 23:36:34: InstallInitialize. 
1: Action 23:36:34: QtRemoveService. 
1: Action 23:36:34: Rollback. Rolling back action:
1: QtRemoveService
1: InstallInitialize
1: 1: MySQL Server 5.7 2: {FB709D10-253F-4362-A1DE-39A896CE5549} 3: 3 
1: The action 'Remove' for product 'MySQL Server 5.7.27' failed.

What's wrong?
Thanks

How to repeat:
I've installed MySQL Server 8, uninstalled this, installed Mysql Server 5.7.27 and try to uninstall... but it's very strange behaviour.
[18 Sep 2019 22:33] MySQL Verification Team
Thank you for the bug report.
[8 Oct 2019 17:18] Paul DuBois
Posted by developer:
 
Fixed in 5.7.29.

MySQL Installer was unable to uninstall MySQL 5.7 on Windows Server
2012.