| 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" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> |
| 5 | |
| 6 | <!-- |
| 7 | .NET Framework installation state properties |
| 8 | |
| 9 | Official documentation can be found at the following locations: |
| 10 | |
| 11 | .NET Framework 3.5 - http://msdn.microsoft.com/library/cc160716.aspx |
| 12 | .NET Framework 3.5 client profile - http://download.microsoft.com/download/5/a/a/5aa86d6c-969b-42d8-bc6b-30e02bfeccf0/NETFXClientProfile_DeploymentGuide.htm |
| 13 | --> |
| 14 | |
| 15 | <!-- Indicates the service pack level for the .NET Framework 3.5 (for bundles). --> |
| 16 | <Fragment> |
| 17 | <util:RegistrySearch Id="NETFRAMEWORK35_SP_LEVEL" Variable="NETFRAMEWORK35_SP_LEVEL" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5" Value="SP" Result="value" /> |
| 18 | </Fragment> |
| 19 | |
| 20 | <!-- set to #1 if the .NET Framework 3.5 is installed (not set otherwise) --> |
| 21 | <Fragment> |
| 22 | <Property Id="NETFRAMEWORK35" Secure="yes"> |
| 23 | <RegistrySearch Id="NetFramework35" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5" Name="Install" Type="raw" /> |
| 24 | </Property> |
| 25 | </Fragment> |
| 26 | |
| 27 | <!-- Indicates the service pack level for the .NET Framework 3.5. --> |
| 28 | <Fragment> |
| 29 | <Property Id="NETFRAMEWORK35_SP_LEVEL" Secure="yes"> |
| 30 | <RegistrySearch Id="NetFramework35SP" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5" Name="SP" Type="raw" /> |
| 31 | </Property> |
| 32 | </Fragment> |
| 33 | |
| 34 | <!-- Location of .NET Framework 3.5 redistributable install root directory --> |
| 35 | <Fragment> |
| 36 | <Property Id="NETFRAMEWORK35INSTALLROOTDIR" Secure="yes"> |
| 37 | <RegistrySearch Id="NetFxInstallRootForNetfx35Search" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot"> |
| 38 | <DirectorySearch Id="NetFx35InstallRootSearch" Path="v3.5" Depth="0" /> |
| 39 | </RegistrySearch> |
| 40 | </Property> |
| 41 | </Fragment> |
| 42 | |
| 43 | <!-- Location of .NET Framework 3.5 (64-bit) redistributable install root directory --> |
| 44 | <Fragment> |
| 45 | <Property Id="NETFRAMEWORK35INSTALLROOTDIR64" Secure="yes"> |
| 46 | <RegistrySearch Id="NetFxInstallRootForNetfx35Search64" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot" Bitness="always64"> |
| 47 | <DirectorySearch Id="NetFx35InstallRootSearch64" Path="v3.5" Depth="0" /> |
| 48 | </RegistrySearch> |
| 49 | </Property> |
| 50 | </Fragment> |
| 51 | |
| 52 | <!-- set to #1 if the .NET Framework 3.5 Chinese (Simplified) language pack is installed (not set otherwise) --> |
| 53 | <Fragment> |
| 54 | <Property Id="NETFRAMEWORK35_ZH_CN_LANGPACK" Secure="yes"> |
| 55 | <RegistrySearch Id="NETFRAMEWORK35ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\2052" Name="Install" Type="raw" /> |
| 56 | </Property> |
| 57 | </Fragment> |
| 58 | |
| 59 | <!-- set to #1 if the .NET Framework 3.5 Chinese (Traditional) language pack is installed (not set otherwise) --> |
| 60 | <Fragment> |
| 61 | <Property Id="NETFRAMEWORK35_ZH_TW_LANGPACK" Secure="yes"> |
| 62 | <RegistrySearch Id="NETFRAMEWORK35ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1028" Name="Install" Type="raw" /> |
| 63 | </Property> |
| 64 | </Fragment> |
| 65 | |
| 66 | <!-- set to #1 if the .NET Framework 3.5 Czech language pack is installed (not set otherwise) --> |
| 67 | <Fragment> |
| 68 | <Property Id="NETFRAMEWORK35_CS_CZ_LANGPACK" Secure="yes"> |
| 69 | <RegistrySearch Id="NETFRAMEWORK35CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1029" Name="Install" Type="raw" /> |
| 70 | </Property> |
| 71 | </Fragment> |
| 72 | |
| 73 | <!-- set to #1 if the .NET Framework 3.5 Danish language pack is installed (not set otherwise) --> |
| 74 | <Fragment> |
| 75 | <Property Id="NETFRAMEWORK35_DA_DK_LANGPACK" Secure="yes"> |
| 76 | <RegistrySearch Id="NETFRAMEWORK35DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1030" Name="Install" Type="raw" /> |
| 77 | </Property> |
| 78 | </Fragment> |
| 79 | |
| 80 | <!-- set to #1 if the .NET Framework 3.5 Dutch language pack is installed (not set otherwise) --> |
| 81 | <Fragment> |
| 82 | <Property Id="NETFRAMEWORK35_NL_NL_LANGPACK" Secure="yes"> |
| 83 | <RegistrySearch Id="NETFRAMEWORK35NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1043" Name="Install" Type="raw" /> |
| 84 | </Property> |
| 85 | </Fragment> |
| 86 | |
| 87 | <!-- set to #1 if the .NET Framework 3.5 Finnish language pack is installed (not set otherwise) --> |
| 88 | <Fragment> |
| 89 | <Property Id="NETFRAMEWORK35_FI_FI_LANGPACK" Secure="yes"> |
| 90 | <RegistrySearch Id="NETFRAMEWORK35FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1035" Name="Install" Type="raw" /> |
| 91 | </Property> |
| 92 | </Fragment> |
| 93 | |
| 94 | <!-- set to #1 if the .NET Framework 3.5 French language pack is installed (not set otherwise) --> |
| 95 | <Fragment> |
| 96 | <Property Id="NETFRAMEWORK35_FR_FR_LANGPACK" Secure="yes"> |
| 97 | <RegistrySearch Id="NETFRAMEWORK35FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1036" Name="Install" Type="raw" /> |
| 98 | </Property> |
| 99 | </Fragment> |
| 100 | |
| 101 | <!-- set to #1 if the .NET Framework 3.5 German language pack is installed (not set otherwise) --> |
| 102 | <Fragment> |
| 103 | <Property Id="NETFRAMEWORK35_DE_DE_LANGPACK" Secure="yes"> |
| 104 | <RegistrySearch Id="NETFRAMEWORK35DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1031" Name="Install" Type="raw" /> |
| 105 | </Property> |
| 106 | </Fragment> |
| 107 | |
| 108 | <!-- set to #1 if the .NET Framework 3.5 Greek language pack is installed (not set otherwise) --> |
| 109 | <Fragment> |
| 110 | <Property Id="NETFRAMEWORK35_EL_GR_LANGPACK" Secure="yes"> |
| 111 | <RegistrySearch Id="NETFRAMEWORK35ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1032" Name="Install" Type="raw" /> |
| 112 | </Property> |
| 113 | </Fragment> |
| 114 | |
| 115 | <!-- set to #1 if the .NET Framework 3.5 Hungarian language pack is installed (not set otherwise) --> |
| 116 | <Fragment> |
| 117 | <Property Id="NETFRAMEWORK35_HU_HU_LANGPACK" Secure="yes"> |
| 118 | <RegistrySearch Id="NETFRAMEWORK35HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1038" Name="Install" Type="raw" /> |
| 119 | </Property> |
| 120 | </Fragment> |
| 121 | |
| 122 | <!-- set to #1 if the .NET Framework 3.5 Italian language pack is installed (not set otherwise) --> |
| 123 | <Fragment> |
| 124 | <Property Id="NETFRAMEWORK35_IT_IT_LANGPACK" Secure="yes"> |
| 125 | <RegistrySearch Id="NETFRAMEWORK35ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1040" Name="Install" Type="raw" /> |
| 126 | </Property> |
| 127 | </Fragment> |
| 128 | |
| 129 | <!-- set to #1 if the .NET Framework 3.5 Japanese language pack is installed (not set otherwise) --> |
| 130 | <Fragment> |
| 131 | <Property Id="NETFRAMEWORK35_JA_JP_LANGPACK" Secure="yes"> |
| 132 | <RegistrySearch Id="NETFRAMEWORK35JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1041" Name="Install" Type="raw" /> |
| 133 | </Property> |
| 134 | </Fragment> |
| 135 | |
| 136 | <!-- set to #1 if the .NET Framework 3.5 Korean language pack is installed (not set otherwise) --> |
| 137 | <Fragment> |
| 138 | <Property Id="NETFRAMEWORK35_KO_KR_LANGPACK" Secure="yes"> |
| 139 | <RegistrySearch Id="NETFRAMEWORK35KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1042" Name="Install" Type="raw" /> |
| 140 | </Property> |
| 141 | </Fragment> |
| 142 | |
| 143 | <!-- set to #1 if the .NET Framework 3.5 Norwegian language pack is installed (not set otherwise) --> |
| 144 | <Fragment> |
| 145 | <Property Id="NETFRAMEWORK35_NB_NO_LANGPACK" Secure="yes"> |
| 146 | <RegistrySearch Id="NETFRAMEWORK35NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1044" Name="Install" Type="raw" /> |
| 147 | </Property> |
| 148 | </Fragment> |
| 149 | |
| 150 | <!-- set to #1 if the .NET Framework 3.5 Polish language pack is installed (not set otherwise) --> |
| 151 | <Fragment> |
| 152 | <Property Id="NETFRAMEWORK35_PL_PL_LANGPACK" Secure="yes"> |
| 153 | <RegistrySearch Id="NETFRAMEWORK35PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1045" Name="Install" Type="raw" /> |
| 154 | </Property> |
| 155 | </Fragment> |
| 156 | |
| 157 | <!-- set to #1 if the .NET Framework 3.5 Portuguese (Brazil) language pack is installed (not set otherwise) --> |
| 158 | <Fragment> |
| 159 | <Property Id="NETFRAMEWORK35_PT_BR_LANGPACK" Secure="yes"> |
| 160 | <RegistrySearch Id="NETFRAMEWORK35PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1046" Name="Install" Type="raw" /> |
| 161 | </Property> |
| 162 | </Fragment> |
| 163 | |
| 164 | <!-- set to #1 if the .NET Framework 3.5 Portuguese (Portugal) language pack is installed (not set otherwise) --> |
| 165 | <Fragment> |
| 166 | <Property Id="NETFRAMEWORK35_PT_PT_LANGPACK" Secure="yes"> |
| 167 | <RegistrySearch Id="NETFRAMEWORK35PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\2070" Name="Install" Type="raw" /> |
| 168 | </Property> |
| 169 | </Fragment> |
| 170 | |
| 171 | <!-- set to #1 if the .NET Framework 3.5 Russian language pack is installed (not set otherwise) --> |
| 172 | <Fragment> |
| 173 | <Property Id="NETFRAMEWORK35_RU_RU_LANGPACK" Secure="yes"> |
| 174 | <RegistrySearch Id="NETFRAMEWORK35RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1049" Name="Install" Type="raw" /> |
| 175 | </Property> |
| 176 | </Fragment> |
| 177 | |
| 178 | <!-- set to #1 if the .NET Framework 3.5 Spanish language pack is installed (not set otherwise) --> |
| 179 | <Fragment> |
| 180 | <Property Id="NETFRAMEWORK35_ES_ES_LANGPACK" Secure="yes"> |
| 181 | <RegistrySearch Id="NETFRAMEWORK35EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\3082" Name="Install" Type="raw" /> |
| 182 | </Property> |
| 183 | </Fragment> |
| 184 | |
| 185 | <!-- set to #1 if the .NET Framework 3.5 Swedish language pack is installed (not set otherwise) --> |
| 186 | <Fragment> |
| 187 | <Property Id="NETFRAMEWORK35_SV_SE_LANGPACK" Secure="yes"> |
| 188 | <RegistrySearch Id="NETFRAMEWORK35SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1053" Name="Install" Type="raw" /> |
| 189 | </Property> |
| 190 | </Fragment> |
| 191 | |
| 192 | <!-- set to #1 if the .NET Framework 3.5 Turkish language pack is installed (not set otherwise) --> |
| 193 | <Fragment> |
| 194 | <Property Id="NETFRAMEWORK35_TR_TR_LANGPACK" Secure="yes"> |
| 195 | <RegistrySearch Id="NETFRAMEWORK35TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1055" Name="Install" Type="raw" /> |
| 196 | </Property> |
| 197 | </Fragment> |
| 198 | |
| 199 | <!-- set to #1 if the .NET Framework 3.5 client profile is installed (not set otherwise) --> |
| 200 | <Fragment> |
| 201 | <Property Id="NETFRAMEWORK35_CLIENT" Secure="yes"> |
| 202 | <RegistrySearch Id="NETFRAMEWORK35ClientSearch" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\DotNetClient\v3.5" Name="Install" Type="raw" /> |
| 203 | </Property> |
| 204 | </Fragment> |
| 205 | |
| 206 | <!-- Indicates the service pack level for the .NET Framework 3.5 client profile --> |
| 207 | <Fragment> |
| 208 | <Property Id="NETFRAMEWORK35_CLIENT_SP_LEVEL" Secure="yes"> |
| 209 | <RegistrySearch Id="NETFRAMEWORK35ClientSpSearch" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\DotNetClient\v3.5" Name="SP" Type="raw" /> |
| 210 | </Property> |
| 211 | </Fragment> |
| 212 | |
| 213 | <!-- location of the Windows SDK 6.0a installation root --> |
| 214 | <Fragment> |
| 215 | <Property Id="WINDOWSSDK60ADIR" Secure="yes"> |
| 216 | <RegistrySearch Id="WindowsSdk60aDir" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows\v6.0A" Name="InstallationFolder" Type="raw" /> |
| 217 | </Property> |
| 218 | </Fragment> |
| 219 | |
| 220 | <!-- location of the Windows SDK 6.1 installation root --> |
| 221 | <Fragment> |
| 222 | <Property Id="WINDOWSSDK61DIR" Secure="yes"> |
| 223 | <RegistrySearch Id="WindowsSdk61Dir" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows\v6.1" Name="InstallationFolder" Type="raw" /> |
| 224 | </Property> |
| 225 | </Fragment> |
| 226 | |
| 227 | <!-- location of the Windows SDK 7.0 installation root --> |
| 228 | <Fragment> |
| 229 | <Property Id="WINDOWSSDK70ADIR" Secure="yes"> |
| 230 | <RegistrySearch Id="WindowsSdk70aDir" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows\v7.0A" Name="InstallationFolder" Type="raw" /> |
| 231 | </Property> |
| 232 | </Fragment> |
| 233 | |
| 234 | </Wix> |