Bug #97264 MySQL for Windows: Installer fails when selecting No to upgrading Installer
Submitted: 16 Oct 2019 20:29 Modified: 17 Oct 2019 7:56
Reporter: Christopher Reese Email Updates:
Status: Can't repeat Impact on me:
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:1.4.30 OS:Windows (Server 2008 R2)
Assigned to: CPU Architecture:x86

[16 Oct 2019 20:29] Christopher Reese
Launching MySQL Installer for Windows Community prompts to upgraded MySQL Installer. Selecting No will error. Relaunching installer also errors.

Logs show:
mysql-installer Information: 10 : Loading product manifest
mysql-installer Error: 50 : Error during XML parsing of file C:\ProgramData\MySQL\MySQL Installer for Windows\Manifest\products.xml. The error was:
System.InvalidOperationException: There is an error in XML document (14307, 400). ---> System.InvalidOperationException: Instance validation error: 'CompatibleRelatedVersion' is not a valid value for UpgradeType.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderProductManifest.Read8_UpgradeType(String s)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderProductManifest.Read9_ProductSeries(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderProductManifest.Read10_Product(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderProductManifest.Read12_ProductCategory(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderProductManifest.Read13_ProductManifest(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderProductManifest.Read14_ProductManifest()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
   at MySql.Installer.Core.Product.ProductManifest.Load(String fileName)
mysql-installer Error: 50 : Product manifest loading failed. Exiting now.

How to repeat:
Launching the MySQL Installer for Windows Community prompts to upgraded MySQL Installer. Selecting No will error. Relaunching installer automatically errors.

Suggested fix:
Uninstall MySQL Installer for Windows (Community)
Download latest MySQL Installer for Windows (Community) 1.4.31
[17 Oct 2019 7:56] MySQL Verification Team
Thank you for the bug report. I couldn't repeat with latest version of MySQL Installer, there isn't back-port fix for older version on this case 1.4.30.