Skip to content

Commit aff745b

Browse files
author
Piotr Obrzut
committed
Bug#23593091: MYSQL SERVER MSI - REGISTRY ITEMS LEFT BEHIND WHEN > 1 SERVER VERSION INSTALLED
Fixed a bug, where WiX would assign the same GUID to registry key components belonging to different products. WiX is set generate GUID automatically based on the registry key path: 'SOFTWARE\MySQL AB\[ProductName]'. Unfortunatelly the [ProductName] variable would be evaluated after GUID generation.
1 parent 56c0ea0 commit aff745b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/WiX/mysql_server_extra.wxs.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
33

44
<!--
5-
Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
5+
Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
66

77
This program is free software; you can redistribute it and/or modify
88
it under the terms of the GNU General Public License as published by
@@ -69,7 +69,7 @@
6969
<RegistryKey
7070
Id='MySQLKey'
7171
Root='HKLM'
72-
Key='SOFTWARE\MySQL AB\[ProductName]'
72+
Key='SOFTWARE\MySQL AB\@PRODUCT_NAME@ @MAJOR_VERSION@.@MINOR_VERSION@'
7373
Action='createAndRemoveOnUninstall'>
7474
<RegistryValue
7575
Type='string'

0 commit comments

Comments
 (0)