1<Include xmlns="http://schemas.microsoft.com/wix/2006/wi" 2 xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> 3 4<!-- 5 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License, version 2.0, 9 as published by the Free Software Foundation. 10 11 This program is also distributed with certain software (including 12 but not limited to OpenSSL) that is licensed under separate terms, 13 as designated in a particular file or component or in included license 14 documentation. The authors of MySQL hereby grant you an additional 15 permission to link the program and your derivative works with the 16 separately licensed software that they have included with MySQL. 17 18 This program is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 GNU General Public License, version 2.0, for more details. 22 23 You should have received a copy of the GNU General Public License 24 along with this program; if not, write to the Free Software 25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26--> 27 28 <!-- Datafiles that installation will copy to CommonAppData (initial database) 29 They are declared Permanent and NeverOverwrite since it is user data --> 30 <DirectoryRef Id='TARGETDIR'> 31 <Directory Id="CommonAppDataFolder"> 32 <Directory Id="datadir.mysql" Name="MySQL"> 33 <Directory Id="datadir.mysql.mysqlserver" 34 Name="MySQL Server @MAJOR_VERSION@.@MINOR_VERSION@"> 35 <Directory Id="DATADIR" Name="."> 36 <Component Id="component.datadir" Guid="d3491319-5dbc-4477-95f3-4f809ef1dd2d"> 37 <CreateFolder> 38 <util:PermissionEx User="[LogonUser]" GenericAll="yes" /> 39 </CreateFolder> 40 </Component> 41 <Directory Id="datadir.mysql.mysqlserver.data" Name="data"> 42 <Directory Id="datadir.mysql.mysqlserver.data.mysql" Name="mysql"> 43 <Component Id="component.datadir.mysql" 44 Guid="19ec0f1f-1a7f-424e-a788-b09346c0a709" 45 Permanent="yes" NeverOverwrite="yes"> 46 <CreateFolder> 47 <util:PermissionEx User="[LogonUser]" GenericAll="yes" /> 48 </CreateFolder> 49 @DATADIR_MYSQL_FILES@ 50 </Component> 51 </Directory> 52 <Directory Id="datadir.mysql.mysqlserver.data.performance_schema" 53 Name="performance_schema"> 54 <Component Id="component.datadir.performance_schema" 55 Guid="af2a6776-2655-431f-a748-9e9f4645acc3" 56 Permanent="yes" NeverOverwrite="yes"> 57 <CreateFolder> 58 <util:PermissionEx User="[LogonUser]" GenericAll="yes" /> 59 </CreateFolder> 60 @DATADIR_PERFORMANCE_SCHEMA_FILES@ 61 </Component> 62 </Directory> 63 <Directory Id="datadir.mysql.mysqlserver.data.test" Name="test"> 64 <Component Id="component.datadir.test" Guid="52fa9f0a-fcd1-420a-b2ac-95a8f70ad20a"> 65 <CreateFolder/> 66 </Component> 67 </Directory> 68 </Directory> 69 </Directory> 70 </Directory> 71 </Directory> 72 </Directory> 73 </DirectoryRef> 74 75 <Feature Id='UserEditableDataFiles' 76 Title='Server data files' 77 Description='Server data files' 78 ConfigurableDirectory='DATADIR' 79 Level='1'> 80 <ComponentRef Id="component.datadir"/> 81 <ComponentRef Id="component.datadir.mysql"/> 82 <ComponentRef Id="component.datadir.performance_schema"/> 83 <ComponentRef Id="component.datadir.test"/> 84 </Feature> 85</Include> 86 87 88 89