Bug #99818 mysql-installer-community-8.0.20 msi fails to install server - windows 10 Enterp
Submitted: 9 Jun 2020 7:00 Modified: 10 Jul 2020 12:58
Reporter: Tariq Rafique Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:mysql installer 8.0.20 OS:Windows (Windows 10 Enterprise)
Assigned to: CPU Architecture:x86 (10.0.19041)
Tags: installation fails, mysql 8.0.20, mysql fails, mysql installer 8.0.20

[9 Jun 2020 7:00] Tariq Rafique
Description:
Hi team,

i am trying to install mysql community 8.0.20 installer on Windows 10 Enterprise version 10.0.19041 and it fails at ExecSecureObjects..
There are no specific error details or log available that we can check, investigate or try to fix.
Your help is much appreciated. 
I have tried to install multiple time and didn't succeed.

However, i successful installed mysql version 8.0.0 and i can't upgrade from version 8.0.0 to latest versions, no obvious reason but same error...
Please guide.

Installer details:
==========================
1: Action 11:52:12: INSTALL. 
1: 1: MySQL Server 8.0 2: {332134EE-2367-4612-B18D-10C5B821615E} 
1: Action 11:52:12: FindRelatedProducts. Searching for related applications
1: Action 11:52:12: AppSearch. Searching for installed applications
1: Action 11:52:12: DwordToNumber. 
1: Action 11:52:12: LaunchConditions. Evaluating launch conditions
1: Action 11:52:12: ValidateProductID. 
1: Action 11:52:12: CostInitialize. Computing space requirements
1: Action 11:52:12: FileCost. Computing space requirements
1: Action 11:52:12: CostFinalize. Computing space requirements
1: Action 11:52:12: MigrateFeatureStates. Migrating feature states from related applications
1: Action 11:52:12: InstallValidate. Validating install
1: Action 11:52:13: SaveTargetDir. 
1: Action 11:52:13: InstallInitialize. 
1: Action 11:52:13: SetQtRemoveService. 
1: Action 11:52:13: RemoveExistingProducts. Removing applications
1: Action 11:52:13: ProcessComponents. Updating component registration
1: Action 11:52:14: GenerateScript. Generating script operations for action:
1: Updating component registration
1: Action 11:52:15: UnpublishFeatures. Unpublishing Product Features
1: Action 11:52:15: SchedSecureObjectsRollback. 
1: Action 11:52:15: RemoveRegistryValues. Removing system registry values
1: Action 11:52:15: RemoveShortcuts. Removing shortcuts
1: Action 11:52:15: RemoveFiles. Removing files
1: Action 11:52:15: RemoveFolders. Removing folders
1: Action 11:52:15: CreateFolders. Creating folders
1: Folder: Creating folders
1: Action 11:52:15: InstallFiles. Copying new files
1: File: Copying new files,  Directory: ,  Size: 
1: Action 11:52:16: CreateShortcuts. Creating shortcuts
1: Shortcut: Creating shortcuts
1: Action 11:52:16: WriteRegistryValues. Writing system registry values
1: Key: Writing system registry values, Name: , Value: 
1: Action 11:52:16: InstallServices. Installing new services
1: Action 11:52:16: SchedSecureObjects. 
1: Action 11:52:16: ExecSecureObjects. 
1: 
1: Action 11:52:16: RegisterUser. Registering user
1: Action 11:52:16: RegisterProduct. Registering product
1: Registering product
1: Action 11:52:16: PublishFeatures. Publishing Product Features
1: Feature: Publishing Product Features
1: Action 11:52:16: PublishProduct. Publishing product information
1: Action 11:52:16: InstallFinalize. 
1: Action 11:52:16: ProcessComponents. Updating component registration
1: Action 11:52:17: CreateFolders. Creating folders
...
...
....
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: , Value: 
1: Key: \Software\MySQL AB\MySQL Server 8.0, Name: installed, Value: #1
1: Action 11:52:30: ExecSecureObjects. 
1: Action 11:52:30: Rollback. Rolling back action:
1: ExecSecureObjects
1: Writing system registry values
1: Creating shortcuts
1: Copying new files
1: Creating folders
1: Updating component registration
1: 1: MySQL Server 8.0 2: {332134EE-2367-4612-B18D-10C5B821615E} 3: 3 
1: The action 'Install' for product 'MySQL Server 8.0.20' failed.

How to repeat:
Run mysql community installer 8.0.20 in Windows 10 Enterprise and it will end up with the above mentioned error..

Suggested fix:
Requesting a fix or suggestion on how to install the product successfully...
[9 Jun 2020 8:05] Tariq Rafique
Error log

Attachment: 8.0.20 fails error.log (application/octet-stream, text), 24.24 KiB.

[9 Jun 2020 8:27] Tariq Rafique
The installer fails due to "Server data files", un-select the server data files component while installing and the issue is resolved.

However, i don't know down-side of not installing server data files.

The guidelines are copied below and can be found at  http://installer365.rssing.com/chan-5192689/latest.php

---------------------------------------------------------

MySQL Server 8.0 failed installation (Server Data Files, ExecSecureObjects) (no replies)
March 19, 2020, 9:29 am
Hello all,

some users have reported problems when attempting to install MySQL Server using MySQL Installer. Recent reports are mostly related to the installation failing when the MSI action "ExecSecureObjects" is executed. Execution of this MSI action is triggered by the MSI feature "Server data files" which is selected by default.

Note that this issue is now being looked at by the corresponding team. In the meantime, please follow below steps which have proven to allow the successful installation in many cases.

1. Execute MySQL Installer.
2. Select "MySQL Server" for installation in the "Select Products and Features" page.
3. Unselect "Server data files" feature by expanding the "MySQL Server" node in the "Products/Features To Be Installed" tree view.
4. Proceed with the installation in a normal fashion.
5. Configure MySQL Server as needed.

Regards,

====================================
Jose Ramirez
MySQL on Windows Team
[10 Jul 2020 12:58] MySQL Verification Team
Hello Tariq Rafique,

Thank you for the bug report.
Imho this is duplicate of Bug #99009, please see Bug #99009.

Regards,
Ashwini Patil