diff options
author | Rob Mensching <rob@firegiant.com> | 2018-01-01 10:30:42 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-01-01 22:47:02 -0800 |
commit | 60d7baefb4e87bf0ddaae58a653faee0be0429f6 (patch) | |
tree | e520865fd6da2368c5d33a4c98cca457bd8a8343 /src/wixlib | |
parent | 9c66865ab3e4b3c4cbcb721e22fd668dd4350afa (diff) | |
download | wix-60d7baefb4e87bf0ddaae58a653faee0be0429f6.tar.gz wix-60d7baefb4e87bf0ddaae58a653faee0be0429f6.tar.bz2 wix-60d7baefb4e87bf0ddaae58a653faee0be0429f6.zip |
Initial code commit
Diffstat (limited to 'src/wixlib')
-rw-r--r-- | src/wixlib/NetFx1.1.wxs | 192 | ||||
-rw-r--r-- | src/wixlib/NetFx1.wxs | 31 | ||||
-rw-r--r-- | src/wixlib/NetFx2.wxs | 201 | ||||
-rw-r--r-- | src/wixlib/NetFx3.5.wxs | 241 | ||||
-rw-r--r-- | src/wixlib/NetFx3.wxs | 195 | ||||
-rw-r--r-- | src/wixlib/NetFx4.5.wxs | 274 | ||||
-rw-r--r-- | src/wixlib/NetFx4.wxs | 543 | ||||
-rw-r--r-- | src/wixlib/NetFx451.wxs | 96 | ||||
-rw-r--r-- | src/wixlib/NetFx452.wxs | 95 | ||||
-rw-r--r-- | src/wixlib/NetFx46.wxs | 96 | ||||
-rw-r--r-- | src/wixlib/NetFx461.wxs | 95 | ||||
-rw-r--r-- | src/wixlib/NetFx462.wxs | 95 | ||||
-rw-r--r-- | src/wixlib/NetFxExtension.wxs | 39 | ||||
-rw-r--r-- | src/wixlib/NetFxExtension_Platform.wxi | 28 | ||||
-rw-r--r-- | src/wixlib/NetFxExtension_x86.wxs | 8 | ||||
-rw-r--r-- | src/wixlib/caSuffix.wxi | 28 | ||||
-rw-r--r-- | src/wixlib/netfx.wixproj | 53 | ||||
-rw-r--r-- | src/wixlib/packages.config | 6 |
18 files changed, 2316 insertions, 0 deletions
diff --git a/src/wixlib/NetFx1.1.wxs b/src/wixlib/NetFx1.1.wxs new file mode 100644 index 00000000..406aef3f --- /dev/null +++ b/src/wixlib/NetFx1.1.wxs | |||
@@ -0,0 +1,192 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 1.1 - http://msdn.microsoft.com/library/ms994339.aspx | ||
13 | --> | ||
14 | |||
15 | <!-- set to #1 if the .NET Framework 1.1 is installed (not set otherwise) --> | ||
16 | <Fragment> | ||
17 | <Property Id="NETFRAMEWORK11" Secure="yes"> | ||
18 | <RegistrySearch Id="NetFramework11" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322" Name="Install" Type="raw" /> | ||
19 | </Property> | ||
20 | </Fragment> | ||
21 | |||
22 | <!-- Indicates the service pack level for the .NET Framework 1.1. --> | ||
23 | <Fragment> | ||
24 | <Property Id="NETFRAMEWORK11_SP_LEVEL" Secure="yes"> | ||
25 | <RegistrySearch Id="NetFramework11SP" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322" Name="SP" Type="raw" /> | ||
26 | </Property> | ||
27 | </Fragment> | ||
28 | |||
29 | <!-- Location of .NET Framework 1.1 redistributable install root directory --> | ||
30 | <Fragment> | ||
31 | <Property Id="NETFRAMEWORK11INSTALLROOTDIR" Secure="yes"> | ||
32 | <RegistrySearch Id="NetFxInstallRootForNetfx11Search" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot"> | ||
33 | <DirectorySearch Id="NetFx11InstallRootSearch" Path="v1.1.4322" Depth="0" /> | ||
34 | </RegistrySearch> | ||
35 | </Property> | ||
36 | </Fragment> | ||
37 | |||
38 | <!-- set to #1 if the .NET Framework 1.1 Chinese (Simplified) language pack is installed (not set otherwise) --> | ||
39 | <Fragment> | ||
40 | <Property Id="NETFRAMEWORK11_ZH_CN_LANGPACK" Secure="yes"> | ||
41 | <RegistrySearch Id="NetFramework11ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\2052" Name="Install" Type="raw" /> | ||
42 | </Property> | ||
43 | </Fragment> | ||
44 | |||
45 | <!-- set to #1 if the .NET Framework 1.1 Chinese (Traditional) language pack is installed (not set otherwise) --> | ||
46 | <Fragment> | ||
47 | <Property Id="NETFRAMEWORK11_ZH_TW_LANGPACK" Secure="yes"> | ||
48 | <RegistrySearch Id="NetFramework11ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1028" Name="Install" Type="raw" /> | ||
49 | </Property> | ||
50 | </Fragment> | ||
51 | |||
52 | <!-- set to #1 if the .NET Framework 1.1 Czech language pack is installed (not set otherwise) --> | ||
53 | <Fragment> | ||
54 | <Property Id="NETFRAMEWORK11_CS_CZ_LANGPACK" Secure="yes"> | ||
55 | <RegistrySearch Id="NetFramework11CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1029" Name="Install" Type="raw" /> | ||
56 | </Property> | ||
57 | </Fragment> | ||
58 | |||
59 | <!-- set to #1 if the .NET Framework 1.1 Danish language pack is installed (not set otherwise) --> | ||
60 | <Fragment> | ||
61 | <Property Id="NETFRAMEWORK11_DA_DK_LANGPACK" Secure="yes"> | ||
62 | <RegistrySearch Id="NetFramework11DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1030" Name="Install" Type="raw" /> | ||
63 | </Property> | ||
64 | </Fragment> | ||
65 | |||
66 | <!-- set to #1 if the .NET Framework 1.1 Dutch language pack is installed (not set otherwise) --> | ||
67 | <Fragment> | ||
68 | <Property Id="NETFRAMEWORK11_NL_NL_LANGPACK" Secure="yes"> | ||
69 | <RegistrySearch Id="NetFramework11NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1043" Name="Install" Type="raw" /> | ||
70 | </Property> | ||
71 | </Fragment> | ||
72 | |||
73 | <!-- set to #1 if the .NET Framework 1.1 Finnish language pack is installed (not set otherwise) --> | ||
74 | <Fragment> | ||
75 | <Property Id="NETFRAMEWORK11_FI_FI_LANGPACK" Secure="yes"> | ||
76 | <RegistrySearch Id="NetFramework11FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1035" Name="Install" Type="raw" /> | ||
77 | </Property> | ||
78 | </Fragment> | ||
79 | |||
80 | <!-- set to #1 if the .NET Framework 1.1 French language pack is installed (not set otherwise) --> | ||
81 | <Fragment> | ||
82 | <Property Id="NETFRAMEWORK11_FR_FR_LANGPACK" Secure="yes"> | ||
83 | <RegistrySearch Id="NetFramework11FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1036" Name="Install" Type="raw" /> | ||
84 | </Property> | ||
85 | </Fragment> | ||
86 | |||
87 | <!-- set to #1 if the .NET Framework 1.1 German language pack is installed (not set otherwise) --> | ||
88 | <Fragment> | ||
89 | <Property Id="NETFRAMEWORK11_DE_DE_LANGPACK" Secure="yes"> | ||
90 | <RegistrySearch Id="NetFramework11DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1031" Name="Install" Type="raw" /> | ||
91 | </Property> | ||
92 | </Fragment> | ||
93 | |||
94 | <!-- set to #1 if the .NET Framework 1.1 Greek language pack is installed (not set otherwise) --> | ||
95 | <Fragment> | ||
96 | <Property Id="NETFRAMEWORK11_EL_GR_LANGPACK" Secure="yes"> | ||
97 | <RegistrySearch Id="NetFramework11ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1032" Name="Install" Type="raw" /> | ||
98 | </Property> | ||
99 | </Fragment> | ||
100 | |||
101 | <!-- set to #1 if the .NET Framework 1.1 Hungarian language pack is installed (not set otherwise) --> | ||
102 | <Fragment> | ||
103 | <Property Id="NETFRAMEWORK11_HU_HU_LANGPACK" Secure="yes"> | ||
104 | <RegistrySearch Id="NetFramework11HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1038" Name="Install" Type="raw" /> | ||
105 | </Property> | ||
106 | </Fragment> | ||
107 | |||
108 | <!-- set to #1 if the .NET Framework 1.1 Italian language pack is installed (not set otherwise) --> | ||
109 | <Fragment> | ||
110 | <Property Id="NETFRAMEWORK11_IT_IT_LANGPACK" Secure="yes"> | ||
111 | <RegistrySearch Id="NetFramework11ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1040" Name="Install" Type="raw" /> | ||
112 | </Property> | ||
113 | </Fragment> | ||
114 | |||
115 | <!-- set to #1 if the .NET Framework 1.1 Japanese language pack is installed (not set otherwise) --> | ||
116 | <Fragment> | ||
117 | <Property Id="NETFRAMEWORK11_JA_JP_LANGPACK" Secure="yes"> | ||
118 | <RegistrySearch Id="NetFramework11JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1041" Name="Install" Type="raw" /> | ||
119 | </Property> | ||
120 | </Fragment> | ||
121 | |||
122 | <!-- set to #1 if the .NET Framework 1.1 Korean language pack is installed (not set otherwise) --> | ||
123 | <Fragment> | ||
124 | <Property Id="NETFRAMEWORK11_KO_KR_LANGPACK" Secure="yes"> | ||
125 | <RegistrySearch Id="NetFramework11KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1042" Name="Install" Type="raw" /> | ||
126 | </Property> | ||
127 | </Fragment> | ||
128 | |||
129 | <!-- set to #1 if the .NET Framework 1.1 Norwegian language pack is installed (not set otherwise) --> | ||
130 | <Fragment> | ||
131 | <Property Id="NETFRAMEWORK11_NB_NO_LANGPACK" Secure="yes"> | ||
132 | <RegistrySearch Id="NetFramework11NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1044" Name="Install" Type="raw" /> | ||
133 | </Property> | ||
134 | </Fragment> | ||
135 | |||
136 | <!-- set to #1 if the .NET Framework 1.1 Polish language pack is installed (not set otherwise) --> | ||
137 | <Fragment> | ||
138 | <Property Id="NETFRAMEWORK11_PL_PL_LANGPACK" Secure="yes"> | ||
139 | <RegistrySearch Id="NetFramework11PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1045" Name="Install" Type="raw" /> | ||
140 | </Property> | ||
141 | </Fragment> | ||
142 | |||
143 | <!-- set to #1 if the .NET Framework 1.1 Portuguese (Brazil) language pack is installed (not set otherwise) --> | ||
144 | <Fragment> | ||
145 | <Property Id="NETFRAMEWORK11_PT_BR_LANGPACK" Secure="yes"> | ||
146 | <RegistrySearch Id="NetFramework11PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1046" Name="Install" Type="raw" /> | ||
147 | </Property> | ||
148 | </Fragment> | ||
149 | |||
150 | <!-- set to #1 if the .NET Framework 1.1 Portuguese (Portugal) language pack is installed (not set otherwise) --> | ||
151 | <Fragment> | ||
152 | <Property Id="NETFRAMEWORK11_PT_PT_LANGPACK" Secure="yes"> | ||
153 | <RegistrySearch Id="NetFramework11PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\2070" Name="Install" Type="raw" /> | ||
154 | </Property> | ||
155 | </Fragment> | ||
156 | |||
157 | <!-- set to #1 if the .NET Framework 1.1 Russian language pack is installed (not set otherwise) --> | ||
158 | <Fragment> | ||
159 | <Property Id="NETFRAMEWORK11_RU_RU_LANGPACK" Secure="yes"> | ||
160 | <RegistrySearch Id="NetFramework11RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1049" Name="Install" Type="raw" /> | ||
161 | </Property> | ||
162 | </Fragment> | ||
163 | |||
164 | <!-- set to #1 if the .NET Framework 1.1 Spanish language pack is installed (not set otherwise) --> | ||
165 | <Fragment> | ||
166 | <Property Id="NETFRAMEWORK11_ES_ES_LANGPACK" Secure="yes"> | ||
167 | <RegistrySearch Id="NetFramework11EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\3082" Name="Install" Type="raw" /> | ||
168 | </Property> | ||
169 | </Fragment> | ||
170 | |||
171 | <!-- set to #1 if the .NET Framework 1.1 Swedish language pack is installed (not set otherwise) --> | ||
172 | <Fragment> | ||
173 | <Property Id="NETFRAMEWORK11_SV_SE_LANGPACK" Secure="yes"> | ||
174 | <RegistrySearch Id="NetFramework11SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1053" Name="Install" Type="raw" /> | ||
175 | </Property> | ||
176 | </Fragment> | ||
177 | |||
178 | <!-- set to #1 if the .NET Framework 1.1 Turkish language pack is installed (not set otherwise) --> | ||
179 | <Fragment> | ||
180 | <Property Id="NETFRAMEWORK11_TR_TR_LANGPACK" Secure="yes"> | ||
181 | <RegistrySearch Id="NetFramework11TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\1055" Name="Install" Type="raw" /> | ||
182 | </Property> | ||
183 | </Fragment> | ||
184 | |||
185 | <!-- location of the .NET Framework 1.1 SDK installation root --> | ||
186 | <Fragment> | ||
187 | <Property Id="NETFRAMEWORK11SDKDIR" Secure="yes"> | ||
188 | <RegistrySearch Id="NetFramework11SDKDir" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="sdkInstallRootv1.1" Type="raw" /> | ||
189 | </Property> | ||
190 | </Fragment> | ||
191 | |||
192 | </Wix> | ||
diff --git a/src/wixlib/NetFx1.wxs b/src/wixlib/NetFx1.wxs new file mode 100644 index 00000000..c1b266e8 --- /dev/null +++ b/src/wixlib/NetFx1.wxs | |||
@@ -0,0 +1,31 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 1.0 - http://msdn.microsoft.com/library/ms994349.aspx | ||
13 | --> | ||
14 | |||
15 | <!-- set to 3321-3705 if the .NET Framework 1.0 is installed (not set otherwise) --> | ||
16 | <Fragment> | ||
17 | <Property Id="NETFRAMEWORK10" Secure="yes"> | ||
18 | <RegistrySearch Id="NetFramework10" Root="HKLM" Key="SOFTWARE\Microsoft\.NETFramework\policy\v1.0" Name="3705" Type="raw" /> | ||
19 | </Property> | ||
20 | </Fragment> | ||
21 | |||
22 | <!-- Location of .NET Framework 1.0 redistributable install root directory --> | ||
23 | <Fragment> | ||
24 | <Property Id="NETFRAMEWORK10INSTALLROOTDIR" Secure="yes"> | ||
25 | <RegistrySearch Id="NetFxInstallRootForNetfx10Search" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot"> | ||
26 | <DirectorySearch Id="NetFx10InstallRootSearch" Path="v1.0.3705" Depth="0" /> | ||
27 | </RegistrySearch> | ||
28 | </Property> | ||
29 | </Fragment> | ||
30 | |||
31 | </Wix> | ||
diff --git a/src/wixlib/NetFx2.wxs b/src/wixlib/NetFx2.wxs new file mode 100644 index 00000000..92386b02 --- /dev/null +++ b/src/wixlib/NetFx2.wxs | |||
@@ -0,0 +1,201 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 2.0 - http://msdn.microsoft.com/library/aa480243.aspx | ||
13 | --> | ||
14 | |||
15 | <!-- set to #1 if the .NET Framework 2.0 is installed (not set otherwise) --> | ||
16 | <Fragment> | ||
17 | <Property Id="NETFRAMEWORK20" Secure="yes"> | ||
18 | <RegistrySearch Id="NetFramework20" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="Install" Type="raw" /> | ||
19 | </Property> | ||
20 | </Fragment> | ||
21 | |||
22 | <!-- Indicates the service pack level for the .NET Framework 2.0. --> | ||
23 | <Fragment> | ||
24 | <Property Id="NETFRAMEWORK20_SP_LEVEL" Secure="yes"> | ||
25 | <RegistrySearch Id="NetFramework20SP" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="SP" Type="raw" /> | ||
26 | </Property> | ||
27 | </Fragment> | ||
28 | |||
29 | <!-- Location of .NET Framework 2.0 redistributable install root directory --> | ||
30 | <Fragment> | ||
31 | <Property Id="NETFRAMEWORK20INSTALLROOTDIR" Secure="yes"> | ||
32 | <RegistrySearch Id="NetFxInstallRootForNetfx20Search" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot"> | ||
33 | <DirectorySearch Id="NetFx20InstallRootSearch" Path="v2.0.50727" Depth="0" /> | ||
34 | </RegistrySearch> | ||
35 | </Property> | ||
36 | </Fragment> | ||
37 | |||
38 | <!-- Location of .NET Framework 2.0 (64-bit) redistributable install root directory --> | ||
39 | <Fragment> | ||
40 | <Property Id="NETFRAMEWORK20INSTALLROOTDIR64" Secure="yes"> | ||
41 | <RegistrySearch Id="NetFxInstallRootForNetfx20Search64" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot" Win64="yes"> | ||
42 | <DirectorySearch Id="NetFx20InstallRootSearch64" Path="v2.0.50727" Depth="0" /> | ||
43 | </RegistrySearch> | ||
44 | </Property> | ||
45 | </Fragment> | ||
46 | |||
47 | <!-- set to #1 if the .NET Framework 2.0 Chinese (Simplified) language pack is installed (not set otherwise) --> | ||
48 | <Fragment> | ||
49 | <Property Id="NETFRAMEWORK20_ZH_CN_LANGPACK" Secure="yes"> | ||
50 | <RegistrySearch Id="NETFRAMEWORK20ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\2052" Name="Install" Type="raw" /> | ||
51 | </Property> | ||
52 | </Fragment> | ||
53 | |||
54 | <!-- set to #1 if the .NET Framework 2.0 Chinese (Traditional) language pack is installed (not set otherwise) --> | ||
55 | <Fragment> | ||
56 | <Property Id="NETFRAMEWORK20_ZH_TW_LANGPACK" Secure="yes"> | ||
57 | <RegistrySearch Id="NETFRAMEWORK20ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1028" Name="Install" Type="raw" /> | ||
58 | </Property> | ||
59 | </Fragment> | ||
60 | |||
61 | <!-- set to #1 if the .NET Framework 2.0 Czech language pack is installed (not set otherwise) --> | ||
62 | <Fragment> | ||
63 | <Property Id="NETFRAMEWORK20_CS_CZ_LANGPACK" Secure="yes"> | ||
64 | <RegistrySearch Id="NETFRAMEWORK20CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1029" Name="Install" Type="raw" /> | ||
65 | </Property> | ||
66 | </Fragment> | ||
67 | |||
68 | <!-- set to #1 if the .NET Framework 2.0 Danish language pack is installed (not set otherwise) --> | ||
69 | <Fragment> | ||
70 | <Property Id="NETFRAMEWORK20_DA_DK_LANGPACK" Secure="yes"> | ||
71 | <RegistrySearch Id="NETFRAMEWORK20DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1030" Name="Install" Type="raw" /> | ||
72 | </Property> | ||
73 | </Fragment> | ||
74 | |||
75 | <!-- set to #1 if the .NET Framework 2.0 Dutch language pack is installed (not set otherwise) --> | ||
76 | <Fragment> | ||
77 | <Property Id="NETFRAMEWORK20_NL_NL_LANGPACK" Secure="yes"> | ||
78 | <RegistrySearch Id="NETFRAMEWORK20NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1043" Name="Install" Type="raw" /> | ||
79 | </Property> | ||
80 | </Fragment> | ||
81 | |||
82 | <!-- set to #1 if the .NET Framework 2.0 Finnish language pack is installed (not set otherwise) --> | ||
83 | <Fragment> | ||
84 | <Property Id="NETFRAMEWORK20_FI_FI_LANGPACK" Secure="yes"> | ||
85 | <RegistrySearch Id="NETFRAMEWORK20FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1035" Name="Install" Type="raw" /> | ||
86 | </Property> | ||
87 | </Fragment> | ||
88 | |||
89 | <!-- set to #1 if the .NET Framework 2.0 French language pack is installed (not set otherwise) --> | ||
90 | <Fragment> | ||
91 | <Property Id="NETFRAMEWORK20_FR_FR_LANGPACK" Secure="yes"> | ||
92 | <RegistrySearch Id="NETFRAMEWORK20FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1036" Name="Install" Type="raw" /> | ||
93 | </Property> | ||
94 | </Fragment> | ||
95 | |||
96 | <!-- set to #1 if the .NET Framework 2.0 German language pack is installed (not set otherwise) --> | ||
97 | <Fragment> | ||
98 | <Property Id="NETFRAMEWORK20_DE_DE_LANGPACK" Secure="yes"> | ||
99 | <RegistrySearch Id="NETFRAMEWORK20DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1031" Name="Install" Type="raw" /> | ||
100 | </Property> | ||
101 | </Fragment> | ||
102 | |||
103 | <!-- set to #1 if the .NET Framework 2.0 Greek language pack is installed (not set otherwise) --> | ||
104 | <Fragment> | ||
105 | <Property Id="NETFRAMEWORK20_EL_GR_LANGPACK" Secure="yes"> | ||
106 | <RegistrySearch Id="NETFRAMEWORK20ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1032" Name="Install" Type="raw" /> | ||
107 | </Property> | ||
108 | </Fragment> | ||
109 | |||
110 | <!-- set to #1 if the .NET Framework 2.0 Hungarian language pack is installed (not set otherwise) --> | ||
111 | <Fragment> | ||
112 | <Property Id="NETFRAMEWORK20_HU_HU_LANGPACK" Secure="yes"> | ||
113 | <RegistrySearch Id="NETFRAMEWORK20HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1038" Name="Install" Type="raw" /> | ||
114 | </Property> | ||
115 | </Fragment> | ||
116 | |||
117 | <!-- set to #1 if the .NET Framework 2.0 Italian language pack is installed (not set otherwise) --> | ||
118 | <Fragment> | ||
119 | <Property Id="NETFRAMEWORK20_IT_IT_LANGPACK" Secure="yes"> | ||
120 | <RegistrySearch Id="NETFRAMEWORK20ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1040" Name="Install" Type="raw" /> | ||
121 | </Property> | ||
122 | </Fragment> | ||
123 | |||
124 | <!-- set to #1 if the .NET Framework 2.0 Japanese language pack is installed (not set otherwise) --> | ||
125 | <Fragment> | ||
126 | <Property Id="NETFRAMEWORK20_JA_JP_LANGPACK" Secure="yes"> | ||
127 | <RegistrySearch Id="NETFRAMEWORK20JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1041" Name="Install" Type="raw" /> | ||
128 | </Property> | ||
129 | </Fragment> | ||
130 | |||
131 | <!-- set to #1 if the .NET Framework 2.0 Korean language pack is installed (not set otherwise) --> | ||
132 | <Fragment> | ||
133 | <Property Id="NETFRAMEWORK20_KO_KR_LANGPACK" Secure="yes"> | ||
134 | <RegistrySearch Id="NETFRAMEWORK20KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1042" Name="Install" Type="raw" /> | ||
135 | </Property> | ||
136 | </Fragment> | ||
137 | |||
138 | <!-- set to #1 if the .NET Framework 2.0 Norwegian language pack is installed (not set otherwise) --> | ||
139 | <Fragment> | ||
140 | <Property Id="NETFRAMEWORK20_NB_NO_LANGPACK" Secure="yes"> | ||
141 | <RegistrySearch Id="NETFRAMEWORK20NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1044" Name="Install" Type="raw" /> | ||
142 | </Property> | ||
143 | </Fragment> | ||
144 | |||
145 | <!-- set to #1 if the .NET Framework 2.0 Polish language pack is installed (not set otherwise) --> | ||
146 | <Fragment> | ||
147 | <Property Id="NETFRAMEWORK20_PL_PL_LANGPACK" Secure="yes"> | ||
148 | <RegistrySearch Id="NETFRAMEWORK20PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1045" Name="Install" Type="raw" /> | ||
149 | </Property> | ||
150 | </Fragment> | ||
151 | |||
152 | <!-- set to #1 if the .NET Framework 2.0 Portuguese (Brazil) language pack is installed (not set otherwise) --> | ||
153 | <Fragment> | ||
154 | <Property Id="NETFRAMEWORK20_PT_BR_LANGPACK" Secure="yes"> | ||
155 | <RegistrySearch Id="NETFRAMEWORK20PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1046" Name="Install" Type="raw" /> | ||
156 | </Property> | ||
157 | </Fragment> | ||
158 | |||
159 | <!-- set to #1 if the .NET Framework 2.0 Portuguese (Portugal) language pack is installed (not set otherwise) --> | ||
160 | <Fragment> | ||
161 | <Property Id="NETFRAMEWORK20_PT_PT_LANGPACK" Secure="yes"> | ||
162 | <RegistrySearch Id="NETFRAMEWORK20PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\2070" Name="Install" Type="raw" /> | ||
163 | </Property> | ||
164 | </Fragment> | ||
165 | |||
166 | <!-- set to #1 if the .NET Framework 2.0 Russian language pack is installed (not set otherwise) --> | ||
167 | <Fragment> | ||
168 | <Property Id="NETFRAMEWORK20_RU_RU_LANGPACK" Secure="yes"> | ||
169 | <RegistrySearch Id="NETFRAMEWORK20RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1049" Name="Install" Type="raw" /> | ||
170 | </Property> | ||
171 | </Fragment> | ||
172 | |||
173 | <!-- set to #1 if the .NET Framework 2.0 Spanish language pack is installed (not set otherwise) --> | ||
174 | <Fragment> | ||
175 | <Property Id="NETFRAMEWORK20_ES_ES_LANGPACK" Secure="yes"> | ||
176 | <RegistrySearch Id="NETFRAMEWORK20EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\3082" Name="Install" Type="raw" /> | ||
177 | </Property> | ||
178 | </Fragment> | ||
179 | |||
180 | <!-- set to #1 if the .NET Framework 2.0 Swedish language pack is installed (not set otherwise) --> | ||
181 | <Fragment> | ||
182 | <Property Id="NETFRAMEWORK20_SV_SE_LANGPACK" Secure="yes"> | ||
183 | <RegistrySearch Id="NETFRAMEWORK20SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1053" Name="Install" Type="raw" /> | ||
184 | </Property> | ||
185 | </Fragment> | ||
186 | |||
187 | <!-- set to #1 if the .NET Framework 2.0 Turkish language pack is installed (not set otherwise) --> | ||
188 | <Fragment> | ||
189 | <Property Id="NETFRAMEWORK20_TR_TR_LANGPACK" Secure="yes"> | ||
190 | <RegistrySearch Id="NETFRAMEWORK20TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1055" Name="Install" Type="raw" /> | ||
191 | </Property> | ||
192 | </Fragment> | ||
193 | |||
194 | <!-- location of the .NET Framework 2.0 SDK installation root --> | ||
195 | <Fragment> | ||
196 | <Property Id="NETFRAMEWORK20SDKDIR" Secure="yes"> | ||
197 | <RegistrySearch Id="NetFramework20SDKDir" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="sdkInstallRootv2.0" Type="raw" /> | ||
198 | </Property> | ||
199 | </Fragment> | ||
200 | |||
201 | </Wix> | ||
diff --git a/src/wixlib/NetFx3.5.wxs b/src/wixlib/NetFx3.5.wxs new file mode 100644 index 00000000..422608da --- /dev/null +++ b/src/wixlib/NetFx3.5.wxs | |||
@@ -0,0 +1,241 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following locations: | ||
11 | |||
12 | .NET Framework 3.5 - http://msdn.microsoft.com/library/cc160716.aspx | ||
13 | .NET Framework 3.5 client profile - http://download.microsoft.com/download/5/a/a/5aa86d6c-969b-42d8-bc6b-30e02bfeccf0/NETFXClientProfile_DeploymentGuide.htm | ||
14 | --> | ||
15 | |||
16 | <!-- Indicates the service pack level for the .NET Framework 3.5 (for bundles). --> | ||
17 | <Fragment> | ||
18 | <util:RegistrySearch | ||
19 | Id="NETFRAMEWORK35_SP_LEVEL" | ||
20 | Variable="NETFRAMEWORK35_SP_LEVEL" | ||
21 | Root="HKLM" | ||
22 | Key="Software\Microsoft\NET Framework Setup\NDP\v3.5" | ||
23 | Value="SP" | ||
24 | Result="value" /> | ||
25 | </Fragment> | ||
26 | |||
27 | <!-- set to #1 if the .NET Framework 3.5 is installed (not set otherwise) --> | ||
28 | <Fragment> | ||
29 | <Property Id="NETFRAMEWORK35" Secure="yes"> | ||
30 | <RegistrySearch Id="NetFramework35" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5" Name="Install" Type="raw" /> | ||
31 | </Property> | ||
32 | </Fragment> | ||
33 | |||
34 | <!-- Indicates the service pack level for the .NET Framework 3.5. --> | ||
35 | <Fragment> | ||
36 | <Property Id="NETFRAMEWORK35_SP_LEVEL" Secure="yes"> | ||
37 | <RegistrySearch Id="NetFramework35SP" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5" Name="SP" Type="raw" /> | ||
38 | </Property> | ||
39 | </Fragment> | ||
40 | |||
41 | <!-- Location of .NET Framework 3.5 redistributable install root directory --> | ||
42 | <Fragment> | ||
43 | <Property Id="NETFRAMEWORK35INSTALLROOTDIR" Secure="yes"> | ||
44 | <RegistrySearch Id="NetFxInstallRootForNetfx35Search" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot"> | ||
45 | <DirectorySearch Id="NetFx35InstallRootSearch" Path="v3.5" Depth="0" /> | ||
46 | </RegistrySearch> | ||
47 | </Property> | ||
48 | </Fragment> | ||
49 | |||
50 | <!-- Location of .NET Framework 3.5 (64-bit) redistributable install root directory --> | ||
51 | <Fragment> | ||
52 | <Property Id="NETFRAMEWORK35INSTALLROOTDIR64" Secure="yes"> | ||
53 | <RegistrySearch Id="NetFxInstallRootForNetfx35Search64" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot" Win64="yes"> | ||
54 | <DirectorySearch Id="NetFx35InstallRootSearch64" Path="v3.5" Depth="0" /> | ||
55 | </RegistrySearch> | ||
56 | </Property> | ||
57 | </Fragment> | ||
58 | |||
59 | <!-- set to #1 if the .NET Framework 3.5 Chinese (Simplified) language pack is installed (not set otherwise) --> | ||
60 | <Fragment> | ||
61 | <Property Id="NETFRAMEWORK35_ZH_CN_LANGPACK" Secure="yes"> | ||
62 | <RegistrySearch Id="NETFRAMEWORK35ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\2052" Name="Install" Type="raw" /> | ||
63 | </Property> | ||
64 | </Fragment> | ||
65 | |||
66 | <!-- set to #1 if the .NET Framework 3.5 Chinese (Traditional) language pack is installed (not set otherwise) --> | ||
67 | <Fragment> | ||
68 | <Property Id="NETFRAMEWORK35_ZH_TW_LANGPACK" Secure="yes"> | ||
69 | <RegistrySearch Id="NETFRAMEWORK35ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1028" Name="Install" Type="raw" /> | ||
70 | </Property> | ||
71 | </Fragment> | ||
72 | |||
73 | <!-- set to #1 if the .NET Framework 3.5 Czech language pack is installed (not set otherwise) --> | ||
74 | <Fragment> | ||
75 | <Property Id="NETFRAMEWORK35_CS_CZ_LANGPACK" Secure="yes"> | ||
76 | <RegistrySearch Id="NETFRAMEWORK35CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1029" Name="Install" Type="raw" /> | ||
77 | </Property> | ||
78 | </Fragment> | ||
79 | |||
80 | <!-- set to #1 if the .NET Framework 3.5 Danish language pack is installed (not set otherwise) --> | ||
81 | <Fragment> | ||
82 | <Property Id="NETFRAMEWORK35_DA_DK_LANGPACK" Secure="yes"> | ||
83 | <RegistrySearch Id="NETFRAMEWORK35DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1030" Name="Install" Type="raw" /> | ||
84 | </Property> | ||
85 | </Fragment> | ||
86 | |||
87 | <!-- set to #1 if the .NET Framework 3.5 Dutch language pack is installed (not set otherwise) --> | ||
88 | <Fragment> | ||
89 | <Property Id="NETFRAMEWORK35_NL_NL_LANGPACK" Secure="yes"> | ||
90 | <RegistrySearch Id="NETFRAMEWORK35NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1043" Name="Install" Type="raw" /> | ||
91 | </Property> | ||
92 | </Fragment> | ||
93 | |||
94 | <!-- set to #1 if the .NET Framework 3.5 Finnish language pack is installed (not set otherwise) --> | ||
95 | <Fragment> | ||
96 | <Property Id="NETFRAMEWORK35_FI_FI_LANGPACK" Secure="yes"> | ||
97 | <RegistrySearch Id="NETFRAMEWORK35FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1035" Name="Install" Type="raw" /> | ||
98 | </Property> | ||
99 | </Fragment> | ||
100 | |||
101 | <!-- set to #1 if the .NET Framework 3.5 French language pack is installed (not set otherwise) --> | ||
102 | <Fragment> | ||
103 | <Property Id="NETFRAMEWORK35_FR_FR_LANGPACK" Secure="yes"> | ||
104 | <RegistrySearch Id="NETFRAMEWORK35FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1036" Name="Install" Type="raw" /> | ||
105 | </Property> | ||
106 | </Fragment> | ||
107 | |||
108 | <!-- set to #1 if the .NET Framework 3.5 German language pack is installed (not set otherwise) --> | ||
109 | <Fragment> | ||
110 | <Property Id="NETFRAMEWORK35_DE_DE_LANGPACK" Secure="yes"> | ||
111 | <RegistrySearch Id="NETFRAMEWORK35DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1031" Name="Install" Type="raw" /> | ||
112 | </Property> | ||
113 | </Fragment> | ||
114 | |||
115 | <!-- set to #1 if the .NET Framework 3.5 Greek language pack is installed (not set otherwise) --> | ||
116 | <Fragment> | ||
117 | <Property Id="NETFRAMEWORK35_EL_GR_LANGPACK" Secure="yes"> | ||
118 | <RegistrySearch Id="NETFRAMEWORK35ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1032" Name="Install" Type="raw" /> | ||
119 | </Property> | ||
120 | </Fragment> | ||
121 | |||
122 | <!-- set to #1 if the .NET Framework 3.5 Hungarian language pack is installed (not set otherwise) --> | ||
123 | <Fragment> | ||
124 | <Property Id="NETFRAMEWORK35_HU_HU_LANGPACK" Secure="yes"> | ||
125 | <RegistrySearch Id="NETFRAMEWORK35HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1038" Name="Install" Type="raw" /> | ||
126 | </Property> | ||
127 | </Fragment> | ||
128 | |||
129 | <!-- set to #1 if the .NET Framework 3.5 Italian language pack is installed (not set otherwise) --> | ||
130 | <Fragment> | ||
131 | <Property Id="NETFRAMEWORK35_IT_IT_LANGPACK" Secure="yes"> | ||
132 | <RegistrySearch Id="NETFRAMEWORK35ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1040" Name="Install" Type="raw" /> | ||
133 | </Property> | ||
134 | </Fragment> | ||
135 | |||
136 | <!-- set to #1 if the .NET Framework 3.5 Japanese language pack is installed (not set otherwise) --> | ||
137 | <Fragment> | ||
138 | <Property Id="NETFRAMEWORK35_JA_JP_LANGPACK" Secure="yes"> | ||
139 | <RegistrySearch Id="NETFRAMEWORK35JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1041" Name="Install" Type="raw" /> | ||
140 | </Property> | ||
141 | </Fragment> | ||
142 | |||
143 | <!-- set to #1 if the .NET Framework 3.5 Korean language pack is installed (not set otherwise) --> | ||
144 | <Fragment> | ||
145 | <Property Id="NETFRAMEWORK35_KO_KR_LANGPACK" Secure="yes"> | ||
146 | <RegistrySearch Id="NETFRAMEWORK35KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1042" Name="Install" Type="raw" /> | ||
147 | </Property> | ||
148 | </Fragment> | ||
149 | |||
150 | <!-- set to #1 if the .NET Framework 3.5 Norwegian language pack is installed (not set otherwise) --> | ||
151 | <Fragment> | ||
152 | <Property Id="NETFRAMEWORK35_NB_NO_LANGPACK" Secure="yes"> | ||
153 | <RegistrySearch Id="NETFRAMEWORK35NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1044" Name="Install" Type="raw" /> | ||
154 | </Property> | ||
155 | </Fragment> | ||
156 | |||
157 | <!-- set to #1 if the .NET Framework 3.5 Polish language pack is installed (not set otherwise) --> | ||
158 | <Fragment> | ||
159 | <Property Id="NETFRAMEWORK35_PL_PL_LANGPACK" Secure="yes"> | ||
160 | <RegistrySearch Id="NETFRAMEWORK35PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1045" Name="Install" Type="raw" /> | ||
161 | </Property> | ||
162 | </Fragment> | ||
163 | |||
164 | <!-- set to #1 if the .NET Framework 3.5 Portuguese (Brazil) language pack is installed (not set otherwise) --> | ||
165 | <Fragment> | ||
166 | <Property Id="NETFRAMEWORK35_PT_BR_LANGPACK" Secure="yes"> | ||
167 | <RegistrySearch Id="NETFRAMEWORK35PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1046" Name="Install" Type="raw" /> | ||
168 | </Property> | ||
169 | </Fragment> | ||
170 | |||
171 | <!-- set to #1 if the .NET Framework 3.5 Portuguese (Portugal) language pack is installed (not set otherwise) --> | ||
172 | <Fragment> | ||
173 | <Property Id="NETFRAMEWORK35_PT_PT_LANGPACK" Secure="yes"> | ||
174 | <RegistrySearch Id="NETFRAMEWORK35PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\2070" Name="Install" Type="raw" /> | ||
175 | </Property> | ||
176 | </Fragment> | ||
177 | |||
178 | <!-- set to #1 if the .NET Framework 3.5 Russian language pack is installed (not set otherwise) --> | ||
179 | <Fragment> | ||
180 | <Property Id="NETFRAMEWORK35_RU_RU_LANGPACK" Secure="yes"> | ||
181 | <RegistrySearch Id="NETFRAMEWORK35RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1049" Name="Install" Type="raw" /> | ||
182 | </Property> | ||
183 | </Fragment> | ||
184 | |||
185 | <!-- set to #1 if the .NET Framework 3.5 Spanish language pack is installed (not set otherwise) --> | ||
186 | <Fragment> | ||
187 | <Property Id="NETFRAMEWORK35_ES_ES_LANGPACK" Secure="yes"> | ||
188 | <RegistrySearch Id="NETFRAMEWORK35EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\3082" Name="Install" Type="raw" /> | ||
189 | </Property> | ||
190 | </Fragment> | ||
191 | |||
192 | <!-- set to #1 if the .NET Framework 3.5 Swedish language pack is installed (not set otherwise) --> | ||
193 | <Fragment> | ||
194 | <Property Id="NETFRAMEWORK35_SV_SE_LANGPACK" Secure="yes"> | ||
195 | <RegistrySearch Id="NETFRAMEWORK35SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1053" Name="Install" Type="raw" /> | ||
196 | </Property> | ||
197 | </Fragment> | ||
198 | |||
199 | <!-- set to #1 if the .NET Framework 3.5 Turkish language pack is installed (not set otherwise) --> | ||
200 | <Fragment> | ||
201 | <Property Id="NETFRAMEWORK35_TR_TR_LANGPACK" Secure="yes"> | ||
202 | <RegistrySearch Id="NETFRAMEWORK35TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.5\1055" Name="Install" Type="raw" /> | ||
203 | </Property> | ||
204 | </Fragment> | ||
205 | |||
206 | <!-- set to #1 if the .NET Framework 3.5 client profile is installed (not set otherwise) --> | ||
207 | <Fragment> | ||
208 | <Property Id="NETFRAMEWORK35_CLIENT" Secure="yes"> | ||
209 | <RegistrySearch Id="NETFRAMEWORK35ClientSearch" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\DotNetClient\v3.5" Name="Install" Type="raw" /> | ||
210 | </Property> | ||
211 | </Fragment> | ||
212 | |||
213 | <!-- Indicates the service pack level for the .NET Framework 3.5 client profile --> | ||
214 | <Fragment> | ||
215 | <Property Id="NETFRAMEWORK35_CLIENT_SP_LEVEL" Secure="yes"> | ||
216 | <RegistrySearch Id="NETFRAMEWORK35ClientSpSearch" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\DotNetClient\v3.5" Name="SP" Type="raw" /> | ||
217 | </Property> | ||
218 | </Fragment> | ||
219 | |||
220 | <!-- location of the Windows SDK 6.0a installation root --> | ||
221 | <Fragment> | ||
222 | <Property Id="WINDOWSSDK60ADIR" Secure="yes"> | ||
223 | <RegistrySearch Id="WindowsSdk60aDir" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows\v6.0A" Name="InstallationFolder" Type="raw" /> | ||
224 | </Property> | ||
225 | </Fragment> | ||
226 | |||
227 | <!-- location of the Windows SDK 6.1 installation root --> | ||
228 | <Fragment> | ||
229 | <Property Id="WINDOWSSDK61DIR" Secure="yes"> | ||
230 | <RegistrySearch Id="WindowsSdk61Dir" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows\v6.1" Name="InstallationFolder" Type="raw" /> | ||
231 | </Property> | ||
232 | </Fragment> | ||
233 | |||
234 | <!-- location of the Windows SDK 7.0 installation root --> | ||
235 | <Fragment> | ||
236 | <Property Id="WINDOWSSDK70ADIR" Secure="yes"> | ||
237 | <RegistrySearch Id="WindowsSdk70aDir" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows\v7.0A" Name="InstallationFolder" Type="raw" /> | ||
238 | </Property> | ||
239 | </Fragment> | ||
240 | |||
241 | </Wix> | ||
diff --git a/src/wixlib/NetFx3.wxs b/src/wixlib/NetFx3.wxs new file mode 100644 index 00000000..12d51750 --- /dev/null +++ b/src/wixlib/NetFx3.wxs | |||
@@ -0,0 +1,195 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 3.0 - http://msdn.microsoft.com/library/aa964979.aspx | ||
13 | --> | ||
14 | |||
15 | <!-- set to #1 if the .NET Framework 3.0 is installed (not set otherwise) --> | ||
16 | <Fragment> | ||
17 | <Property Id="NETFRAMEWORK30" Secure="yes"> | ||
18 | <RegistrySearch Id="NetFramework30" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0\Setup" Name="InstallSuccess" Type="raw" /> | ||
19 | </Property> | ||
20 | </Fragment> | ||
21 | |||
22 | <!-- Indicates the service pack level for the .NET Framework 3.0. --> | ||
23 | <!-- This value will not exist until a service pack is installed. --> | ||
24 | <Fragment> | ||
25 | <Property Id="NETFRAMEWORK30_SP_LEVEL" Secure="yes"> | ||
26 | <RegistrySearch Id="NetFramework30SP" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0" Name="SP" Type="raw" /> | ||
27 | </Property> | ||
28 | </Fragment> | ||
29 | |||
30 | <!-- Location of .NET Framework 3.0 redistributable install root directory --> | ||
31 | <Fragment> | ||
32 | <Property Id="NETFRAMEWORK30INSTALLROOTDIR" Secure="yes"> | ||
33 | <RegistrySearch Id="NetFxInstallRootForNetfx30Search" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot"> | ||
34 | <DirectorySearch Id="NetFx30InstallRootSearch" Path="v3.0" Depth="0" /> | ||
35 | </RegistrySearch> | ||
36 | </Property> | ||
37 | </Fragment> | ||
38 | |||
39 | <!-- Location of .NET Framework 3.0 (64-bit) redistributable install root directory --> | ||
40 | <Fragment> | ||
41 | <Property Id="NETFRAMEWORK30INSTALLROOTDIR64" Secure="yes"> | ||
42 | <RegistrySearch Id="NetFxInstallRootForNetfx30Search64" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot" Win64="yes"> | ||
43 | <DirectorySearch Id="NetFx30InstallRootSearch64" Path="v3.0" Depth="0" /> | ||
44 | </RegistrySearch> | ||
45 | </Property> | ||
46 | </Fragment> | ||
47 | |||
48 | <!-- set to #1 if the .NET Framework 3.0 Chinese (Simplified) language pack is installed (not set otherwise) --> | ||
49 | <Fragment> | ||
50 | <Property Id="NETFRAMEWORK30_ZH_CN_LANGPACK" Secure="yes"> | ||
51 | <RegistrySearch Id="NETFRAMEWORK30ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\2052" Name="Install" Type="raw" /> | ||
52 | </Property> | ||
53 | </Fragment> | ||
54 | |||
55 | <!-- set to #1 if the .NET Framework 3.0 Chinese (Traditional) language pack is installed (not set otherwise) --> | ||
56 | <Fragment> | ||
57 | <Property Id="NETFRAMEWORK30_ZH_TW_LANGPACK" Secure="yes"> | ||
58 | <RegistrySearch Id="NETFRAMEWORK30ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1028" Name="Install" Type="raw" /> | ||
59 | </Property> | ||
60 | </Fragment> | ||
61 | |||
62 | <!-- set to #1 if the .NET Framework 3.0 Czech language pack is installed (not set otherwise) --> | ||
63 | <Fragment> | ||
64 | <Property Id="NETFRAMEWORK30_CS_CZ_LANGPACK" Secure="yes"> | ||
65 | <RegistrySearch Id="NETFRAMEWORK30CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1029" Name="Install" Type="raw" /> | ||
66 | </Property> | ||
67 | </Fragment> | ||
68 | |||
69 | <!-- set to #1 if the .NET Framework 3.0 Danish language pack is installed (not set otherwise) --> | ||
70 | <Fragment> | ||
71 | <Property Id="NETFRAMEWORK30_DA_DK_LANGPACK" Secure="yes"> | ||
72 | <RegistrySearch Id="NETFRAMEWORK30DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1030" Name="Install" Type="raw" /> | ||
73 | </Property> | ||
74 | </Fragment> | ||
75 | |||
76 | <!-- set to #1 if the .NET Framework 3.0 Dutch language pack is installed (not set otherwise) --> | ||
77 | <Fragment> | ||
78 | <Property Id="NETFRAMEWORK30_NL_NL_LANGPACK" Secure="yes"> | ||
79 | <RegistrySearch Id="NETFRAMEWORK30NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1043" Name="Install" Type="raw" /> | ||
80 | </Property> | ||
81 | </Fragment> | ||
82 | |||
83 | <!-- set to #1 if the .NET Framework 3.0 Finnish language pack is installed (not set otherwise) --> | ||
84 | <Fragment> | ||
85 | <Property Id="NETFRAMEWORK30_FI_FI_LANGPACK" Secure="yes"> | ||
86 | <RegistrySearch Id="NETFRAMEWORK30FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1035" Name="Install" Type="raw" /> | ||
87 | </Property> | ||
88 | </Fragment> | ||
89 | |||
90 | <!-- set to #1 if the .NET Framework 3.0 French language pack is installed (not set otherwise) --> | ||
91 | <Fragment> | ||
92 | <Property Id="NETFRAMEWORK30_FR_FR_LANGPACK" Secure="yes"> | ||
93 | <RegistrySearch Id="NETFRAMEWORK30FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1036" Name="Install" Type="raw" /> | ||
94 | </Property> | ||
95 | </Fragment> | ||
96 | |||
97 | <!-- set to #1 if the .NET Framework 3.0 German language pack is installed (not set otherwise) --> | ||
98 | <Fragment> | ||
99 | <Property Id="NETFRAMEWORK30_DE_DE_LANGPACK" Secure="yes"> | ||
100 | <RegistrySearch Id="NETFRAMEWORK30DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1031" Name="Install" Type="raw" /> | ||
101 | </Property> | ||
102 | </Fragment> | ||
103 | |||
104 | <!-- set to #1 if the .NET Framework 3.0 Greek language pack is installed (not set otherwise) --> | ||
105 | <Fragment> | ||
106 | <Property Id="NETFRAMEWORK30_EL_GR_LANGPACK" Secure="yes"> | ||
107 | <RegistrySearch Id="NETFRAMEWORK30ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1032" Name="Install" Type="raw" /> | ||
108 | </Property> | ||
109 | </Fragment> | ||
110 | |||
111 | <!-- set to #1 if the .NET Framework 3.0 Hungarian language pack is installed (not set otherwise) --> | ||
112 | <Fragment> | ||
113 | <Property Id="NETFRAMEWORK30_HU_HU_LANGPACK" Secure="yes"> | ||
114 | <RegistrySearch Id="NETFRAMEWORK30HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1038" Name="Install" Type="raw" /> | ||
115 | </Property> | ||
116 | </Fragment> | ||
117 | |||
118 | <!-- set to #1 if the .NET Framework 3.0 Italian language pack is installed (not set otherwise) --> | ||
119 | <Fragment> | ||
120 | <Property Id="NETFRAMEWORK30_IT_IT_LANGPACK" Secure="yes"> | ||
121 | <RegistrySearch Id="NETFRAMEWORK30ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1040" Name="Install" Type="raw" /> | ||
122 | </Property> | ||
123 | </Fragment> | ||
124 | |||
125 | <!-- set to #1 if the .NET Framework 3.0 Japanese language pack is installed (not set otherwise) --> | ||
126 | <Fragment> | ||
127 | <Property Id="NETFRAMEWORK30_JA_JP_LANGPACK" Secure="yes"> | ||
128 | <RegistrySearch Id="NETFRAMEWORK30JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1041" Name="Install" Type="raw" /> | ||
129 | </Property> | ||
130 | </Fragment> | ||
131 | |||
132 | <!-- set to #1 if the .NET Framework 3.0 Korean language pack is installed (not set otherwise) --> | ||
133 | <Fragment> | ||
134 | <Property Id="NETFRAMEWORK30_KO_KR_LANGPACK" Secure="yes"> | ||
135 | <RegistrySearch Id="NETFRAMEWORK30KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1042" Name="Install" Type="raw" /> | ||
136 | </Property> | ||
137 | </Fragment> | ||
138 | |||
139 | <!-- set to #1 if the .NET Framework 3.0 Norwegian language pack is installed (not set otherwise) --> | ||
140 | <Fragment> | ||
141 | <Property Id="NETFRAMEWORK30_NB_NO_LANGPACK" Secure="yes"> | ||
142 | <RegistrySearch Id="NETFRAMEWORK30NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1044" Name="Install" Type="raw" /> | ||
143 | </Property> | ||
144 | </Fragment> | ||
145 | |||
146 | <!-- set to #1 if the .NET Framework 3.0 Polish language pack is installed (not set otherwise) --> | ||
147 | <Fragment> | ||
148 | <Property Id="NETFRAMEWORK30_PL_PL_LANGPACK" Secure="yes"> | ||
149 | <RegistrySearch Id="NETFRAMEWORK30PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1045" Name="Install" Type="raw" /> | ||
150 | </Property> | ||
151 | </Fragment> | ||
152 | |||
153 | <!-- set to #1 if the .NET Framework 3.0 Portuguese (Brazil) language pack is installed (not set otherwise) --> | ||
154 | <Fragment> | ||
155 | <Property Id="NETFRAMEWORK30_PT_BR_LANGPACK" Secure="yes"> | ||
156 | <RegistrySearch Id="NETFRAMEWORK30PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1046" Name="Install" Type="raw" /> | ||
157 | </Property> | ||
158 | </Fragment> | ||
159 | |||
160 | <!-- set to #1 if the .NET Framework 3.0 Portuguese (Portugal) language pack is installed (not set otherwise) --> | ||
161 | <Fragment> | ||
162 | <Property Id="NETFRAMEWORK30_PT_PT_LANGPACK" Secure="yes"> | ||
163 | <RegistrySearch Id="NETFRAMEWORK30PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\2070" Name="Install" Type="raw" /> | ||
164 | </Property> | ||
165 | </Fragment> | ||
166 | |||
167 | <!-- set to #1 if the .NET Framework 3.0 Russian language pack is installed (not set otherwise) --> | ||
168 | <Fragment> | ||
169 | <Property Id="NETFRAMEWORK30_RU_RU_LANGPACK" Secure="yes"> | ||
170 | <RegistrySearch Id="NETFRAMEWORK30RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1049" Name="Install" Type="raw" /> | ||
171 | </Property> | ||
172 | </Fragment> | ||
173 | |||
174 | <!-- set to #1 if the .NET Framework 3.0 Spanish language pack is installed (not set otherwise) --> | ||
175 | <Fragment> | ||
176 | <Property Id="NETFRAMEWORK30_ES_ES_LANGPACK" Secure="yes"> | ||
177 | <RegistrySearch Id="NETFRAMEWORK30EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\3082" Name="Install" Type="raw" /> | ||
178 | </Property> | ||
179 | </Fragment> | ||
180 | |||
181 | <!-- set to #1 if the .NET Framework 3.0 Swedish language pack is installed (not set otherwise) --> | ||
182 | <Fragment> | ||
183 | <Property Id="NETFRAMEWORK30_SV_SE_LANGPACK" Secure="yes"> | ||
184 | <RegistrySearch Id="NETFRAMEWORK30SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1053" Name="Install" Type="raw" /> | ||
185 | </Property> | ||
186 | </Fragment> | ||
187 | |||
188 | <!-- set to #1 if the .NET Framework 3.0 Turkish language pack is installed (not set otherwise) --> | ||
189 | <Fragment> | ||
190 | <Property Id="NETFRAMEWORK30_TR_TR_LANGPACK" Secure="yes"> | ||
191 | <RegistrySearch Id="NETFRAMEWORK30TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\1055" Name="Install" Type="raw" /> | ||
192 | </Property> | ||
193 | </Fragment> | ||
194 | |||
195 | </Wix> | ||
diff --git a/src/wixlib/NetFx4.5.wxs b/src/wixlib/NetFx4.5.wxs new file mode 100644 index 00000000..f2ddd051 --- /dev/null +++ b/src/wixlib/NetFx4.5.wxs | |||
@@ -0,0 +1,274 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 4.5 - http://msdn.microsoft.com/en-us/library/5a4x27ek.aspx, http://msdn.microsoft.com/en-us/library/ee942965(v=VS.110).aspx | ||
13 | --> | ||
14 | |||
15 | <?define NetFx45MinRelease = 378389?> | ||
16 | <?define NetFx45WebLink = http://go.microsoft.com/fwlink/?LinkId=225704 ?> | ||
17 | <?define NetFx45RedistLink = http://go.microsoft.com/fwlink/?LinkId=225702 ?> | ||
18 | |||
19 | <Fragment> | ||
20 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> | ||
21 | <Property Id="WIX_IS_NETFRAMEWORK_45_OR_LATER_INSTALLED" Secure="yes" /> | ||
22 | <SetProperty Id="WIX_IS_NETFRAMEWORK_45_OR_LATER_INSTALLED" Value="1" After="AppSearch"> | ||
23 | WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx45MinRelease)" | ||
24 | </SetProperty> | ||
25 | </Fragment> | ||
26 | |||
27 | <Fragment> | ||
28 | <util:RegistrySearch | ||
29 | Id="NETFRAMEWORK45" | ||
30 | Variable="NETFRAMEWORK45" | ||
31 | Root="HKLM" | ||
32 | Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" | ||
33 | Value="Release" | ||
34 | Result="value" /> | ||
35 | </Fragment> | ||
36 | |||
37 | <Fragment> | ||
38 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
39 | |||
40 | <WixVariable Id="NetFx45WebDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx45MinRelease)" Overridable="yes" /> | ||
41 | <WixVariable Id="NetFx45WebInstallCondition" Value="" Overridable="yes" /> | ||
42 | <WixVariable Id="NetFx45WebPackageDirectory" Value="redist\" Overridable="yes" /> | ||
43 | |||
44 | <PackageGroup Id="NetFx45Web"> | ||
45 | <ExePackage | ||
46 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx45FullWebLog].html"" | ||
47 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx45FullWebLog].html"" | ||
48 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx45FullWebLog].html"" | ||
49 | PerMachine="yes" | ||
50 | DetectCondition="!(wix.NetFx45WebDetectCondition)" | ||
51 | InstallCondition="!(wix.NetFx45WebInstallCondition)" | ||
52 | Id="NetFx45Web" | ||
53 | Vital="yes" | ||
54 | Permanent="yes" | ||
55 | Protocol="netfx4" | ||
56 | DownloadUrl="$(var.NetFx45WebLink)" | ||
57 | LogPathVariable="NetFx45FullWebLog" | ||
58 | Compressed="no" | ||
59 | Name="!(wix.NetFx45WebPackageDirectory)dotNetFx45_Full_setup.exe"> | ||
60 | <RemotePayload | ||
61 | Size="1005568" | ||
62 | Version="4.5.50709.17929" | ||
63 | ProductName="Microsoft .NET Framework 4.5" | ||
64 | Description="Microsoft .NET Framework 4.5 Setup" | ||
65 | CertificatePublicKey="BE931A1B869E4BB989C2B32D0C105204ECBEFB3D" | ||
66 | CertificateThumbprint="8363887511B4835B79C383ECF06FC055B5839255" | ||
67 | Hash="F6BA6F03C65C3996A258F58324A917463B2D6FF4"/> | ||
68 | </ExePackage> | ||
69 | </PackageGroup> | ||
70 | </Fragment> | ||
71 | |||
72 | <Fragment> | ||
73 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
74 | |||
75 | <WixVariable Id="NetFx45RedistDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx45MinRelease)" Overridable="yes" /> | ||
76 | <WixVariable Id="NetFx45RedistInstallCondition" Value="" Overridable="yes" /> | ||
77 | <WixVariable Id="NetFx45RedistPackageDirectory" Value="redist\" Overridable="yes" /> | ||
78 | |||
79 | <PackageGroup Id="NetFx45Redist"> | ||
80 | <ExePackage | ||
81 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx45FullLog].html"" | ||
82 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx45FullLog].html"" | ||
83 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx45FullLog].html"" | ||
84 | PerMachine="yes" | ||
85 | DetectCondition="!(wix.NetFx45RedistDetectCondition)" | ||
86 | InstallCondition="!(wix.NetFx45RedistInstallCondition)" | ||
87 | Id="NetFx45Redist" | ||
88 | Vital="yes" | ||
89 | Permanent="yes" | ||
90 | Protocol="netfx4" | ||
91 | DownloadUrl="$(var.NetFx45RedistLink)" | ||
92 | LogPathVariable="NetFx45FullLog" | ||
93 | Compressed="no" | ||
94 | Name="!(wix.NetFx45RedistPackageDirectory)dotNetFx45_Full_x86_x64.exe"> | ||
95 | <RemotePayload | ||
96 | Size="50352408" | ||
97 | Version="4.5.50709.17929" | ||
98 | ProductName="Microsoft .NET Framework 4.5" | ||
99 | Description="Microsoft .NET Framework 4.5 Setup" | ||
100 | CertificatePublicKey="BE931A1B869E4BB989C2B32D0C105204ECBEFB3D" | ||
101 | CertificateThumbprint="8363887511B4835B79C383ECF06FC055B5839255" | ||
102 | Hash="B2FF712CA0947040CA0B8E9BD7436A3C3524BB5D"/> | ||
103 | </ExePackage> | ||
104 | </PackageGroup> | ||
105 | </Fragment> | ||
106 | |||
107 | <!-- set to Release number of the .NET Framework 4.5 if installed (not set otherwise) --> | ||
108 | <Fragment> | ||
109 | <Property Id="NETFRAMEWORK45" Secure="yes"> | ||
110 | <RegistrySearch Id="NetFramework45" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Release" Type="raw" /> | ||
111 | </Property> | ||
112 | </Fragment> | ||
113 | |||
114 | <!-- set to Release number of the .NET Framework 4.5 Arabic language pack if installed (not set otherwise) --> | ||
115 | <Fragment> | ||
116 | <Property Id="NETFRAMEWORK45_AR_SA_LANGPACK" Secure="yes"> | ||
117 | <RegistrySearch Id="NETFRAMEWORK45ArSaLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1025" Name="Release" Type="raw" /> | ||
118 | </Property> | ||
119 | </Fragment> | ||
120 | |||
121 | <!-- set to Release number of the .NET Framework 4.5 Chinese (Simplified) language pack if installed (not set otherwise) --> | ||
122 | <Fragment> | ||
123 | <Property Id="NETFRAMEWORK45_ZH_CN_LANGPACK" Secure="yes"> | ||
124 | <RegistrySearch Id="NETFRAMEWORK45ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\2052" Name="Release" Type="raw" /> | ||
125 | </Property> | ||
126 | </Fragment> | ||
127 | |||
128 | <!-- set to Release number of the .NET Framework 4.5 Chinese (Traditional) language pack if installed (not set otherwise) --> | ||
129 | <Fragment> | ||
130 | <Property Id="NETFRAMEWORK45_ZH_TW_LANGPACK" Secure="yes"> | ||
131 | <RegistrySearch Id="NETFRAMEWORK45ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1028" Name="Release" Type="raw" /> | ||
132 | </Property> | ||
133 | </Fragment> | ||
134 | |||
135 | <!-- set to Release number of the .NET Framework 4.5 Czech language pack if installed (not set otherwise) --> | ||
136 | <Fragment> | ||
137 | <Property Id="NETFRAMEWORK45_CS_CZ_LANGPACK" Secure="yes"> | ||
138 | <RegistrySearch Id="NETFRAMEWORK45CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1029" Name="Release" Type="raw" /> | ||
139 | </Property> | ||
140 | </Fragment> | ||
141 | |||
142 | <!-- set to Release number of the .NET Framework 4.5 Danish language pack if installed (not set otherwise) --> | ||
143 | <Fragment> | ||
144 | <Property Id="NETFRAMEWORK45_DA_DK_LANGPACK" Secure="yes"> | ||
145 | <RegistrySearch Id="NETFRAMEWORK45DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1030" Name="Release" Type="raw" /> | ||
146 | </Property> | ||
147 | </Fragment> | ||
148 | |||
149 | <!-- set to Release number of the .NET Framework 4.5 Dutch language pack if installed (not set otherwise) --> | ||
150 | <Fragment> | ||
151 | <Property Id="NETFRAMEWORK45_NL_NL_LANGPACK" Secure="yes"> | ||
152 | <RegistrySearch Id="NETFRAMEWORK45NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1043" Name="Release" Type="raw" /> | ||
153 | </Property> | ||
154 | </Fragment> | ||
155 | |||
156 | <!-- set to Release number of the .NET Framework 4.5 Finnish language pack if installed (not set otherwise) --> | ||
157 | <Fragment> | ||
158 | <Property Id="NETFRAMEWORK45_FI_FI_LANGPACK" Secure="yes"> | ||
159 | <RegistrySearch Id="NETFRAMEWORK45FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1035" Name="Release" Type="raw" /> | ||
160 | </Property> | ||
161 | </Fragment> | ||
162 | |||
163 | <!-- set to Release number of the .NET Framework 4.5 French language pack if installed (not set otherwise) --> | ||
164 | <Fragment> | ||
165 | <Property Id="NETFRAMEWORK45_FR_FR_LANGPACK" Secure="yes"> | ||
166 | <RegistrySearch Id="NETFRAMEWORK45FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1036" Name="Release" Type="raw" /> | ||
167 | </Property> | ||
168 | </Fragment> | ||
169 | |||
170 | <!-- set to Release number of the .NET Framework 4.5 German language pack if installed (not set otherwise) --> | ||
171 | <Fragment> | ||
172 | <Property Id="NETFRAMEWORK45_DE_DE_LANGPACK" Secure="yes"> | ||
173 | <RegistrySearch Id="NETFRAMEWORK45DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1031" Name="Release" Type="raw" /> | ||
174 | </Property> | ||
175 | </Fragment> | ||
176 | |||
177 | <!-- set to Release number of the .NET Framework 4.5 Greek language pack if installed (not set otherwise) --> | ||
178 | <Fragment> | ||
179 | <Property Id="NETFRAMEWORK45_EL_GR_LANGPACK" Secure="yes"> | ||
180 | <RegistrySearch Id="NETFRAMEWORK45ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1032" Name="Release" Type="raw" /> | ||
181 | </Property> | ||
182 | </Fragment> | ||
183 | |||
184 | <!-- set to Release number of the .NET Framework 4.5 Hebrew language pack if installed (not set otherwise) --> | ||
185 | <Fragment> | ||
186 | <Property Id="NETFRAMEWORK45_HE_IL_LANGPACK" Secure="yes"> | ||
187 | <RegistrySearch Id="NETFRAMEWORK45HeIlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1037" Name="Release" Type="raw" /> | ||
188 | </Property> | ||
189 | </Fragment> | ||
190 | |||
191 | <!-- set to Release number of the .NET Framework 4.5 Hungarian language pack if installed (not set otherwise) --> | ||
192 | <Fragment> | ||
193 | <Property Id="NETFRAMEWORK45_HU_HU_LANGPACK" Secure="yes"> | ||
194 | <RegistrySearch Id="NETFRAMEWORK45HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1038" Name="Release" Type="raw" /> | ||
195 | </Property> | ||
196 | </Fragment> | ||
197 | |||
198 | <!-- set to Release number of the .NET Framework 4.5 Italian language pack if installed (not set otherwise) --> | ||
199 | <Fragment> | ||
200 | <Property Id="NETFRAMEWORK45_IT_IT_LANGPACK" Secure="yes"> | ||
201 | <RegistrySearch Id="NETFRAMEWORK45ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1040" Name="Release" Type="raw" /> | ||
202 | </Property> | ||
203 | </Fragment> | ||
204 | |||
205 | <!-- set to Release number of the .NET Framework 4.5 Japanese language pack if installed (not set otherwise) --> | ||
206 | <Fragment> | ||
207 | <Property Id="NETFRAMEWORK45_JA_JP_LANGPACK" Secure="yes"> | ||
208 | <RegistrySearch Id="NETFRAMEWORK45JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1041" Name="Release" Type="raw" /> | ||
209 | </Property> | ||
210 | </Fragment> | ||
211 | |||
212 | <!-- set to Release number of the .NET Framework 4.5 Korean language pack if installed (not set otherwise) --> | ||
213 | <Fragment> | ||
214 | <Property Id="NETFRAMEWORK45_KO_KR_LANGPACK" Secure="yes"> | ||
215 | <RegistrySearch Id="NETFRAMEWORK45KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1042" Name="Release" Type="raw" /> | ||
216 | </Property> | ||
217 | </Fragment> | ||
218 | |||
219 | <!-- set to Release number of the .NET Framework 4.5 Norwegian language pack if installed (not set otherwise) --> | ||
220 | <Fragment> | ||
221 | <Property Id="NETFRAMEWORK45_NB_NO_LANGPACK" Secure="yes"> | ||
222 | <RegistrySearch Id="NETFRAMEWORK45NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1044" Name="Release" Type="raw" /> | ||
223 | </Property> | ||
224 | </Fragment> | ||
225 | |||
226 | <!-- set to Release number of the .NET Framework 4.5 Polish language pack if installed (not set otherwise) --> | ||
227 | <Fragment> | ||
228 | <Property Id="NETFRAMEWORK45_PL_PL_LANGPACK" Secure="yes"> | ||
229 | <RegistrySearch Id="NETFRAMEWORK45PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1045" Name="Release" Type="raw" /> | ||
230 | </Property> | ||
231 | </Fragment> | ||
232 | |||
233 | <!-- set to Release number of the .NET Framework 4.5 Portuguese (Brazil) language pack if installed (not set otherwise) --> | ||
234 | <Fragment> | ||
235 | <Property Id="NETFRAMEWORK45_PT_BR_LANGPACK" Secure="yes"> | ||
236 | <RegistrySearch Id="NETFRAMEWORK45PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1046" Name="Release" Type="raw" /> | ||
237 | </Property> | ||
238 | </Fragment> | ||
239 | |||
240 | <!-- set to Release number of the .NET Framework 4.5 Portuguese (Portugal) language pack if installed (not set otherwise) --> | ||
241 | <Fragment> | ||
242 | <Property Id="NETFRAMEWORK45_PT_PT_LANGPACK" Secure="yes"> | ||
243 | <RegistrySearch Id="NETFRAMEWORK45PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\2070" Name="Release" Type="raw" /> | ||
244 | </Property> | ||
245 | </Fragment> | ||
246 | |||
247 | <!-- set to Release number of the .NET Framework 4.5 Russian language pack if installed (not set otherwise) --> | ||
248 | <Fragment> | ||
249 | <Property Id="NETFRAMEWORK45_RU_RU_LANGPACK" Secure="yes"> | ||
250 | <RegistrySearch Id="NETFRAMEWORK45RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1049" Name="Release" Type="raw" /> | ||
251 | </Property> | ||
252 | </Fragment> | ||
253 | |||
254 | <!-- set to Release number of the .NET Framework 4.5 Spanish language pack if installed (not set otherwise) --> | ||
255 | <Fragment> | ||
256 | <Property Id="NETFRAMEWORK45_ES_ES_LANGPACK" Secure="yes"> | ||
257 | <RegistrySearch Id="NETFRAMEWORK45EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\3082" Name="Release" Type="raw" /> | ||
258 | </Property> | ||
259 | </Fragment> | ||
260 | |||
261 | <!-- set to Release number of the .NET Framework 4.5 Swedish language pack if installed (not set otherwise) --> | ||
262 | <Fragment> | ||
263 | <Property Id="NETFRAMEWORK45_SV_SE_LANGPACK" Secure="yes"> | ||
264 | <RegistrySearch Id="NETFRAMEWORK45SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1053" Name="Release" Type="raw" /> | ||
265 | </Property> | ||
266 | </Fragment> | ||
267 | |||
268 | <!-- set to Release number of the .NET Framework 4.5 Turkish language pack if installed (not set otherwise) --> | ||
269 | <Fragment> | ||
270 | <Property Id="NETFRAMEWORK45_TR_TR_LANGPACK" Secure="yes"> | ||
271 | <RegistrySearch Id="NETFRAMEWORK45TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1055" Name="Release" Type="raw" /> | ||
272 | </Property> | ||
273 | </Fragment> | ||
274 | </Wix> | ||
diff --git a/src/wixlib/NetFx4.wxs b/src/wixlib/NetFx4.wxs new file mode 100644 index 00000000..fa26435f --- /dev/null +++ b/src/wixlib/NetFx4.wxs | |||
@@ -0,0 +1,543 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 4.0 full & client - http://msdn.microsoft.com/en-us/library/ee942965.aspx | ||
13 | --> | ||
14 | |||
15 | <?define NetFx40WebLink = http://go.microsoft.com/fwlink/?linkid=182805 ?> | ||
16 | <?define NetFx40RedistLink = http://go.microsoft.com/fwlink/?LinkId=247729 ?> | ||
17 | <?define NetFx40ClientWebLink = http://go.microsoft.com/fwlink/?linkid=182804 ?> | ||
18 | <?define NetFx40ClientRedistLink = http://go.microsoft.com/fwlink/?LinkId=247730 ?> | ||
19 | |||
20 | <Fragment> | ||
21 | <PropertyRef Id="NETFRAMEWORK40FULL" /> | ||
22 | <Property Id="WIX_IS_NETFRAMEWORK_40_OR_LATER_INSTALLED" Secure="yes" /> | ||
23 | <SetProperty Id="WIX_IS_NETFRAMEWORK_40_OR_LATER_INSTALLED" Value="1" After="AppSearch"> | ||
24 | NETFRAMEWORK40FULL | ||
25 | </SetProperty> | ||
26 | </Fragment> | ||
27 | |||
28 | <Fragment> | ||
29 | <util:RegistrySearch | ||
30 | Id="NETFRAMEWORK40" | ||
31 | Variable="NETFRAMEWORK40" | ||
32 | Root="HKLM" | ||
33 | Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" | ||
34 | Value="Install" | ||
35 | Result="value" /> | ||
36 | </Fragment> | ||
37 | |||
38 | <Fragment> | ||
39 | <util:RegistrySearchRef Id="NETFRAMEWORK40"/> | ||
40 | |||
41 | <PackageGroup Id="NetFx40Web"> | ||
42 | <ExePackage | ||
43 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]"" | ||
44 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]"" | ||
45 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]"" | ||
46 | PerMachine="yes" | ||
47 | DetectCondition="NETFRAMEWORK40" | ||
48 | Id="NetFx40Web" | ||
49 | Vital="yes" | ||
50 | Permanent="yes" | ||
51 | Protocol="netfx4" | ||
52 | DownloadUrl="$(var.NetFx40WebLink)" | ||
53 | Compressed="no" | ||
54 | Name="redist\dotNetFx40_Full_setup.exe"> | ||
55 | <RemotePayload | ||
56 | Size="889416" | ||
57 | Version="4.0.30319.1" | ||
58 | ProductName="Microsoft .NET Framework 4" | ||
59 | Description="Microsoft .NET Framework 4 Setup" | ||
60 | CertificatePublicKey="672605E36DD71EC6B8325B91C5FE6971390CB6B6" | ||
61 | CertificateThumbprint="9617094A1CFB59AE7C1F7DFDB6739E4E7C40508F" | ||
62 | Hash="06BECADB92A5FCCA2529C0B93687C2A0C6D0D610"/> | ||
63 | </ExePackage> | ||
64 | </PackageGroup> | ||
65 | </Fragment> | ||
66 | |||
67 | <Fragment> | ||
68 | <util:RegistrySearchRef Id="NETFRAMEWORK40"/> | ||
69 | |||
70 | <PackageGroup Id="NetFx40Redist"> | ||
71 | <ExePackage | ||
72 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]"" | ||
73 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]"" | ||
74 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]"" | ||
75 | PerMachine="yes" | ||
76 | DetectCondition="NETFRAMEWORK40" | ||
77 | Id="NetFx40Redist" | ||
78 | Vital="yes" | ||
79 | Permanent="yes" | ||
80 | Protocol="netfx4" | ||
81 | DownloadUrl="$(var.NetFx40RedistLink)" | ||
82 | Compressed="no" | ||
83 | Name="redist\dotNetFx40_Full_x86_x64.exe"> | ||
84 | <RemotePayload | ||
85 | Size="50449456" | ||
86 | Version="4.0.30319.1" | ||
87 | ProductName="Microsoft .NET Framework 4" | ||
88 | Description="Microsoft .NET Framework 4 Setup" | ||
89 | CertificatePublicKey="672605E36DD71EC6B8325B91C5FE6971390CB6B6" | ||
90 | CertificateThumbprint="9617094A1CFB59AE7C1F7DFDB6739E4E7C40508F" | ||
91 | Hash="58DA3D74DB353AAD03588CBB5CEA8234166D8B99"/> | ||
92 | </ExePackage> | ||
93 | </PackageGroup> | ||
94 | </Fragment> | ||
95 | |||
96 | <Fragment> | ||
97 | <util:RegistrySearch | ||
98 | Id="NETFRAMEWORK40CLIENT" | ||
99 | Variable="NETFRAMEWORK40CLIENT" | ||
100 | Root="HKLM" | ||
101 | Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client" | ||
102 | Value="Install" | ||
103 | Result="value" /> | ||
104 | </Fragment> | ||
105 | |||
106 | |||
107 | <Fragment> | ||
108 | <util:RegistrySearchRef Id="NETFRAMEWORK40CLIENT"/> | ||
109 | |||
110 | <PackageGroup Id="NetFx40ClientWeb"> | ||
111 | <ExePackage | ||
112 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]"" | ||
113 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]"" | ||
114 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]"" | ||
115 | PerMachine="yes" | ||
116 | DetectCondition="NETFRAMEWORK40CLIENT" | ||
117 | Id="NetFx40ClientWeb" | ||
118 | Vital="yes" | ||
119 | Permanent="yes" | ||
120 | Protocol="netfx4" | ||
121 | DownloadUrl="$(var.NetFx40ClientWebLink)" | ||
122 | Compressed="no" | ||
123 | Name="redist\dotNetFx40_Client_setup.exe"> | ||
124 | <RemotePayload | ||
125 | Size="887896" | ||
126 | Version="4.0.30319.1" | ||
127 | ProductName="Microsoft .NET Framework 4 Client Profile" | ||
128 | Description="Microsoft .NET Framework 4 Client Profile Setup" | ||
129 | CertificatePublicKey="672605E36DD71EC6B8325B91C5FE6971390CB6B6" | ||
130 | CertificateThumbprint="9617094A1CFB59AE7C1F7DFDB6739E4E7C40508F" | ||
131 | Hash="E15AD80FC74277EF2048312E9A71AF56B2EBA622"/> | ||
132 | </ExePackage> | ||
133 | </PackageGroup> | ||
134 | </Fragment> | ||
135 | |||
136 | <Fragment> | ||
137 | <util:RegistrySearchRef Id="NETFRAMEWORK40CLIENT"/> | ||
138 | |||
139 | <PackageGroup Id="NetFx40ClientRedist"> | ||
140 | <ExePackage | ||
141 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]"" | ||
142 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]"" | ||
143 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]"" | ||
144 | PerMachine="yes" | ||
145 | DetectCondition="NETFRAMEWORK40CLIENT" | ||
146 | Id="NetFx40ClientRedist" | ||
147 | Vital="yes" | ||
148 | Permanent="yes" | ||
149 | Protocol="netfx4" | ||
150 | DownloadUrl="$(var.NetFx40ClientRedistLink)" | ||
151 | Compressed="no" | ||
152 | Name="redist\dotNetFx40_Client_x86_x64.exe"> | ||
153 | <RemotePayload | ||
154 | Size="43000680" | ||
155 | Version="4.0.30319.1" | ||
156 | ProductName="Microsoft .NET Framework 4 Client Profile" | ||
157 | Description="Microsoft .NET Framework 4 Client Profile Setup" | ||
158 | CertificatePublicKey="672605E36DD71EC6B8325B91C5FE6971390CB6B6" | ||
159 | CertificateThumbprint="9617094A1CFB59AE7C1F7DFDB6739E4E7C40508F" | ||
160 | Hash="4CD67F609F89D617D2B206341B8C211E1B88B287"/> | ||
161 | </ExePackage> | ||
162 | </PackageGroup> | ||
163 | </Fragment> | ||
164 | |||
165 | <!-- set to #1 if the .NET Framework 4.0 client is installed (not set otherwise) --> | ||
166 | <Fragment> | ||
167 | <Property Id="NETFRAMEWORK40CLIENT" Secure="yes"> | ||
168 | <RegistrySearch Id="NetFramework40Client" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client" Name="Install" Type="raw" /> | ||
169 | </Property> | ||
170 | </Fragment> | ||
171 | |||
172 | <!-- Indicates the servicing level for the .NET Framework 4.0 client. --> | ||
173 | <Fragment> | ||
174 | <Property Id="NETFRAMEWORK40CLIENT_SERVICING_LEVEL" Secure="yes"> | ||
175 | <RegistrySearch Id="NetFramework40ClientServicing" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client" Name="Servicing" Type="raw" /> | ||
176 | </Property> | ||
177 | </Fragment> | ||
178 | |||
179 | <!-- Location of .NET Framework 4.0 client redistributable install root directory --> | ||
180 | <Fragment> | ||
181 | <Property Id="NETFRAMEWORK40CLIENTINSTALLROOTDIR" Secure="yes"> | ||
182 | <RegistrySearch Id="NetFxInstallRootForNetfx40Client" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client" Name="InstallPath" Type="raw" /> | ||
183 | </Property> | ||
184 | </Fragment> | ||
185 | |||
186 | <!-- Location of .NET Framework 4.0 client (64-bit) redistributable install root directory --> | ||
187 | <Fragment> | ||
188 | <Property Id="NETFRAMEWORK40CLIENTINSTALLROOTDIR64" Secure="yes"> | ||
189 | <RegistrySearch Id="NetFxInstallRootForNetfx40Client64" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client" Name="InstallPath" Type="raw" Win64="yes" /> | ||
190 | </Property> | ||
191 | </Fragment> | ||
192 | |||
193 | <!-- set to #1 if the .NET Framework 4.0 full is installed (not set otherwise) --> | ||
194 | <Fragment> | ||
195 | <Property Id="NETFRAMEWORK40FULL" Secure="yes"> | ||
196 | <RegistrySearch Id="NetFramework40Full" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Install" Type="raw" /> | ||
197 | </Property> | ||
198 | </Fragment> | ||
199 | |||
200 | <!-- Indicates the servicing level for the .NET Framework 4.0 full. --> | ||
201 | <Fragment> | ||
202 | <Property Id="NETFRAMEWORK40FULL_SERVICING_LEVEL" Secure="yes"> | ||
203 | <RegistrySearch Id="NetFramework40FullServicing" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Servicing" Type="raw" /> | ||
204 | </Property> | ||
205 | </Fragment> | ||
206 | |||
207 | <!-- Location of .NET Framework 4.0 full redistributable install root directory --> | ||
208 | <Fragment> | ||
209 | <Property Id="NETFRAMEWORK40FULLINSTALLROOTDIR" Secure="yes"> | ||
210 | <RegistrySearch Id="NetFxInstallRootForNetfx40Full" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full" Name="InstallPath" Type="raw" /> | ||
211 | </Property> | ||
212 | </Fragment> | ||
213 | |||
214 | <!-- Location of .NET Framework 4.0 full (64-bit) redistributable install root directory --> | ||
215 | <Fragment> | ||
216 | <Property Id="NETFRAMEWORK40FULLINSTALLROOTDIR64" Secure="yes"> | ||
217 | <RegistrySearch Id="NetFxInstallRootForNetfx40Full64" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full" Name="InstallPath" Type="raw" Win64="yes" /> | ||
218 | </Property> | ||
219 | </Fragment> | ||
220 | |||
221 | <!-- set to #1 if the .NET Framework 4.0 Client Arabic language pack is installed (not set otherwise) --> | ||
222 | <Fragment> | ||
223 | <Property Id="NETFRAMEWORK40CLIENT_AR_SA_LANGPACK" Secure="yes"> | ||
224 | <RegistrySearch Id="NETFRAMEWORK40CLIENTArSaLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1025" Name="Install" Type="raw" /> | ||
225 | </Property> | ||
226 | </Fragment> | ||
227 | |||
228 | <!-- set to #1 if the .NET Framework 4.0 Client Chinese (Simplified) language pack is installed (not set otherwise) --> | ||
229 | <Fragment> | ||
230 | <Property Id="NETFRAMEWORK40CLIENT_ZH_CN_LANGPACK" Secure="yes"> | ||
231 | <RegistrySearch Id="NETFRAMEWORK40CLIENTZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\2052" Name="Install" Type="raw" /> | ||
232 | </Property> | ||
233 | </Fragment> | ||
234 | |||
235 | <!-- set to #1 if the .NET Framework 4.0 Client Chinese (Traditional) language pack is installed (not set otherwise) --> | ||
236 | <Fragment> | ||
237 | <Property Id="NETFRAMEWORK40CLIENT_ZH_TW_LANGPACK" Secure="yes"> | ||
238 | <RegistrySearch Id="NETFRAMEWORK40CLIENTZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1028" Name="Install" Type="raw" /> | ||
239 | </Property> | ||
240 | </Fragment> | ||
241 | |||
242 | <!-- set to #1 if the .NET Framework 4.0 Client Czech language pack is installed (not set otherwise) --> | ||
243 | <Fragment> | ||
244 | <Property Id="NETFRAMEWORK40CLIENT_CS_CZ_LANGPACK" Secure="yes"> | ||
245 | <RegistrySearch Id="NETFRAMEWORK40CLIENTCsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1029" Name="Install" Type="raw" /> | ||
246 | </Property> | ||
247 | </Fragment> | ||
248 | |||
249 | <!-- set to #1 if the .NET Framework 4.0 Client Danish language pack is installed (not set otherwise) --> | ||
250 | <Fragment> | ||
251 | <Property Id="NETFRAMEWORK40CLIENT_DA_DK_LANGPACK" Secure="yes"> | ||
252 | <RegistrySearch Id="NETFRAMEWORK40CLIENTDaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1030" Name="Install" Type="raw" /> | ||
253 | </Property> | ||
254 | </Fragment> | ||
255 | |||
256 | <!-- set to #1 if the .NET Framework 4.0 Client Dutch language pack is installed (not set otherwise) --> | ||
257 | <Fragment> | ||
258 | <Property Id="NETFRAMEWORK40CLIENT_NL_NL_LANGPACK" Secure="yes"> | ||
259 | <RegistrySearch Id="NETFRAMEWORK40CLIENTNlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1043" Name="Install" Type="raw" /> | ||
260 | </Property> | ||
261 | </Fragment> | ||
262 | |||
263 | <!-- set to #1 if the .NET Framework 4.0 Client Finnish language pack is installed (not set otherwise) --> | ||
264 | <Fragment> | ||
265 | <Property Id="NETFRAMEWORK40CLIENT_FI_FI_LANGPACK" Secure="yes"> | ||
266 | <RegistrySearch Id="NETFRAMEWORK40CLIENTFiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1035" Name="Install" Type="raw" /> | ||
267 | </Property> | ||
268 | </Fragment> | ||
269 | |||
270 | <!-- set to #1 if the .NET Framework 4.0 Client French language pack is installed (not set otherwise) --> | ||
271 | <Fragment> | ||
272 | <Property Id="NETFRAMEWORK40CLIENT_FR_FR_LANGPACK" Secure="yes"> | ||
273 | <RegistrySearch Id="NETFRAMEWORK40CLIENTFrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1036" Name="Install" Type="raw" /> | ||
274 | </Property> | ||
275 | </Fragment> | ||
276 | |||
277 | <!-- set to #1 if the .NET Framework 4.0 Client German language pack is installed (not set otherwise) --> | ||
278 | <Fragment> | ||
279 | <Property Id="NETFRAMEWORK40CLIENT_DE_DE_LANGPACK" Secure="yes"> | ||
280 | <RegistrySearch Id="NETFRAMEWORK40CLIENTDeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1031" Name="Install" Type="raw" /> | ||
281 | </Property> | ||
282 | </Fragment> | ||
283 | |||
284 | <!-- set to #1 if the .NET Framework 4.0 Client Greek language pack is installed (not set otherwise) --> | ||
285 | <Fragment> | ||
286 | <Property Id="NETFRAMEWORK40CLIENT_EL_GR_LANGPACK" Secure="yes"> | ||
287 | <RegistrySearch Id="NETFRAMEWORK40CLIENTElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1032" Name="Install" Type="raw" /> | ||
288 | </Property> | ||
289 | </Fragment> | ||
290 | |||
291 | <!-- set to #1 if the .NET Framework 4.0 Client Hebrew language pack is installed (not set otherwise) --> | ||
292 | <Fragment> | ||
293 | <Property Id="NETFRAMEWORK40CLIENT_HE_IL_LANGPACK" Secure="yes"> | ||
294 | <RegistrySearch Id="NETFRAMEWORK40CLIENTHeIlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1037" Name="Install" Type="raw" /> | ||
295 | </Property> | ||
296 | </Fragment> | ||
297 | |||
298 | <!-- set to #1 if the .NET Framework 4.0 Client Hungarian language pack is installed (not set otherwise) --> | ||
299 | <Fragment> | ||
300 | <Property Id="NETFRAMEWORK40CLIENT_HU_HU_LANGPACK" Secure="yes"> | ||
301 | <RegistrySearch Id="NETFRAMEWORK40CLIENTHuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1038" Name="Install" Type="raw" /> | ||
302 | </Property> | ||
303 | </Fragment> | ||
304 | |||
305 | <!-- set to #1 if the .NET Framework 4.0 Client Italian language pack is installed (not set otherwise) --> | ||
306 | <Fragment> | ||
307 | <Property Id="NETFRAMEWORK40CLIENT_IT_IT_LANGPACK" Secure="yes"> | ||
308 | <RegistrySearch Id="NETFRAMEWORK40CLIENTItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1040" Name="Install" Type="raw" /> | ||
309 | </Property> | ||
310 | </Fragment> | ||
311 | |||
312 | <!-- set to #1 if the .NET Framework 4.0 Client Japanese language pack is installed (not set otherwise) --> | ||
313 | <Fragment> | ||
314 | <Property Id="NETFRAMEWORK40CLIENT_JA_JP_LANGPACK" Secure="yes"> | ||
315 | <RegistrySearch Id="NETFRAMEWORK40CLIENTJaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1041" Name="Install" Type="raw" /> | ||
316 | </Property> | ||
317 | </Fragment> | ||
318 | |||
319 | <!-- set to #1 if the .NET Framework 4.0 Client Korean language pack is installed (not set otherwise) --> | ||
320 | <Fragment> | ||
321 | <Property Id="NETFRAMEWORK40CLIENT_KO_KR_LANGPACK" Secure="yes"> | ||
322 | <RegistrySearch Id="NETFRAMEWORK40CLIENTKoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1042" Name="Install" Type="raw" /> | ||
323 | </Property> | ||
324 | </Fragment> | ||
325 | |||
326 | <!-- set to #1 if the .NET Framework 4.0 Client Norwegian language pack is installed (not set otherwise) --> | ||
327 | <Fragment> | ||
328 | <Property Id="NETFRAMEWORK40CLIENT_NB_NO_LANGPACK" Secure="yes"> | ||
329 | <RegistrySearch Id="NETFRAMEWORK40CLIENTNbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1044" Name="Install" Type="raw" /> | ||
330 | </Property> | ||
331 | </Fragment> | ||
332 | |||
333 | <!-- set to #1 if the .NET Framework 4.0 Client Polish language pack is installed (not set otherwise) --> | ||
334 | <Fragment> | ||
335 | <Property Id="NETFRAMEWORK40CLIENT_PL_PL_LANGPACK" Secure="yes"> | ||
336 | <RegistrySearch Id="NETFRAMEWORK40CLIENTPlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1045" Name="Install" Type="raw" /> | ||
337 | </Property> | ||
338 | </Fragment> | ||
339 | |||
340 | <!-- set to #1 if the .NET Framework 4.0 Client Portuguese (Brazil) language pack is installed (not set otherwise) --> | ||
341 | <Fragment> | ||
342 | <Property Id="NETFRAMEWORK40CLIENT_PT_BR_LANGPACK" Secure="yes"> | ||
343 | <RegistrySearch Id="NETFRAMEWORK40CLIENTPtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1046" Name="Install" Type="raw" /> | ||
344 | </Property> | ||
345 | </Fragment> | ||
346 | |||
347 | <!-- set to #1 if the .NET Framework 4.0 Client Portuguese (Portugal) language pack is installed (not set otherwise) --> | ||
348 | <Fragment> | ||
349 | <Property Id="NETFRAMEWORK40CLIENT_PT_PT_LANGPACK" Secure="yes"> | ||
350 | <RegistrySearch Id="NETFRAMEWORK40CLIENTPtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\2070" Name="Install" Type="raw" /> | ||
351 | </Property> | ||
352 | </Fragment> | ||
353 | |||
354 | <!-- set to #1 if the .NET Framework 4.0 Client Russian language pack is installed (not set otherwise) --> | ||
355 | <Fragment> | ||
356 | <Property Id="NETFRAMEWORK40CLIENT_RU_RU_LANGPACK" Secure="yes"> | ||
357 | <RegistrySearch Id="NETFRAMEWORK40CLIENTRuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1049" Name="Install" Type="raw" /> | ||
358 | </Property> | ||
359 | </Fragment> | ||
360 | |||
361 | <!-- set to #1 if the .NET Framework 4.0 Client Spanish language pack is installed (not set otherwise) --> | ||
362 | <Fragment> | ||
363 | <Property Id="NETFRAMEWORK40CLIENT_ES_ES_LANGPACK" Secure="yes"> | ||
364 | <RegistrySearch Id="NETFRAMEWORK40CLIENTEsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\3082" Name="Install" Type="raw" /> | ||
365 | </Property> | ||
366 | </Fragment> | ||
367 | |||
368 | <!-- set to #1 if the .NET Framework 4.0 Client Swedish language pack is installed (not set otherwise) --> | ||
369 | <Fragment> | ||
370 | <Property Id="NETFRAMEWORK40CLIENT_SV_SE_LANGPACK" Secure="yes"> | ||
371 | <RegistrySearch Id="NETFRAMEWORK40CLIENTSvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1053" Name="Install" Type="raw" /> | ||
372 | </Property> | ||
373 | </Fragment> | ||
374 | |||
375 | <!-- set to #1 if the .NET Framework 4.0 Client Turkish language pack is installed (not set otherwise) --> | ||
376 | <Fragment> | ||
377 | <Property Id="NETFRAMEWORK40CLIENT_TR_TR_LANGPACK" Secure="yes"> | ||
378 | <RegistrySearch Id="NETFRAMEWORK40CLIENTTrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Client\1055" Name="Install" Type="raw" /> | ||
379 | </Property> | ||
380 | </Fragment> | ||
381 | |||
382 | <!-- set to #1 if the .NET Framework 4.0 Full Arabic language pack is installed (not set otherwise) --> | ||
383 | <Fragment> | ||
384 | <Property Id="NETFRAMEWORK40FULL_AR_SA_LANGPACK" Secure="yes"> | ||
385 | <RegistrySearch Id="NETFRAMEWORK40FULLArSaLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1025" Name="Install" Type="raw" /> | ||
386 | </Property> | ||
387 | </Fragment> | ||
388 | |||
389 | <!-- set to #1 if the .NET Framework 4.0 Full Chinese (Simplified) language pack is installed (not set otherwise) --> | ||
390 | <Fragment> | ||
391 | <Property Id="NETFRAMEWORK40FULL_ZH_CN_LANGPACK" Secure="yes"> | ||
392 | <RegistrySearch Id="NETFRAMEWORK40FULLZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\2052" Name="Install" Type="raw" /> | ||
393 | </Property> | ||
394 | </Fragment> | ||
395 | |||
396 | <!-- set to #1 if the .NET Framework 4.0 Full Chinese (Traditional) language pack is installed (not set otherwise) --> | ||
397 | <Fragment> | ||
398 | <Property Id="NETFRAMEWORK40FULL_ZH_TW_LANGPACK" Secure="yes"> | ||
399 | <RegistrySearch Id="NETFRAMEWORK40FULLZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1028" Name="Install" Type="raw" /> | ||
400 | </Property> | ||
401 | </Fragment> | ||
402 | |||
403 | <!-- set to #1 if the .NET Framework 4.0 Full Czech language pack is installed (not set otherwise) --> | ||
404 | <Fragment> | ||
405 | <Property Id="NETFRAMEWORK40FULL_CS_CZ_LANGPACK" Secure="yes"> | ||
406 | <RegistrySearch Id="NETFRAMEWORK40FULLCsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1029" Name="Install" Type="raw" /> | ||
407 | </Property> | ||
408 | </Fragment> | ||
409 | |||
410 | <!-- set to #1 if the .NET Framework 4.0 Full Danish language pack is installed (not set otherwise) --> | ||
411 | <Fragment> | ||
412 | <Property Id="NETFRAMEWORK40FULL_DA_DK_LANGPACK" Secure="yes"> | ||
413 | <RegistrySearch Id="NETFRAMEWORK40FULLDaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1030" Name="Install" Type="raw" /> | ||
414 | </Property> | ||
415 | </Fragment> | ||
416 | |||
417 | <!-- set to #1 if the .NET Framework 4.0 Full Dutch language pack is installed (not set otherwise) --> | ||
418 | <Fragment> | ||
419 | <Property Id="NETFRAMEWORK40FULL_NL_NL_LANGPACK" Secure="yes"> | ||
420 | <RegistrySearch Id="NETFRAMEWORK40FULLNlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1043" Name="Install" Type="raw" /> | ||
421 | </Property> | ||
422 | </Fragment> | ||
423 | |||
424 | <!-- set to #1 if the .NET Framework 4.0 Full Finnish language pack is installed (not set otherwise) --> | ||
425 | <Fragment> | ||
426 | <Property Id="NETFRAMEWORK40FULL_FI_FI_LANGPACK" Secure="yes"> | ||
427 | <RegistrySearch Id="NETFRAMEWORK40FULLFiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1035" Name="Install" Type="raw" /> | ||
428 | </Property> | ||
429 | </Fragment> | ||
430 | |||
431 | <!-- set to #1 if the .NET Framework 4.0 Full French language pack is installed (not set otherwise) --> | ||
432 | <Fragment> | ||
433 | <Property Id="NETFRAMEWORK40FULL_FR_FR_LANGPACK" Secure="yes"> | ||
434 | <RegistrySearch Id="NETFRAMEWORK40FULLFrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1036" Name="Install" Type="raw" /> | ||
435 | </Property> | ||
436 | </Fragment> | ||
437 | |||
438 | <!-- set to #1 if the .NET Framework 4.0 Full German language pack is installed (not set otherwise) --> | ||
439 | <Fragment> | ||
440 | <Property Id="NETFRAMEWORK40FULL_DE_DE_LANGPACK" Secure="yes"> | ||
441 | <RegistrySearch Id="NETFRAMEWORK40FULLDeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1031" Name="Install" Type="raw" /> | ||
442 | </Property> | ||
443 | </Fragment> | ||
444 | |||
445 | <!-- set to #1 if the .NET Framework 4.0 Full Greek language pack is installed (not set otherwise) --> | ||
446 | <Fragment> | ||
447 | <Property Id="NETFRAMEWORK40FULL_EL_GR_LANGPACK" Secure="yes"> | ||
448 | <RegistrySearch Id="NETFRAMEWORK40FULLElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1032" Name="Install" Type="raw" /> | ||
449 | </Property> | ||
450 | </Fragment> | ||
451 | |||
452 | <!-- set to #1 if the .NET Framework 4.0 Full Hebrew language pack is installed (not set otherwise) --> | ||
453 | <Fragment> | ||
454 | <Property Id="NETFRAMEWORK40FULL_HE_IL_LANGPACK" Secure="yes"> | ||
455 | <RegistrySearch Id="NETFRAMEWORK40FULLHeIlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1037" Name="Install" Type="raw" /> | ||
456 | </Property> | ||
457 | </Fragment> | ||
458 | |||
459 | <!-- set to #1 if the .NET Framework 4.0 Full Hungarian language pack is installed (not set otherwise) --> | ||
460 | <Fragment> | ||
461 | <Property Id="NETFRAMEWORK40FULL_HU_HU_LANGPACK" Secure="yes"> | ||
462 | <RegistrySearch Id="NETFRAMEWORK40FULLHuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1038" Name="Install" Type="raw" /> | ||
463 | </Property> | ||
464 | </Fragment> | ||
465 | |||
466 | <!-- set to #1 if the .NET Framework 4.0 Full Italian language pack is installed (not set otherwise) --> | ||
467 | <Fragment> | ||
468 | <Property Id="NETFRAMEWORK40FULL_IT_IT_LANGPACK" Secure="yes"> | ||
469 | <RegistrySearch Id="NETFRAMEWORK40FULLItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1040" Name="Install" Type="raw" /> | ||
470 | </Property> | ||
471 | </Fragment> | ||
472 | |||
473 | <!-- set to #1 if the .NET Framework 4.0 Full Japanese language pack is installed (not set otherwise) --> | ||
474 | <Fragment> | ||
475 | <Property Id="NETFRAMEWORK40FULL_JA_JP_LANGPACK" Secure="yes"> | ||
476 | <RegistrySearch Id="NETFRAMEWORK40FULLJaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1041" Name="Install" Type="raw" /> | ||
477 | </Property> | ||
478 | </Fragment> | ||
479 | |||
480 | <!-- set to #1 if the .NET Framework 4.0 Full Korean language pack is installed (not set otherwise) --> | ||
481 | <Fragment> | ||
482 | <Property Id="NETFRAMEWORK40FULL_KO_KR_LANGPACK" Secure="yes"> | ||
483 | <RegistrySearch Id="NETFRAMEWORK40FULLKoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1042" Name="Install" Type="raw" /> | ||
484 | </Property> | ||
485 | </Fragment> | ||
486 | |||
487 | <!-- set to #1 if the .NET Framework 4.0 Full Norwegian language pack is installed (not set otherwise) --> | ||
488 | <Fragment> | ||
489 | <Property Id="NETFRAMEWORK40FULL_NB_NO_LANGPACK" Secure="yes"> | ||
490 | <RegistrySearch Id="NETFRAMEWORK40FULLNbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1044" Name="Install" Type="raw" /> | ||
491 | </Property> | ||
492 | </Fragment> | ||
493 | |||
494 | <!-- set to #1 if the .NET Framework 4.0 Full Polish language pack is installed (not set otherwise) --> | ||
495 | <Fragment> | ||
496 | <Property Id="NETFRAMEWORK40FULL_PL_PL_LANGPACK" Secure="yes"> | ||
497 | <RegistrySearch Id="NETFRAMEWORK40FULLPlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1045" Name="Install" Type="raw" /> | ||
498 | </Property> | ||
499 | </Fragment> | ||
500 | |||
501 | <!-- set to #1 if the .NET Framework 4.0 Full Portuguese (Brazil) language pack is installed (not set otherwise) --> | ||
502 | <Fragment> | ||
503 | <Property Id="NETFRAMEWORK40FULL_PT_BR_LANGPACK" Secure="yes"> | ||
504 | <RegistrySearch Id="NETFRAMEWORK40FULLPtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1046" Name="Install" Type="raw" /> | ||
505 | </Property> | ||
506 | </Fragment> | ||
507 | |||
508 | <!-- set to #1 if the .NET Framework 4.0 Full Portuguese (Portugal) language pack is installed (not set otherwise) --> | ||
509 | <Fragment> | ||
510 | <Property Id="NETFRAMEWORK40FULL_PT_PT_LANGPACK" Secure="yes"> | ||
511 | <RegistrySearch Id="NETFRAMEWORK40FULLPtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\2070" Name="Install" Type="raw" /> | ||
512 | </Property> | ||
513 | </Fragment> | ||
514 | |||
515 | <!-- set to #1 if the .NET Framework 4.0 Full Russian language pack is installed (not set otherwise) --> | ||
516 | <Fragment> | ||
517 | <Property Id="NETFRAMEWORK40FULL_RU_RU_LANGPACK" Secure="yes"> | ||
518 | <RegistrySearch Id="NETFRAMEWORK40FULLRuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1049" Name="Install" Type="raw" /> | ||
519 | </Property> | ||
520 | </Fragment> | ||
521 | |||
522 | <!-- set to #1 if the .NET Framework 4.0 Full Spanish language pack is installed (not set otherwise) --> | ||
523 | <Fragment> | ||
524 | <Property Id="NETFRAMEWORK40FULL_ES_ES_LANGPACK" Secure="yes"> | ||
525 | <RegistrySearch Id="NETFRAMEWORK40FULLEsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\3082" Name="Install" Type="raw" /> | ||
526 | </Property> | ||
527 | </Fragment> | ||
528 | |||
529 | <!-- set to #1 if the .NET Framework 4.0 Full Swedish language pack is installed (not set otherwise) --> | ||
530 | <Fragment> | ||
531 | <Property Id="NETFRAMEWORK40FULL_SV_SE_LANGPACK" Secure="yes"> | ||
532 | <RegistrySearch Id="NETFRAMEWORK40FULLSvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1053" Name="Install" Type="raw" /> | ||
533 | </Property> | ||
534 | </Fragment> | ||
535 | |||
536 | <!-- set to #1 if the .NET Framework 4.0 Full Turkish language pack is installed (not set otherwise) --> | ||
537 | <Fragment> | ||
538 | <Property Id="NETFRAMEWORK40FULL_TR_TR_LANGPACK" Secure="yes"> | ||
539 | <RegistrySearch Id="NETFRAMEWORK40FULLTrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1055" Name="Install" Type="raw" /> | ||
540 | </Property> | ||
541 | </Fragment> | ||
542 | |||
543 | </Wix> | ||
diff --git a/src/wixlib/NetFx451.wxs b/src/wixlib/NetFx451.wxs new file mode 100644 index 00000000..7feff124 --- /dev/null +++ b/src/wixlib/NetFx451.wxs | |||
@@ -0,0 +1,96 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 4.5/4.5.1 - http://msdn.microsoft.com/en-us/library/5a4x27ek.aspx, http://msdn.microsoft.com/en-us/library/ee942965(v=VS.110).aspx | ||
13 | --> | ||
14 | |||
15 | <?define NetFx451MinRelease = 378675 ?> | ||
16 | <?define NetFx451WebLink = http://go.microsoft.com/fwlink/?LinkId=322115 ?> | ||
17 | <?define NetFx451RedistLink = http://go.microsoft.com/fwlink/?LinkId=322116 ?> | ||
18 | |||
19 | <Fragment> | ||
20 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> | ||
21 | <Property Id="WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED" Secure="yes" /> | ||
22 | <SetProperty Id="WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED" Value="1" After="AppSearch"> | ||
23 | WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx451MinRelease)" | ||
24 | </SetProperty> | ||
25 | </Fragment> | ||
26 | |||
27 | <Fragment> | ||
28 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
29 | |||
30 | <WixVariable Id="NetFx451WebDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx451MinRelease)" Overridable="yes" /> | ||
31 | <WixVariable Id="NetFx451WebInstallCondition" Value="" Overridable="yes" /> | ||
32 | <WixVariable Id="NetFx451WebPackageDirectory" Value="redist\" Overridable="yes" /> | ||
33 | |||
34 | <PackageGroup Id="NetFx451Web"> | ||
35 | <ExePackage | ||
36 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx451FullWebLog].html"" | ||
37 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx451FullWebLog].html"" | ||
38 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx451FullWebLog].html"" | ||
39 | PerMachine="yes" | ||
40 | DetectCondition="!(wix.NetFx451WebDetectCondition)" | ||
41 | InstallCondition="!(wix.NetFx451WebInstallCondition)" | ||
42 | Id="NetFx451Web" | ||
43 | Vital="yes" | ||
44 | Permanent="yes" | ||
45 | Protocol="netfx4" | ||
46 | DownloadUrl="$(var.NetFx451WebLink)" | ||
47 | LogPathVariable="NetFx451FullWebLog" | ||
48 | Compressed="no" | ||
49 | Name="!(wix.NetFx451WebPackageDirectory)NDP451-KB2859818-Web.exe"> | ||
50 | <RemotePayload | ||
51 | Size="1021432" | ||
52 | Version="4.5.50938.18408" | ||
53 | ProductName="Microsoft .NET Framework 4.5.1" | ||
54 | Description="Microsoft .NET Framework 4.5.1 Setup" | ||
55 | CertificatePublicKey="A260A870BE1145ED71E2BB5AA19463A4FE9DCC41" | ||
56 | CertificateThumbprint="108E2BA23632620C427C570B6D9DB51AC31387FE" | ||
57 | Hash="4CBEA1E408DB5B423E130931B9478972E6798431" /> | ||
58 | </ExePackage> | ||
59 | </PackageGroup> | ||
60 | </Fragment> | ||
61 | |||
62 | <Fragment> | ||
63 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
64 | |||
65 | <WixVariable Id="NetFx451RedistDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx451MinRelease)" Overridable="yes" /> | ||
66 | <WixVariable Id="NetFx451RedistInstallCondition" Value="" Overridable="yes" /> | ||
67 | <WixVariable Id="NetFx451RedistPackageDirectory" Value="redist\" Overridable="yes" /> | ||
68 | |||
69 | <PackageGroup Id="NetFx451Redist"> | ||
70 | <ExePackage | ||
71 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx451FullLog].html"" | ||
72 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx451FullLog].html"" | ||
73 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx451FullLog].html"" | ||
74 | PerMachine="yes" | ||
75 | DetectCondition="!(wix.NetFx451RedistDetectCondition)" | ||
76 | InstallCondition="!(wix.NetFx451RedistInstallCondition)" | ||
77 | Id="NetFx451Redist" | ||
78 | Vital="yes" | ||
79 | Permanent="yes" | ||
80 | Protocol="netfx4" | ||
81 | DownloadUrl="$(var.NetFx451RedistLink)" | ||
82 | LogPathVariable="NetFx451FullLog" | ||
83 | Compressed="no" | ||
84 | Name="!(wix.NetFx451RedistPackageDirectory)NDP451-KB2858728-x86-x64-AllOS-ENU.exe"> | ||
85 | <RemotePayload | ||
86 | Size="70087104" | ||
87 | Version="4.5.50938.18408" | ||
88 | ProductName="Microsoft .NET Framework 4.5.1" | ||
89 | Description="Microsoft .NET Framework 4.5.1 Setup" | ||
90 | CertificatePublicKey="A260A870BE1145ED71E2BB5AA19463A4FE9DCC41" | ||
91 | CertificateThumbprint="108E2BA23632620C427C570B6D9DB51AC31387FE" | ||
92 | Hash="5934DD101414BBC0B7F1EE2780D2FC8B9BEC5C4D" /> | ||
93 | </ExePackage> | ||
94 | </PackageGroup> | ||
95 | </Fragment> | ||
96 | </Wix> | ||
diff --git a/src/wixlib/NetFx452.wxs b/src/wixlib/NetFx452.wxs new file mode 100644 index 00000000..16c55aac --- /dev/null +++ b/src/wixlib/NetFx452.wxs | |||
@@ -0,0 +1,95 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 4.5/4.5.1/4.5.2 - http://msdn.microsoft.com/en-us/library/w0x726c2(v=vs.110).aspx | ||
13 | --> | ||
14 | |||
15 | <?define NetFx452MinRelease = 379893 ?> | ||
16 | <?define NetFx452WebLink = http://go.microsoft.com/fwlink/?LinkId=397707 ?> | ||
17 | <?define NetFx452RedistLink = http://go.microsoft.com/fwlink/?LinkId=397708 ?> | ||
18 | |||
19 | <Fragment> | ||
20 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> | ||
21 | <Property Id="WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED" Secure="yes" /> | ||
22 | <SetProperty Id="WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED" Value="1" After="AppSearch"> | ||
23 | WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx452MinRelease)" | ||
24 | </SetProperty> | ||
25 | </Fragment> | ||
26 | |||
27 | <Fragment> | ||
28 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
29 | |||
30 | <WixVariable Id="NetFx452WebDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx452MinRelease)" Overridable="yes" /> | ||
31 | <WixVariable Id="NetFx452WebInstallCondition" Value="" Overridable="yes" /> | ||
32 | <WixVariable Id="NetFx452WebPackageDirectory" Value="redist\" Overridable="yes" /> | ||
33 | |||
34 | <PackageGroup Id="NetFx452Web"> | ||
35 | <ExePackage | ||
36 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx452FullWebLog].html"" | ||
37 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx452FullWebLog].html"" | ||
38 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx452FullWebLog].html"" | ||
39 | PerMachine="yes" | ||
40 | DetectCondition="!(wix.NetFx452WebDetectCondition)" | ||
41 | InstallCondition="!(wix.NetFx452WebInstallCondition)" | ||
42 | Id="NetFx452Web" | ||
43 | Vital="yes" | ||
44 | Permanent="yes" | ||
45 | Protocol="netfx4" | ||
46 | DownloadUrl="$(var.NetFx452WebLink)" | ||
47 | LogPathVariable="NetFx452FullWebLog" | ||
48 | Compressed="no" | ||
49 | Name="!(wix.NetFx452WebPackageDirectory)NDP452-KB2901954-Web.exe"> | ||
50 | <RemotePayload CertificatePublicKey="B78FE7F6917E1BC5F4A9C77BA3D555A0E807B9E0" | ||
51 | CertificateThumbprint="67B1757863E3EFF760EA9EBB02849AF07D3A8080" | ||
52 | Description="Microsoft .NET Framework 4.5.2 Setup" | ||
53 | Hash="5B71B20A455F6EEAB79DD1EDCAB0BA66AD0D2208" | ||
54 | ProductName="Microsoft .NET Framework 4.5.2" | ||
55 | Size="1118920" | ||
56 | Version="4.5.51209.34209" /> | ||
57 | </ExePackage> | ||
58 | </PackageGroup> | ||
59 | </Fragment> | ||
60 | |||
61 | <Fragment> | ||
62 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
63 | |||
64 | <WixVariable Id="NetFx452RedistDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx452MinRelease)" Overridable="yes" /> | ||
65 | <WixVariable Id="NetFx452RedistInstallCondition" Value="" Overridable="yes" /> | ||
66 | <WixVariable Id="NetFx452RedistPackageDirectory" Value="redist\" Overridable="yes" /> | ||
67 | |||
68 | <PackageGroup Id="NetFx452Redist"> | ||
69 | <ExePackage | ||
70 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx452FullLog].html"" | ||
71 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx452FullLog].html"" | ||
72 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx452FullLog].html"" | ||
73 | PerMachine="yes" | ||
74 | DetectCondition="!(wix.NetFx452RedistDetectCondition)" | ||
75 | InstallCondition="!(wix.NetFx452RedistInstallCondition)" | ||
76 | Id="NetFx452Redist" | ||
77 | Vital="yes" | ||
78 | Permanent="yes" | ||
79 | Protocol="netfx4" | ||
80 | DownloadUrl="$(var.NetFx452RedistLink)" | ||
81 | LogPathVariable="NetFx452FullLog" | ||
82 | Compressed="no" | ||
83 | Name="!(wix.NetFx452RedistPackageDirectory)NDP452-KB2901907-x86-x64-AllOS-ENU.exe"> | ||
84 | <RemotePayload | ||
85 | CertificatePublicKey="B78FE7F6917E1BC5F4A9C77BA3D555A0E807B9E0" | ||
86 | CertificateThumbprint="67B1757863E3EFF760EA9EBB02849AF07D3A8080" | ||
87 | Description="Microsoft .NET Framework 4.5.2 Setup" | ||
88 | Hash="89F86F9522DC7A8A965FACCE839ABB790A285A63" | ||
89 | ProductName="Microsoft .NET Framework 4.5.2" | ||
90 | Size="69999448" | ||
91 | Version="4.5.51209.34209" /> | ||
92 | </ExePackage> | ||
93 | </PackageGroup> | ||
94 | </Fragment> | ||
95 | </Wix> | ||
diff --git a/src/wixlib/NetFx46.wxs b/src/wixlib/NetFx46.wxs new file mode 100644 index 00000000..c4120e90 --- /dev/null +++ b/src/wixlib/NetFx46.wxs | |||
@@ -0,0 +1,96 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 4.5/4.5.1/4.5.2/4.6 - http://msdn.microsoft.com/en-us/library/w0x726c2(v=vs.110).aspx | ||
13 | --> | ||
14 | |||
15 | <?define NetFx46MinRelease = 393295 ?> | ||
16 | <?define NetFx46WebLink = http://go.microsoft.com/fwlink/?LinkId=560371 ?> | ||
17 | <?define NetFx46RedistLink = http://go.microsoft.com/fwlink/?LinkId=560369 ?> | ||
18 | |||
19 | <Fragment> | ||
20 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> | ||
21 | <Property Id="WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED" Secure="yes" /> | ||
22 | <SetProperty Id="WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED" Value="1" After="AppSearch"> | ||
23 | WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx46MinRelease)" | ||
24 | </SetProperty> | ||
25 | </Fragment> | ||
26 | |||
27 | <Fragment> | ||
28 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
29 | |||
30 | <WixVariable Id="NetFx46WebDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx46MinRelease)" Overridable="yes" /> | ||
31 | <WixVariable Id="NetFx46WebInstallCondition" Value="" Overridable="yes" /> | ||
32 | <WixVariable Id="NetFx46WebPackageDirectory" Value="redist\" Overridable="yes" /> | ||
33 | |||
34 | <PackageGroup Id="NetFx46Web"> | ||
35 | <ExePackage | ||
36 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx46FullLog].html"" | ||
37 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx46FullLog].html"" | ||
38 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx46FullLog].html"" | ||
39 | PerMachine="yes" | ||
40 | DetectCondition="!(wix.NetFx46WebDetectCondition)" | ||
41 | InstallCondition="!(wix.NetFx46WebInstallCondition)" | ||
42 | Id="NetFx46Web" | ||
43 | Vital="yes" | ||
44 | Permanent="yes" | ||
45 | Protocol="netfx4" | ||
46 | DownloadUrl="$(var.NetFx46WebLink)" | ||
47 | LogPathVariable="NetFx46FullLog" | ||
48 | Compressed="no" | ||
49 | Name="!(wix.NetFx46WebPackageDirectory)NDP46-KB3045560-Web.exe"> | ||
50 | <RemotePayload | ||
51 | CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0" | ||
52 | CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC" | ||
53 | Description="Microsoft .NET Framework 4.6 Setup" | ||
54 | Hash="480CA134B9E3F2437DF10719D5A8C77DDEC0A4F1" | ||
55 | ProductName="Microsoft .NET Framework 4.6" | ||
56 | Size="1497400" | ||
57 | Version="4.6.81.0" /> | ||
58 | </ExePackage> | ||
59 | </PackageGroup> | ||
60 | </Fragment> | ||
61 | |||
62 | <Fragment> | ||
63 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
64 | |||
65 | <WixVariable Id="NetFx46RedistDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx46MinRelease)" Overridable="yes" /> | ||
66 | <WixVariable Id="NetFx46RedistInstallCondition" Value="" Overridable="yes" /> | ||
67 | <WixVariable Id="NetFx46RedistPackageDirectory" Value="redist\" Overridable="yes" /> | ||
68 | |||
69 | <PackageGroup Id="NetFx46Redist"> | ||
70 | <ExePackage | ||
71 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx46FullLog].html"" | ||
72 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx46FullLog].html"" | ||
73 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx46FullLog].html"" | ||
74 | PerMachine="yes" | ||
75 | DetectCondition="!(wix.NetFx46RedistDetectCondition)" | ||
76 | InstallCondition="!(wix.NetFx46RedistInstallCondition)" | ||
77 | Id="NetFx46Redist" | ||
78 | Vital="yes" | ||
79 | Permanent="yes" | ||
80 | Protocol="netfx4" | ||
81 | DownloadUrl="$(var.NetFx46RedistLink)" | ||
82 | LogPathVariable="NetFx46FullLog" | ||
83 | Compressed="no" | ||
84 | Name="!(wix.NetFx46RedistPackageDirectory)NDP46-KB3045557-x86-x64-AllOS-ENU.exe"> | ||
85 | <RemotePayload | ||
86 | CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0" | ||
87 | CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC" | ||
88 | Description="Microsoft .NET Framework 4.6 Setup" | ||
89 | Hash="3049A85843EAF65E89E2336D5FE6E85E416797BE" | ||
90 | ProductName="Microsoft .NET Framework 4.6" | ||
91 | Size="65444688" | ||
92 | Version="4.6.81.0" /> | ||
93 | </ExePackage> | ||
94 | </PackageGroup> | ||
95 | </Fragment> | ||
96 | </Wix> | ||
diff --git a/src/wixlib/NetFx461.wxs b/src/wixlib/NetFx461.wxs new file mode 100644 index 00000000..907c2a35 --- /dev/null +++ b/src/wixlib/NetFx461.wxs | |||
@@ -0,0 +1,95 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
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 location: | ||
10 | |||
11 | .NET Framework 4.5/4.5.1/4.5.2/4.6/4.6.1 - http://msdn.microsoft.com/en-us/library/w0x726c2(v=vs.110).aspx | ||
12 | --> | ||
13 | |||
14 | <?define NetFx461MinRelease = 394254 ?> | ||
15 | <?define NetFx461WebLink = http://go.microsoft.com/fwlink/?LinkId=671728 ?> | ||
16 | <?define NetFx461RedistLink = http://go.microsoft.com/fwlink/?LinkId=671743 ?> | ||
17 | |||
18 | <Fragment> | ||
19 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> | ||
20 | <Property Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Secure="yes" /> | ||
21 | <SetProperty Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Value="1" After="AppSearch"> | ||
22 | WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx461MinRelease)" | ||
23 | </SetProperty> | ||
24 | </Fragment> | ||
25 | |||
26 | <Fragment> | ||
27 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
28 | |||
29 | <WixVariable Id="NetFx461WebDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx461MinRelease)" Overridable="yes" /> | ||
30 | <WixVariable Id="NetFx461WebInstallCondition" Value="" Overridable="yes" /> | ||
31 | <WixVariable Id="NetFx461WebPackageDirectory" Value="redist\" Overridable="yes" /> | ||
32 | |||
33 | <PackageGroup Id="NetFx461Web"> | ||
34 | <ExePackage | ||
35 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" | ||
36 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" | ||
37 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" | ||
38 | PerMachine="yes" | ||
39 | DetectCondition="!(wix.NetFx461WebDetectCondition)" | ||
40 | InstallCondition="!(wix.NetFx461WebInstallCondition)" | ||
41 | Id="NetFx461Web" | ||
42 | Vital="yes" | ||
43 | Permanent="yes" | ||
44 | Protocol="netfx4" | ||
45 | DownloadUrl="$(var.NetFx461WebLink)" | ||
46 | LogPathVariable="NetFx461FullLog" | ||
47 | Compressed="no" | ||
48 | Name="!(wix.NetFx461WebPackageDirectory)NDP461-KB3102438-Web.exe"> | ||
49 | <RemotePayload | ||
50 | CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0" | ||
51 | CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC" | ||
52 | Description="Microsoft .NET Framework 4.6.1 Setup" | ||
53 | Hash="EE88B05232F43B517D4A368F7EE5065CDE7F67FA" | ||
54 | ProductName="Microsoft .NET Framework 4.6.1" | ||
55 | Size="1424328" | ||
56 | Version="4.6.1055.0" /> | ||
57 | </ExePackage> | ||
58 | </PackageGroup> | ||
59 | </Fragment> | ||
60 | |||
61 | <Fragment> | ||
62 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
63 | |||
64 | <WixVariable Id="NetFx461RedistDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx461MinRelease)" Overridable="yes" /> | ||
65 | <WixVariable Id="NetFx461RedistInstallCondition" Value="" Overridable="yes" /> | ||
66 | <WixVariable Id="NetFx461RedistPackageDirectory" Value="redist\" Overridable="yes" /> | ||
67 | |||
68 | <PackageGroup Id="NetFx461Redist"> | ||
69 | <ExePackage | ||
70 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" | ||
71 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" | ||
72 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" | ||
73 | PerMachine="yes" | ||
74 | DetectCondition="!(wix.NetFx461RedistDetectCondition)" | ||
75 | InstallCondition="!(wix.NetFx461RedistInstallCondition)" | ||
76 | Id="NetFx461Redist" | ||
77 | Vital="yes" | ||
78 | Permanent="yes" | ||
79 | Protocol="netfx4" | ||
80 | DownloadUrl="$(var.NetFx461RedistLink)" | ||
81 | LogPathVariable="NetFx461FullLog" | ||
82 | Compressed="no" | ||
83 | Name="!(wix.NetFx461RedistPackageDirectory)NDP461-KB3102436-x86-x64-AllOS-ENU.exe"> | ||
84 | <RemotePayload | ||
85 | CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0" | ||
86 | CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC" | ||
87 | Description="Microsoft .NET Framework 4.6.1 Setup" | ||
88 | Hash="83D048D171FF44A3CAD9B422137656F585295866" | ||
89 | ProductName="Microsoft .NET Framework 4.6.1" | ||
90 | Size="67681000" | ||
91 | Version="4.6.1055.0" /> | ||
92 | </ExePackage> | ||
93 | </PackageGroup> | ||
94 | </Fragment> | ||
95 | </Wix> | ||
diff --git a/src/wixlib/NetFx462.wxs b/src/wixlib/NetFx462.wxs new file mode 100644 index 00000000..08f5bd53 --- /dev/null +++ b/src/wixlib/NetFx462.wxs | |||
@@ -0,0 +1,95 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
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 location: | ||
10 | |||
11 | .NET Framework 4.5/4.5.1/4.5.2/4.6/4.6.1/4.6.2 - http://msdn.microsoft.com/en-us/library/w0x726c2(v=vs.110).aspx | ||
12 | --> | ||
13 | |||
14 | <?define NetFx462MinRelease = 394802 ?> | ||
15 | <?define NetFx462WebLink = http://go.microsoft.com/fwlink/?LinkId=780596 ?> | ||
16 | <?define NetFx462RedistLink = http://go.microsoft.com/fwlink/?LinkId=780600 ?> | ||
17 | |||
18 | <Fragment> | ||
19 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> | ||
20 | <Property Id="WIX_IS_NETFRAMEWORK_462_OR_LATER_INSTALLED" Secure="yes" /> | ||
21 | <SetProperty Id="WIX_IS_NETFRAMEWORK_462_OR_LATER_INSTALLED" Value="1" After="AppSearch"> | ||
22 | WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx462MinRelease)" | ||
23 | </SetProperty> | ||
24 | </Fragment> | ||
25 | |||
26 | <Fragment> | ||
27 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
28 | |||
29 | <WixVariable Id="NetFx462WebDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx462MinRelease)" Overridable="yes" /> | ||
30 | <WixVariable Id="NetFx462WebInstallCondition" Value="" Overridable="yes" /> | ||
31 | <WixVariable Id="NetFx462WebPackageDirectory" Value="redist\" Overridable="yes" /> | ||
32 | |||
33 | <PackageGroup Id="NetFx462Web"> | ||
34 | <ExePackage | ||
35 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx462FullLog].html"" | ||
36 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx462FullLog].html"" | ||
37 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx462FullLog].html"" | ||
38 | PerMachine="yes" | ||
39 | DetectCondition="!(wix.NetFx462WebDetectCondition)" | ||
40 | InstallCondition="!(wix.NetFx462WebInstallCondition)" | ||
41 | Id="NetFx462Web" | ||
42 | Vital="yes" | ||
43 | Permanent="yes" | ||
44 | Protocol="netfx4" | ||
45 | DownloadUrl="$(var.NetFx462WebLink)" | ||
46 | LogPathVariable="NetFx462FullLog" | ||
47 | Compressed="no" | ||
48 | Name="!(wix.NetFx462WebPackageDirectory)NDP462-KB3151802-Web.exe"> | ||
49 | <RemotePayload | ||
50 | CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0" | ||
51 | CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC" | ||
52 | Description="Microsoft .NET Framework 4.6.2 Setup" | ||
53 | Hash="C42E6ED280290648BBD59F664008852F4CFE4548" | ||
54 | ProductName="Microsoft .NET Framework 4.6.2" | ||
55 | Size="1429344" | ||
56 | Version="4.6.1590.0" /> | ||
57 | </ExePackage> | ||
58 | </PackageGroup> | ||
59 | </Fragment> | ||
60 | |||
61 | <Fragment> | ||
62 | <util:RegistrySearchRef Id="NETFRAMEWORK45"/> | ||
63 | |||
64 | <WixVariable Id="NetFx462RedistDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx462MinRelease)" Overridable="yes" /> | ||
65 | <WixVariable Id="NetFx462RedistInstallCondition" Value="" Overridable="yes" /> | ||
66 | <WixVariable Id="NetFx462RedistPackageDirectory" Value="redist\" Overridable="yes" /> | ||
67 | |||
68 | <PackageGroup Id="NetFx462Redist"> | ||
69 | <ExePackage | ||
70 | InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx462FullLog].html"" | ||
71 | RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx462FullLog].html"" | ||
72 | UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx462FullLog].html"" | ||
73 | PerMachine="yes" | ||
74 | DetectCondition="!(wix.NetFx462RedistDetectCondition)" | ||
75 | InstallCondition="!(wix.NetFx462RedistInstallCondition)" | ||
76 | Id="NetFx462Redist" | ||
77 | Vital="yes" | ||
78 | Permanent="yes" | ||
79 | Protocol="netfx4" | ||
80 | DownloadUrl="$(var.NetFx462RedistLink)" | ||
81 | LogPathVariable="NetFx462FullLog" | ||
82 | Compressed="no" | ||
83 | Name="!(wix.NetFx462RedistPackageDirectory)NDP462-KB3151800-x86-x64-AllOS-ENU.exe"> | ||
84 | <RemotePayload | ||
85 | CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0" | ||
86 | CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC" | ||
87 | Description="Microsoft .NET Framework 4.6.2 Setup" | ||
88 | Hash="A70F856BDA33D45AD0A8AD035F73092441715431" | ||
89 | ProductName="Microsoft .NET Framework 4.6.2" | ||
90 | Size="62008080" | ||
91 | Version="4.6.1590.0" /> | ||
92 | </ExePackage> | ||
93 | </PackageGroup> | ||
94 | </Fragment> | ||
95 | </Wix> | ||
diff --git a/src/wixlib/NetFxExtension.wxs b/src/wixlib/NetFxExtension.wxs new file mode 100644 index 00000000..b64dc004 --- /dev/null +++ b/src/wixlib/NetFxExtension.wxs | |||
@@ -0,0 +1,39 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | --> | ||
10 | |||
11 | <!-- Location of .NET Framework redistributable install root directory --> | ||
12 | <Fragment> | ||
13 | <Property Id="NETFRAMEWORKINSTALLROOTDIR" Secure="yes"> | ||
14 | <RegistrySearch Id="NetFxInstallRootSearch" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot" /> | ||
15 | </Property> | ||
16 | </Fragment> | ||
17 | |||
18 | <!-- location of the Windows SDK current active version installation root --> | ||
19 | <Fragment> | ||
20 | <Property Id="WINDOWSSDKCURRENTVERSIONDIR" Secure="yes"> | ||
21 | <RegistrySearch Id="WindowsSdkCurrentVersionDir" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows" Name="CurrentInstallFolder" Type="raw" /> | ||
22 | </Property> | ||
23 | </Fragment> | ||
24 | |||
25 | <!-- The Windows SDK current active version --> | ||
26 | <Fragment> | ||
27 | <Property Id="WINDOWSSDKCURRENTVERSION" Secure="yes"> | ||
28 | <RegistrySearch Id="WindowsSdkCurrentVersion" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows" Name="CurrentVersion" Type="raw" /> | ||
29 | </Property> | ||
30 | </Fragment> | ||
31 | |||
32 | <!-- Release value of .NET 4.5 and later --> | ||
33 | <Fragment> | ||
34 | <Property Id="WIXNETFX4RELEASEINSTALLED" Secure="yes"> | ||
35 | <RegistrySearch Id="NetFx4ReleaseInstalled" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Release" Type="raw" /> | ||
36 | </Property> | ||
37 | </Fragment> | ||
38 | |||
39 | </Wix> | ||
diff --git a/src/wixlib/NetFxExtension_Platform.wxi b/src/wixlib/NetFxExtension_Platform.wxi new file mode 100644 index 00000000..9236f316 --- /dev/null +++ b/src/wixlib/NetFxExtension_Platform.wxi | |||
@@ -0,0 +1,28 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | |||
7 | <?include caSuffix.wxi ?> | ||
8 | <Fragment> | ||
9 | <CustomAction Id="NetFxScheduleNativeImage$(var.Suffix)" BinaryKey="NetFxCA$(var.Suffix)" DllEntry="SchedNetFx" Execute="immediate" Return="check" SuppressModularization="yes" /> | ||
10 | <CustomAction Id="NetFxExecuteNativeImageInstall$(var.DeferredSuffix)" BinaryKey="NetFxCA$(var.Suffix)" DllEntry="ExecNetFx" Execute="deferred" Impersonate="no" Return="ignore" SuppressModularization="yes" /> | ||
11 | <CustomAction Id="NetFxExecuteNativeImageCommitInstall$(var.DeferredSuffix)" BinaryKey="NetFxCA$(var.Suffix)" DllEntry="ExecNetFx" Execute="commit" Impersonate="no" Return="ignore" SuppressModularization="yes" /> | ||
12 | <CustomAction Id="NetFxExecuteNativeImageUninstall$(var.DeferredSuffix)" BinaryKey="NetFxCA$(var.Suffix)" DllEntry="ExecNetFx" Execute="deferred" Impersonate="no" Return="ignore" SuppressModularization="yes" /> | ||
13 | <CustomAction Id="NetFxExecuteNativeImageCommitUninstall$(var.DeferredSuffix)" BinaryKey="NetFxCA$(var.Suffix)" DllEntry="ExecNetFx" Execute="commit" Impersonate="no" Return="ignore" SuppressModularization="yes" /> | ||
14 | |||
15 | <InstallExecuteSequence> | ||
16 | <Custom Action="NetFxScheduleNativeImage$(var.Suffix)" Before="InstallFiles" Overridable="yes" /> | ||
17 | <Custom Action="NetFxExecuteNativeImageCommitUninstall$(var.DeferredSuffix)" After="MsiPublishAssemblies" Overridable="yes">RollbackDisabled <> 1</Custom> | ||
18 | <Custom Action="NetFxExecuteNativeImageUninstall$(var.DeferredSuffix)" After="NetFxExecuteNativeImageCommitUninstall$(var.DeferredSuffix)" Overridable="yes">RollbackDisabled = 1</Custom> | ||
19 | <Custom Action="NetFxExecuteNativeImageCommitInstall$(var.DeferredSuffix)" After="NetFxExecuteNativeImageUninstall$(var.DeferredSuffix)" Overridable="yes">RollbackDisabled <> 1</Custom> | ||
20 | <Custom Action="NetFxExecuteNativeImageInstall$(var.DeferredSuffix)" After="NetFxExecuteNativeImageCommitInstall$(var.DeferredSuffix)" Overridable="yes">RollbackDisabled = 1</Custom> | ||
21 | </InstallExecuteSequence> | ||
22 | </Fragment> | ||
23 | |||
24 | <!-- NetFx Custom Action DLL Definitions --> | ||
25 | <Fragment> | ||
26 | <Binary Id="NetFxCA$(var.Suffix)" SourceFile="!(bindpath.$(var.platform))netfxca.dll" /> | ||
27 | </Fragment> | ||
28 | </Include> | ||
diff --git a/src/wixlib/NetFxExtension_x86.wxs b/src/wixlib/NetFxExtension_x86.wxs new file mode 100644 index 00000000..7245a4dd --- /dev/null +++ b/src/wixlib/NetFxExtension_x86.wxs | |||
@@ -0,0 +1,8 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | <?define platform=x86 ?> | ||
7 | <?include NetfxExtension_Platform.wxi ?> | ||
8 | </Wix> | ||
diff --git a/src/wixlib/caSuffix.wxi b/src/wixlib/caSuffix.wxi new file mode 100644 index 00000000..a56a2393 --- /dev/null +++ b/src/wixlib/caSuffix.wxi | |||
@@ -0,0 +1,28 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
5 | <?ifndef platform ?> | ||
6 | <?error Required value "platform" not defined in include caSuffix.wxi ?> | ||
7 | <?endif ?> | ||
8 | |||
9 | <?ifdef Suffix ?> | ||
10 | <?undef Suffix ?> | ||
11 | <?undef DeferredSuffix ?> | ||
12 | <?endif ?> | ||
13 | |||
14 | <?if $(var.platform)="x86" ?> | ||
15 | <?define Suffix="" ?> | ||
16 | <?define DeferredSuffix="" ?> | ||
17 | <?endif ?> | ||
18 | |||
19 | <?if $(var.platform)="x64" ?> | ||
20 | <?define Suffix="_x64" ?> | ||
21 | <?define DeferredSuffix="_64" ?> | ||
22 | <?endif ?> | ||
23 | |||
24 | <?if $(var.platform)="arm" ?> | ||
25 | <?define Suffix="_ARM" ?> | ||
26 | <?define DeferredSuffix="_ARM" ?> | ||
27 | <?endif ?> | ||
28 | </Include> | ||
diff --git a/src/wixlib/netfx.wixproj b/src/wixlib/netfx.wixproj new file mode 100644 index 00000000..8a734c84 --- /dev/null +++ b/src/wixlib/netfx.wixproj | |||
@@ -0,0 +1,53 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0"> | ||
4 | <Import Project="..\..\packages\WixToolset.Core.InternalPackage.4.0.64\build\WixToolset.Core.InternalPackage.props" Condition="Exists('..\..\packages\WixToolset.Core.InternalPackage.4.0.64\build\WixToolset.Core.InternalPackage.props')" /> | ||
5 | <Import Project="..\FindLocalWix.props" /> | ||
6 | <PropertyGroup> | ||
7 | <ProjectGuid>{45e4a6ac-3190-4e17-83f0-9935ffa5dc2b}</ProjectGuid> | ||
8 | <OutputName>netfx</OutputName> | ||
9 | <OutputType>Library</OutputType> | ||
10 | <BindFiles>true</BindFiles> | ||
11 | <Pedantic>true</Pedantic> | ||
12 | </PropertyGroup> | ||
13 | <ItemGroup> | ||
14 | <Compile Include="NetFxExtension.wxs" /> | ||
15 | <Compile Include="NetFx1.wxs" /> | ||
16 | <Compile Include="NetFx1.1.wxs" /> | ||
17 | <Compile Include="NetFx2.wxs" /> | ||
18 | <Compile Include="NetFx3.wxs" /> | ||
19 | <Compile Include="NetFx3.5.wxs" /> | ||
20 | <Compile Include="NetFx4.wxs" /> | ||
21 | <Compile Include="NetFx4.5.wxs" /> | ||
22 | <Compile Include="NetFx451.wxs" /> | ||
23 | <Compile Include="NetFx452.wxs" /> | ||
24 | <Compile Include="NetFx46.wxs" /> | ||
25 | <Compile Include="NetFx461.wxs" /> | ||
26 | <Compile Include="NetFx462.wxs" /> | ||
27 | <Compile Include="NetFxExtension_x86.wxs" /> | ||
28 | </ItemGroup> | ||
29 | <ItemGroup> | ||
30 | <None Include="packages.config" /> | ||
31 | </ItemGroup> | ||
32 | <ItemGroup> | ||
33 | <ProjectReference Include="..\ca\netfxca.vcxproj"> | ||
34 | <Name>netfxca</Name> | ||
35 | <Project>{F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}</Project> | ||
36 | </ProjectReference> | ||
37 | </ItemGroup> | ||
38 | <Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' AND Exists('$(WixTargetsPath)') " /> | ||
39 | <Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\wix.targets') " /> | ||
40 | <Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' "> | ||
41 | <Error Text="FG-WiX or WiX Toolset build tools (v3.11 or later) must be installed to build this project. To download FG-WiX, go to https://www.firegiant.com/downloads/. To download the WiX Toolset, go to http://wixtoolset.org/releases/." /> | ||
42 | </Target> | ||
43 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
44 | <PropertyGroup> | ||
45 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
46 | </PropertyGroup> | ||
47 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.7\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.7\build\Nerdbank.GitVersioning.targets'))" /> | ||
48 | <Error Condition="!Exists('..\..\packages\WixToolset.Util.wixext.4.0.1\build\WixToolset.Util.wixext.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.Util.wixext.4.0.1\build\WixToolset.Util.wixext.targets'))" /> | ||
49 | <Error Condition="!Exists('..\..\packages\WixToolset.Core.InternalPackage.4.0.64\build\WixToolset.Core.InternalPackage.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.Core.InternalPackage.4.0.64\build\WixToolset.Core.InternalPackage.props'))" /> | ||
50 | </Target> | ||
51 | <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.7\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.7\build\Nerdbank.GitVersioning.targets')" /> | ||
52 | <Import Project="..\..\packages\WixToolset.Util.wixext.4.0.1\build\WixToolset.Util.wixext.targets" Condition="Exists('..\..\packages\WixToolset.Util.wixext.4.0.1\build\WixToolset.Util.wixext.targets')" /> | ||
53 | </Project> \ No newline at end of file | ||
diff --git a/src/wixlib/packages.config b/src/wixlib/packages.config new file mode 100644 index 00000000..ba130574 --- /dev/null +++ b/src/wixlib/packages.config | |||
@@ -0,0 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="Nerdbank.GitVersioning" version="2.1.7" developmentDependency="true" targetFramework="net40" /> | ||
4 | <package id="WixToolset.Core.InternalPackage" version="4.0.64" targetFramework="net40" developmentDependency="true" /> | ||
5 | <package id="WixToolset.Util.wixext" version="4.0.1" targetFramework="net40" /> | ||
6 | </packages> \ No newline at end of file | ||