| 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
| 2 | |
| 3 | |
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | |
| 6 | <!-- |
| 7 | .NET Framework installation state properties |
| 8 | |
| 9 | Official documentation can be found at the following location: |
| 10 | |
| 11 | .NET Framework 2.0 - http://msdn.microsoft.com/library/aa480243.aspx |
| 12 | --> |
| 13 | |
| 14 | <!-- set to #1 if the .NET Framework 2.0 is installed (not set otherwise) --> |
| 15 | <Fragment> |
| 16 | <Property Id="NETFRAMEWORK20" Secure="yes"> |
| 17 | <RegistrySearch Id="NetFramework20" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="Install" Type="raw" /> |
| 18 | </Property> |
| 19 | </Fragment> |
| 20 | |
| 21 | <!-- Indicates the service pack level for the .NET Framework 2.0. --> |
| 22 | <Fragment> |
| 23 | <Property Id="NETFRAMEWORK20_SP_LEVEL" Secure="yes"> |
| 24 | <RegistrySearch Id="NetFramework20SP" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="SP" Type="raw" /> |
| 25 | </Property> |
| 26 | </Fragment> |
| 27 | |
| 28 | <!-- Location of .NET Framework 2.0 redistributable install root directory --> |
| 29 | <Fragment> |
| 30 | <Property Id="NETFRAMEWORK20INSTALLROOTDIR" Secure="yes"> |
| 31 | <RegistrySearch Id="NetFxInstallRootForNetfx20Search" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot"> |
| 32 | <DirectorySearch Id="NetFx20InstallRootSearch" Path="v2.0.50727" Depth="0" /> |
| 33 | </RegistrySearch> |
| 34 | </Property> |
| 35 | </Fragment> |
| 36 | |
| 37 | <!-- Location of .NET Framework 2.0 (64-bit) redistributable install root directory --> |
| 38 | <Fragment> |
| 39 | <Property Id="NETFRAMEWORK20INSTALLROOTDIR64" Secure="yes"> |
| 40 | <RegistrySearch Id="NetFxInstallRootForNetfx20Search64" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot" Bitness="always64"> |
| 41 | <DirectorySearch Id="NetFx20InstallRootSearch64" Path="v2.0.50727" Depth="0" /> |
| 42 | </RegistrySearch> |
| 43 | </Property> |
| 44 | </Fragment> |
| 45 | |
| 46 | <!-- set to #1 if the .NET Framework 2.0 Chinese (Simplified) language pack is installed (not set otherwise) --> |
| 47 | <Fragment> |
| 48 | <Property Id="NETFRAMEWORK20_ZH_CN_LANGPACK" Secure="yes"> |
| 49 | <RegistrySearch Id="NETFRAMEWORK20ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\2052" Name="Install" Type="raw" /> |
| 50 | </Property> |
| 51 | </Fragment> |
| 52 | |
| 53 | <!-- set to #1 if the .NET Framework 2.0 Chinese (Traditional) language pack is installed (not set otherwise) --> |
| 54 | <Fragment> |
| 55 | <Property Id="NETFRAMEWORK20_ZH_TW_LANGPACK" Secure="yes"> |
| 56 | <RegistrySearch Id="NETFRAMEWORK20ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1028" Name="Install" Type="raw" /> |
| 57 | </Property> |
| 58 | </Fragment> |
| 59 | |
| 60 | <!-- set to #1 if the .NET Framework 2.0 Czech language pack is installed (not set otherwise) --> |
| 61 | <Fragment> |
| 62 | <Property Id="NETFRAMEWORK20_CS_CZ_LANGPACK" Secure="yes"> |
| 63 | <RegistrySearch Id="NETFRAMEWORK20CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1029" Name="Install" Type="raw" /> |
| 64 | </Property> |
| 65 | </Fragment> |
| 66 | |
| 67 | <!-- set to #1 if the .NET Framework 2.0 Danish language pack is installed (not set otherwise) --> |
| 68 | <Fragment> |
| 69 | <Property Id="NETFRAMEWORK20_DA_DK_LANGPACK" Secure="yes"> |
| 70 | <RegistrySearch Id="NETFRAMEWORK20DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1030" Name="Install" Type="raw" /> |
| 71 | </Property> |
| 72 | </Fragment> |
| 73 | |
| 74 | <!-- set to #1 if the .NET Framework 2.0 Dutch language pack is installed (not set otherwise) --> |
| 75 | <Fragment> |
| 76 | <Property Id="NETFRAMEWORK20_NL_NL_LANGPACK" Secure="yes"> |
| 77 | <RegistrySearch Id="NETFRAMEWORK20NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1043" Name="Install" Type="raw" /> |
| 78 | </Property> |
| 79 | </Fragment> |
| 80 | |
| 81 | <!-- set to #1 if the .NET Framework 2.0 Finnish language pack is installed (not set otherwise) --> |
| 82 | <Fragment> |
| 83 | <Property Id="NETFRAMEWORK20_FI_FI_LANGPACK" Secure="yes"> |
| 84 | <RegistrySearch Id="NETFRAMEWORK20FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1035" Name="Install" Type="raw" /> |
| 85 | </Property> |
| 86 | </Fragment> |
| 87 | |
| 88 | <!-- set to #1 if the .NET Framework 2.0 French language pack is installed (not set otherwise) --> |
| 89 | <Fragment> |
| 90 | <Property Id="NETFRAMEWORK20_FR_FR_LANGPACK" Secure="yes"> |
| 91 | <RegistrySearch Id="NETFRAMEWORK20FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1036" Name="Install" Type="raw" /> |
| 92 | </Property> |
| 93 | </Fragment> |
| 94 | |
| 95 | <!-- set to #1 if the .NET Framework 2.0 German language pack is installed (not set otherwise) --> |
| 96 | <Fragment> |
| 97 | <Property Id="NETFRAMEWORK20_DE_DE_LANGPACK" Secure="yes"> |
| 98 | <RegistrySearch Id="NETFRAMEWORK20DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1031" Name="Install" Type="raw" /> |
| 99 | </Property> |
| 100 | </Fragment> |
| 101 | |
| 102 | <!-- set to #1 if the .NET Framework 2.0 Greek language pack is installed (not set otherwise) --> |
| 103 | <Fragment> |
| 104 | <Property Id="NETFRAMEWORK20_EL_GR_LANGPACK" Secure="yes"> |
| 105 | <RegistrySearch Id="NETFRAMEWORK20ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1032" Name="Install" Type="raw" /> |
| 106 | </Property> |
| 107 | </Fragment> |
| 108 | |
| 109 | <!-- set to #1 if the .NET Framework 2.0 Hungarian language pack is installed (not set otherwise) --> |
| 110 | <Fragment> |
| 111 | <Property Id="NETFRAMEWORK20_HU_HU_LANGPACK" Secure="yes"> |
| 112 | <RegistrySearch Id="NETFRAMEWORK20HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1038" Name="Install" Type="raw" /> |
| 113 | </Property> |
| 114 | </Fragment> |
| 115 | |
| 116 | <!-- set to #1 if the .NET Framework 2.0 Italian language pack is installed (not set otherwise) --> |
| 117 | <Fragment> |
| 118 | <Property Id="NETFRAMEWORK20_IT_IT_LANGPACK" Secure="yes"> |
| 119 | <RegistrySearch Id="NETFRAMEWORK20ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1040" Name="Install" Type="raw" /> |
| 120 | </Property> |
| 121 | </Fragment> |
| 122 | |
| 123 | <!-- set to #1 if the .NET Framework 2.0 Japanese language pack is installed (not set otherwise) --> |
| 124 | <Fragment> |
| 125 | <Property Id="NETFRAMEWORK20_JA_JP_LANGPACK" Secure="yes"> |
| 126 | <RegistrySearch Id="NETFRAMEWORK20JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1041" Name="Install" Type="raw" /> |
| 127 | </Property> |
| 128 | </Fragment> |
| 129 | |
| 130 | <!-- set to #1 if the .NET Framework 2.0 Korean language pack is installed (not set otherwise) --> |
| 131 | <Fragment> |
| 132 | <Property Id="NETFRAMEWORK20_KO_KR_LANGPACK" Secure="yes"> |
| 133 | <RegistrySearch Id="NETFRAMEWORK20KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1042" Name="Install" Type="raw" /> |
| 134 | </Property> |
| 135 | </Fragment> |
| 136 | |
| 137 | <!-- set to #1 if the .NET Framework 2.0 Norwegian language pack is installed (not set otherwise) --> |
| 138 | <Fragment> |
| 139 | <Property Id="NETFRAMEWORK20_NB_NO_LANGPACK" Secure="yes"> |
| 140 | <RegistrySearch Id="NETFRAMEWORK20NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1044" Name="Install" Type="raw" /> |
| 141 | </Property> |
| 142 | </Fragment> |
| 143 | |
| 144 | <!-- set to #1 if the .NET Framework 2.0 Polish language pack is installed (not set otherwise) --> |
| 145 | <Fragment> |
| 146 | <Property Id="NETFRAMEWORK20_PL_PL_LANGPACK" Secure="yes"> |
| 147 | <RegistrySearch Id="NETFRAMEWORK20PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1045" Name="Install" Type="raw" /> |
| 148 | </Property> |
| 149 | </Fragment> |
| 150 | |
| 151 | <!-- set to #1 if the .NET Framework 2.0 Portuguese (Brazil) language pack is installed (not set otherwise) --> |
| 152 | <Fragment> |
| 153 | <Property Id="NETFRAMEWORK20_PT_BR_LANGPACK" Secure="yes"> |
| 154 | <RegistrySearch Id="NETFRAMEWORK20PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1046" Name="Install" Type="raw" /> |
| 155 | </Property> |
| 156 | </Fragment> |
| 157 | |
| 158 | <!-- set to #1 if the .NET Framework 2.0 Portuguese (Portugal) language pack is installed (not set otherwise) --> |
| 159 | <Fragment> |
| 160 | <Property Id="NETFRAMEWORK20_PT_PT_LANGPACK" Secure="yes"> |
| 161 | <RegistrySearch Id="NETFRAMEWORK20PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\2070" Name="Install" Type="raw" /> |
| 162 | </Property> |
| 163 | </Fragment> |
| 164 | |
| 165 | <!-- set to #1 if the .NET Framework 2.0 Russian language pack is installed (not set otherwise) --> |
| 166 | <Fragment> |
| 167 | <Property Id="NETFRAMEWORK20_RU_RU_LANGPACK" Secure="yes"> |
| 168 | <RegistrySearch Id="NETFRAMEWORK20RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1049" Name="Install" Type="raw" /> |
| 169 | </Property> |
| 170 | </Fragment> |
| 171 | |
| 172 | <!-- set to #1 if the .NET Framework 2.0 Spanish language pack is installed (not set otherwise) --> |
| 173 | <Fragment> |
| 174 | <Property Id="NETFRAMEWORK20_ES_ES_LANGPACK" Secure="yes"> |
| 175 | <RegistrySearch Id="NETFRAMEWORK20EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\3082" Name="Install" Type="raw" /> |
| 176 | </Property> |
| 177 | </Fragment> |
| 178 | |
| 179 | <!-- set to #1 if the .NET Framework 2.0 Swedish language pack is installed (not set otherwise) --> |
| 180 | <Fragment> |
| 181 | <Property Id="NETFRAMEWORK20_SV_SE_LANGPACK" Secure="yes"> |
| 182 | <RegistrySearch Id="NETFRAMEWORK20SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1053" Name="Install" Type="raw" /> |
| 183 | </Property> |
| 184 | </Fragment> |
| 185 | |
| 186 | <!-- set to #1 if the .NET Framework 2.0 Turkish language pack is installed (not set otherwise) --> |
| 187 | <Fragment> |
| 188 | <Property Id="NETFRAMEWORK20_TR_TR_LANGPACK" Secure="yes"> |
| 189 | <RegistrySearch Id="NETFRAMEWORK20TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1055" Name="Install" Type="raw" /> |
| 190 | </Property> |
| 191 | </Fragment> |
| 192 | |
| 193 | <!-- location of the .NET Framework 2.0 SDK installation root --> |
| 194 | <Fragment> |
| 195 | <Property Id="NETFRAMEWORK20SDKDIR" Secure="yes"> |
| 196 | <RegistrySearch Id="NetFramework20SDKDir" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="sdkInstallRootv2.0" Type="raw" /> |
| 197 | </Property> |
| 198 | </Fragment> |
| 199 | |
| 200 | </Wix> |