|
115 | 115 | <!-- License -->
|
116 | 116 | <WixVariable Id="WixUILicenseRtf" Value="@LICENSE_RTF@" />
|
117 | 117 |
|
118 |
| - <!-- Installation root--> |
| 118 | + <!-- |
| 119 | + Register installed connector in the CMake system package registry. |
| 120 | + See https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#system-package-registry |
| 121 | + --> |
| 122 | + |
| 123 | + <Component |
| 124 | + Id="CMAKE_PACKAGE_REGISTRY" |
| 125 | + Guid="7548d925-f065-482f-aea5-295500955198" |
| 126 | + Directory="INSTALLDIR" |
| 127 | + > |
119 | 128 |
|
| 129 | + <RegistryValue |
| 130 | + Root="HKLM" |
| 131 | + Key="Software\Kitware\CMake\Packages\mysql-concpp" |
| 132 | + Type="string" |
| 133 | + Name="mysql-msi-installation" |
| 134 | + Value="[INSTALLDIR]" |
| 135 | + /> |
| 136 | + |
| 137 | + </Component> |
120 | 138 |
|
121 | 139 | <!-- WIX_FEATURES -->
|
122 | 140 | <Feature Id="XDEVAPI" Title="New X DevAPI connector" Description="New X DevAPI connector" ConfigurableDirectory="INSTALLDIR" Level="1">
|
|
125 | 143 | <ComponentGroupRef Id="componentgroup.OpenSSLDll" />
|
126 | 144 | </Feature>
|
127 | 145 | <Feature Id="XDevAPIDev" Title="Development Components" Description="Connector C++ headers, static libraries and import libraries" ConfigurableDirectory="INSTALLDIR" Level="4">
|
| 146 | + <ComponentGroupRef Id="componentgroup.DevCommon" /> |
128 | 147 | <ComponentGroupRef Id="componentgroup.XDevAPIDev" />
|
129 | 148 | <ComponentGroupRef Id="componentgroup.OpenSSLDev" />
|
| 149 | + <ComponentRef Id="CMAKE_PACKAGE_REGISTRY" /> |
130 | 150 | </Feature>
|
131 | 151 | </Feature>
|
132 | 152 |
|
|
136 | 156 | <ComponentGroupRef Id="componentgroup.OpenSSLDll" />
|
137 | 157 | </Feature>
|
138 | 158 | <Feature Id="JDBCDev" Title="Development Components" Description="Installs legacy JDBC API connector dev files" ConfigurableDirectory="INSTALLDIR" Level="4">
|
| 159 | + <ComponentGroupRef Id="componentgroup.DevCommon" /> |
139 | 160 | <ComponentGroupRef Id="componentgroup.JDBCDev" />
|
140 | 161 | <ComponentGroupRef Id="componentgroup.OpenSSLDev" />
|
| 162 | + <ComponentRef Id="CMAKE_PACKAGE_REGISTRY" /> |
141 | 163 | </Feature>
|
142 | 164 | </Feature>
|
143 | 165 |
|
|
147 | 169 | <ComponentGroupRef Id="componentgroup.Readme" />
|
148 | 170 | </Feature>
|
149 | 171 |
|
150 |
| - <!-- |
151 |
| - Register installed connector in the CMake system package registry. |
152 |
| - See https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#system-package-registry |
153 |
| - --> |
154 |
| - |
155 |
| - <Component |
156 |
| - Id="CMAKE_PACKAGE_REGISTRY" |
157 |
| - Guid="7548d925-f065-482f-aea5-295500955198" |
158 |
| - Directory="INSTALLDIR" |
159 |
| - > |
160 |
| - |
161 |
| - <RegistryValue |
162 |
| - Root="HKLM" |
163 |
| - Key="Software\Kitware\CMake\Packages\mysql-concpp" |
164 |
| - Type="string" |
165 |
| - Name="mysql-msi-installation" |
166 |
| - Value="[INSTALLDIR]" |
167 |
| - /> |
168 |
| - |
169 |
| - </Component> |
170 |
| - |
171 | 172 | </Feature>
|
172 | 173 |
|
173 | 174 |
|
|
0 commit comments