Roxen.git / server / etc / RoxenUI.wxs

version» Context lines:

Roxen.git/server/etc/RoxenUI.wxs:1331:    <DirectorySearch Id="OLDCONFIGURATIONS" Path="[TARGETDIR]..\configurations">    <FileSearch LongName="Global_Variables" MinSize="128" />    </DirectorySearch>    </Property>    <Property Id="MYSQLLOCATIONLOCATION">    <DirectorySearch Id="MysqlLocationLocation" Path="[TARGETDIR]">    <FileSearch LongName="mysql-location.txt" />    </DirectorySearch>    </Property>    <Property Id="MYSQLDEXE"> -  <RegistrySearch Id="MariaDB101Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 10.1" Name="INSTALLDIR" Type="raw"> -  <DirectorySearch Id="MysqldBin1" Path="bin"> -  <FileSearch LongName="mysqld.exe" /> +  <!-- NOTE: Reverse order of priority. Last matching entry wins. --> +  <RegistrySearch Id="Mysql50Location1" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqldBin10" Path="bin"> +  <FileSearch LongName="mysqld-nt.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="MariaDB100Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 10.0" Name="INSTALLDIR" Type="raw"> -  <DirectorySearch Id="MysqldBin2" Path="bin"> +  <RegistrySearch Id="Mysql50Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqldBin9" Path="bin">    <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </RegistrySearch> -  <!-- FIXME: Is the following correct? --> -  <RegistrySearch Id="MariaDB55Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 5.5" Name="INSTALLDIR" Type="raw"> -  <DirectorySearch Id="MysqldBin3" Path="bin"> +  <RegistrySearch Id="Mysql51Location1" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.1" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqldBin8" Path="bin"> +  <FileSearch LongName="mysqld-nt.exe" /> +  </DirectorySearch> +  </RegistrySearch> +  <RegistrySearch Id="Mysql51Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.1" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqldBin7" Path="bin">    <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </RegistrySearch>    <!-- FIXME: Is the following correct? --> -  <RegistrySearch Id="Mysql57Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.7" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqldBin4" Path="bin"> +  <RegistrySearch Id="Mysql55Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.5" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqldBin6" Path="bin">    <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </RegistrySearch>    <!-- FIXME: Is the following correct? -->    <RegistrySearch Id="Mysql56Location" Root="HKLM"    Key="SOFTWARE\MySQL AB\MySQL Server 5.6" Name="Location" Type="raw">    <DirectorySearch Id="MysqldBin5" Path="bin">    <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </RegistrySearch>    <!-- FIXME: Is the following correct? --> -  <RegistrySearch Id="Mysql55Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.5" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqldBin6" Path="bin"> +  <RegistrySearch Id="Mysql57Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.7" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqldBin4" Path="bin">    <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mysql51Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.1" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqldBin7" Path="bin"> +  <!-- FIXME: Is the following correct? --> +  <RegistrySearch Id="MariaDB55Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 5.5" Name="INSTALLDIR" Type="raw"> +  <DirectorySearch Id="MysqldBin3" Path="bin">    <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mysql51Location1" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.1" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqldBin8" Path="bin"> -  <FileSearch LongName="mysqld-nt.exe" /> +  <RegistrySearch Id="MariaDB101Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 10.1" Name="INSTALLDIR" Type="raw"> +  <DirectorySearch Id="MysqldBin1" Path="bin"> +  <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mysql50Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqldBin9" Path="bin"> +  <RegistrySearch Id="MariaDB100Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 10.0" Name="INSTALLDIR" Type="raw"> +  <DirectorySearch Id="MysqldBin2" Path="bin">    <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mysql50Location1" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqldBin10" Path="bin"> -  <FileSearch LongName="mysqld-nt.exe" /> -  </DirectorySearch> -  </RegistrySearch> +     </Property>    <Property Id="FALLBACKMYSQLDEXE"> -  <DirectorySearch Id="FMariaDBLocation" Path="[ProgramFilesFolder]\MariaDB" Depth="2"> -  <DirectorySearch Id="FMariaDBBase"> -  <DirectorySearch Id="FMariaDBBin" Path="bin"> -  <FileSearch LongName="mysqld.exe" /> -  </DirectorySearch> -  </DirectorySearch> -  </DirectorySearch> +  <!-- NOTE: Reverse order of priority. Last matching entry wins. -->    <DirectorySearch Id="FMysqlLocation51" Path="[ProgramFilesFolder]\MySQL" Depth="2">    <DirectorySearch Id="FMysqlBase51">    <DirectorySearch Id="FMysqlBin51" Path="bin">    <FileSearch LongName="mysqld-nt.exe" />    </DirectorySearch>    </DirectorySearch>    </DirectorySearch>    <DirectorySearch Id="FMysqlLocation5" Path="[ProgramFilesFolder]\MySQL" Depth="2">    <DirectorySearch Id="FMysqlBase5">    <DirectorySearch Id="FMysqlBin5" Path="bin">    <FileSearch LongName="mysqld.exe" />    </DirectorySearch>    </DirectorySearch>    </DirectorySearch> -  +  <DirectorySearch Id="FMariaDBLocation" Path="[ProgramFilesFolder]\MariaDB" Depth="2"> +  <DirectorySearch Id="FMariaDBBase"> +  <DirectorySearch Id="FMariaDBBin" Path="bin"> +  <FileSearch LongName="mysqld.exe" /> +  </DirectorySearch> +  </DirectorySearch> +  </DirectorySearch>    </Property>    <Property Id="MYISAMCHKEXE"> -  <RegistrySearch Id="Mariaisam101Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 10.1" Name="Location" Type="raw"> -  <DirectorySearch Id="MyisamBin1" Path="bin"> +  <!-- NOTE: Reverse order of priority. Last matching entry wins. --> +  <RegistrySearch Id="Myisam50Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> +  <DirectorySearch Id="MyisamBin8" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mariaisam100Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 10.0" Name="Location" Type="raw"> -  <DirectorySearch Id="MyisamBin2" Path="bin"> +  <RegistrySearch Id="Myisam51Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.1" Name="Location" Type="raw"> +  <DirectorySearch Id="MyisamBin7" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mariaisam55Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 5.5" Name="Location" Type="raw"> -  <DirectorySearch Id="MyisamBin3" Path="bin"> +  <RegistrySearch Id="Myisam55Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.5" Name="Location" Type="raw"> +  <DirectorySearch Id="MyisamBin6" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Myisam57Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.7" Name="Location" Type="raw"> -  <DirectorySearch Id="MyisamBin4" Path="bin"> -  <FileSearch LongName="myisamchk.exe" /> -  </DirectorySearch> -  </RegistrySearch> +     <RegistrySearch Id="Myisam56Location" Root="HKLM"    Key="SOFTWARE\MySQL AB\MySQL Server 5.6" Name="Location" Type="raw">    <DirectorySearch Id="MyisamBin5" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Myisam55Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.5" Name="Location" Type="raw"> -  <DirectorySearch Id="MyisamBin6" Path="bin"> +  <RegistrySearch Id="Myisam57Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.7" Name="Location" Type="raw"> +  <DirectorySearch Id="MyisamBin4" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Myisam51Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.1" Name="Location" Type="raw"> -  <DirectorySearch Id="MyisamBin7" Path="bin"> +  <RegistrySearch Id="Mariaisam55Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 5.5" Name="Location" Type="raw"> +  <DirectorySearch Id="MyisamBin3" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Myisam50Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> -  <DirectorySearch Id="MyisamBin8" Path="bin"> +  <RegistrySearch Id="Mariaisam101Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 10.1" Name="Location" Type="raw"> +  <DirectorySearch Id="MyisamBin1" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </RegistrySearch> -  +  <RegistrySearch Id="Mariaisam100Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 10.0" Name="Location" Type="raw"> +  <DirectorySearch Id="MyisamBin2" Path="bin"> +  <FileSearch LongName="myisamchk.exe" /> +  </DirectorySearch> +  </RegistrySearch>    </Property>    <Property Id="FALLBACKMYISAMCHKEXE"> -  <DirectorySearch Id="FMariaisamLocation5" Path="[ProgramFilesFolder]\MariaDB" Depth="2"> -  <DirectorySearch Id="FMariaisamBase5"> -  <DirectorySearch Id="FMariaisamBin5" Path="bin"> +  <!-- NOTE: Reverse order of priority. Last matching entry wins. --> +  <DirectorySearch Id="FMyisamLocation5" Path="[ProgramFilesFolder]\MySQL" Depth="2"> +  <DirectorySearch Id="FMyisamBase5"> +  <DirectorySearch Id="FMyisamBin5" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </DirectorySearch>    </DirectorySearch> -  <DirectorySearch Id="FMyisamLocation5" Path="[ProgramFilesFolder]\MySQL" Depth="2"> -  <DirectorySearch Id="FMyisamBase5"> -  <DirectorySearch Id="FMyisamBin5" Path="bin"> +  <DirectorySearch Id="FMariaisamLocation5" Path="[ProgramFilesFolder]\MariaDB" Depth="2"> +  <DirectorySearch Id="FMariaisamBase5"> +  <DirectorySearch Id="FMariaisamBin5" Path="bin">    <FileSearch LongName="myisamchk.exe" />    </DirectorySearch>    </DirectorySearch>    </DirectorySearch>    </Property>    <Property Id="MYSQLADMINEXE"> -  <RegistrySearch Id="Mariadbadmin101Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 10.1" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqladminBin1" Path="bin"> +  <!-- NOTE: Reverse order of priority. Last matching entry wins. --> +  <RegistrySearch Id="Mysqladmin50Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqladminBin8" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mariadbadmin100Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 10.0" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqladminBin2" Path="bin"> +  <RegistrySearch Id="Mysqladmin51Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.1" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqladminBin7" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mariadbadmin55Location" Root="HKLM" -  Key="SOFTWARE\Monty Program AB\MariaDB 5.5" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqladminBin3" Path="bin"> +  <RegistrySearch Id="Mysqladmin55Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.5" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqladminBin6" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mysqladmin57Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.7" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqladminBin4" Path="bin"> -  <FileSearch LongName="mysqladmin.exe" /> -  </DirectorySearch> -  </RegistrySearch> +     <RegistrySearch Id="Mysqladmin56Location" Root="HKLM"    Key="SOFTWARE\MySQL AB\MySQL Server 5.6" Name="Location" Type="raw">    <DirectorySearch Id="MysqladminBin5" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mysqladmin55Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.5" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqladminBin6" Path="bin"> +  <RegistrySearch Id="Mysqladmin57Location" Root="HKLM" +  Key="SOFTWARE\MySQL AB\MySQL Server 5.7" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqladminBin4" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mysqladmin51Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.1" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqladminBin7" Path="bin"> +  <RegistrySearch Id="Mariadbadmin55Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 5.5" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqladminBin3" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </RegistrySearch> -  <RegistrySearch Id="Mysqladmin50Location" Root="HKLM" -  Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> -  <DirectorySearch Id="MysqladminBin8" Path="bin"> +  <RegistrySearch Id="Mariadbadmin101Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 10.1" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqladminBin1" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </RegistrySearch> -  +  <RegistrySearch Id="Mariadbadmin100Location" Root="HKLM" +  Key="SOFTWARE\Monty Program AB\MariaDB 10.0" Name="Location" Type="raw"> +  <DirectorySearch Id="MysqladminBin2" Path="bin"> +  <FileSearch LongName="mysqladmin.exe" /> +  </DirectorySearch> +  </RegistrySearch>    </Property>    <Property Id="FALLBACKMYSQLADMINEXE"> -  <DirectorySearch Id="FMariadbadminLocation5" Path="[ProgramFilesFolder]\MariaDB" Depth="2"> -  <DirectorySearch Id="FMariadbadminBase5"> -  <DirectorySearch Id="FMariadbadminBin5" Path="bin"> +  <!-- NOTE: Reverse order of priority. Last matching entry wins. --> +  <DirectorySearch Id="FMysqladminLocation5" Path="[ProgramFilesFolder]\MySQL" Depth="2"> +  <DirectorySearch Id="FMysqladminBase5"> +  <DirectorySearch Id="FMysqladminBin5" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </DirectorySearch>    </DirectorySearch> -  <DirectorySearch Id="FMysqladminLocation5" Path="[ProgramFilesFolder]\MySQL" Depth="2"> -  <DirectorySearch Id="FMysqladminBase5"> -  <DirectorySearch Id="FMysqladminBin5" Path="bin"> +  <DirectorySearch Id="FMariadbadminLocation5" Path="[ProgramFilesFolder]\MariaDB" Depth="2"> +  <DirectorySearch Id="FMariadbadminBase5"> +  <DirectorySearch Id="FMariadbadminBin5" Path="bin">    <FileSearch LongName="mysqladmin.exe" />    </DirectorySearch>    </DirectorySearch>    </DirectorySearch>    </Property>    <Property Id="MYSQLBASE"> -  <RegistrySearchRef Id="MariaDB101Location" /> -  <RegistrySearchRef Id="MariaDB100Location" /> -  <RegistrySearchRef Id="MariaDB55Location" /> -  <RegistrySearchRef Id="Mysql57Location" /> -  <RegistrySearchRef Id="Mysql56Location" /> -  <RegistrySearchRef Id="Mysql55Location" /> -  <RegistrySearchRef Id="Mysql51Location" /> -  <RegistrySearchRef Id="Mysql51Location1" /> -  <RegistrySearchRef Id="Mysql50Location" /> +  <!-- NOTE: Reverse order of priority. Last matching entry wins. -->    <RegistrySearchRef Id="Mysql50Location1" /> -  +  <RegistrySearchRef Id="Mysql50Location" /> +  <RegistrySearchRef Id="Mysql51Location1" /> +  <RegistrySearchRef Id="Mysql51Location" /> +  <RegistrySearchRef Id="Mysql55Location" /> +  <RegistrySearchRef Id="Mysql56Location" /> +  <RegistrySearchRef Id="Mysql57Location" /> +  <RegistrySearchRef Id="MariaDB55Location" /> +  <RegistrySearchRef Id="MariaDB100Location" /> +  <RegistrySearchRef Id="MariaDB101Location" />    </Property>    <Property Id="FALLBACKMYSQLBASE"> -  <DirectorySearchRef Id="FMariaDBBase" Parent="FMariaDBLocation"/> -  <DirectorySearchRef Id="FMysqlBase51" Parent="FMysqlLocation51"/> +  <!-- NOTE: Reverse order of priority. Last matching entry wins. -->    <DirectorySearchRef Id="FMysqlBase5" Parent="FMysqlLocation5"/> -  +  <DirectorySearchRef Id="FMysqlBase51" Parent="FMysqlLocation51"/> +  <DirectorySearchRef Id="FMariaDBBase" Parent="FMariaDBLocation"/>    </Property>    <Property Id="MYSQLDEBUG2">    <RegistrySearchRef Id="Mysql51Location" />    </Property>    <Property Id="MYSQLDEBUG21">    <RegistrySearchRef Id="Mysql51Location1" />    </Property>    <Property Id="MYSQLDEBUG3">    <RegistrySearchRef Id="Mysql50Location" />    </Property>