|
1 | | -<?xml version="1.0" encoding="UTF-8"?> |
2 | | - |
3 | | -<!-- |
| 1 | +<!-- |
4 | 2 | Copyright (c) Microsoft Corporation. All rights reserved. |
5 | 3 | Licensed under the MIT license. |
6 | 4 | --> |
|
11 | 9 |
|
12 | 10 | --> |
13 | 11 |
|
14 | | -<Include> |
| 12 | +<Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
15 | 13 | <!-- |
16 | 14 | all these properties are marked secure because that is the mechanism by |
17 | 15 | which they can be passed from the client side of msiexec to the server |
|
23 | 21 |
|
24 | 22 | <!-- iis installation lookup --> |
25 | 23 | <Property Id="IISINSTALLPATH" Admin="no" Secure="yes"> |
26 | | - <RegistrySearch Id="RegistrySearch_IISINSTALLPATH" Type="raw" Root="HKLM" Key="Software\Microsoft\InetStp" Name="InstallPath" Win64="$(var.IsWin64)" /> |
| 24 | + <RegistrySearch Id="RegistrySearch_IISINSTALLPATH" Type="raw" Root="HKLM" Key="Software\Microsoft\InetStp" Name="InstallPath" Bitness="$(var.Bitness)" /> |
27 | 25 | </Property> |
28 | 26 |
|
29 | 27 | <!-- iis features lookup --> |
30 | 28 | <Property Id="IISCOREWEBENGINEINSTALLED" Secure="yes"> |
31 | | - <RegistrySearch Id="RegistrySearch_IISCOREWEBENGINEINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="CoreWebEngine" Win64="$(var.IsWin64)" /> |
| 29 | + <RegistrySearch Id="RegistrySearch_IISCOREWEBENGINEINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="CoreWebEngine" Bitness="$(var.Bitness)" /> |
32 | 30 | </Property> |
33 | 31 | <Property Id="IISW3SVCINSTALLED" Secure="yes"> |
34 | | - <RegistrySearch Id="RegistrySearch_IISW3SVCINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="W3SVC" Win64="$(var.IsWin64)"/> |
| 32 | + <RegistrySearch Id="RegistrySearch_IISW3SVCINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="W3SVC" Bitness="$(var.Bitness)" /> |
35 | 33 | </Property> |
36 | 34 | <Property Id="IISADMINSERVICEINSTALLED" Secure="yes"> |
37 | | - <RegistrySearch Id="RegistrySearch_IISADMINSERVICEINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="AdminService" Win64="$(var.IsWin64)"/> |
| 35 | + <RegistrySearch Id="RegistrySearch_IISADMINSERVICEINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="AdminService" Bitness="$(var.Bitness)" /> |
38 | 36 | </Property> |
39 | 37 | <Property Id="IISMANAGEMENTCONSOLEINSTALLED" Secure="yes"> |
40 | | - <RegistrySearch Id="RegistrySearch_IISMANAGEMENTCONSOLEINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="ManagementConsole" Win64="$(var.IsWin64)" /> |
| 38 | + <RegistrySearch Id="RegistrySearch_IISMANAGEMENTCONSOLEINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="ManagementConsole" Bitness="$(var.Bitness)" /> |
41 | 39 | </Property> |
42 | 40 | <Property Id="IISNETFXEXTENSIBILITYINSTALLED" Secure="yes"> |
43 | | - <RegistrySearch Id="RegistrySearch_IISNETFXEXTENSIBILITYINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="NetFxExtensibility" Win64="$(var.IsWin64)" /> |
| 41 | + <RegistrySearch Id="RegistrySearch_IISNETFXEXTENSIBILITYINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="NetFxExtensibility" Bitness="$(var.Bitness)" /> |
44 | 42 | </Property> |
45 | 43 | <Property Id="IISASPNET" Secure="yes"> |
46 | | - <RegistrySearch Id="RegistrySearch_IISASPNETINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="ASPNET" Win64="$(var.IsWin64)" /> |
| 44 | + <RegistrySearch Id="RegistrySearch_IISASPNETINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Name="ASPNET" Bitness="$(var.Bitness)" /> |
47 | 45 | </Property> |
48 | 46 |
|
49 | 47 | <Property Id="IISMETABASEIMAGEPATH" Secure="yes"> |
50 | | - <RegistrySearch Id="RegistrySearch_IISMETABASEIMAGEPATH" Type="raw" Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\IISADMIN" Name="ImagePath" Win64="$(var.IsWin64)" /> |
| 48 | + <RegistrySearch Id="RegistrySearch_IISMETABASEIMAGEPATH" Type="raw" Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\IISADMIN" Name="ImagePath" Bitness="$(var.Bitness)" /> |
51 | 49 | </Property> |
52 | 50 |
|
53 | 51 | <!-- UI features lookup --> |
54 | 52 | <Property Id="IISREMOTECHANNELINSTALLED" Secure="yes"> |
55 | | - <RegistrySearch Id ="RegistrySearch_IISREMOTECHANNELINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\Inetmgr\7.0" Name="RemoteChannel" Win64="$(var.IsWin64)"/> |
| 53 | + <RegistrySearch Id="RegistrySearch_IISREMOTECHANNELINSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\Inetmgr\7.0" Name="RemoteChannel" Bitness="$(var.Bitness)" /> |
56 | 54 | </Property> |
57 | 55 |
|
58 | 56 | <!-- |
|
63 | 61 | (NOT NETFRAMEWORK20) Or (NETFRAMEWORK20_SP_LEVEL ~>= "#1") Or Installed |
64 | 62 | --> |
65 | 63 | <Property Id="NETFRAMEWORK20" Secure="yes"> |
66 | | - <RegistrySearch Id="RegistrySearch_NETFRAMEWORK20" Type="raw" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="Install" Win64="$(var.IsWin64)"/> |
| 64 | + <RegistrySearch Id="RegistrySearch_NETFRAMEWORK20" Type="raw" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="Install" Bitness="$(var.Bitness)" /> |
67 | 65 | </Property> |
68 | 66 | <Property Id="NETFRAMEWORK20_SP_LEVEL" Secure="yes"> |
69 | | - <RegistrySearch Id="RegistrySearch_NETFRAMEWORK20_SP_LEVEL" Type="raw" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="SP" Win64="$(var.IsWin64)"/> |
| 67 | + <RegistrySearch Id="RegistrySearch_NETFRAMEWORK20_SP_LEVEL" Type="raw" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="SP" Bitness="$(var.Bitness)" /> |
70 | 68 | </Property> |
71 | 69 | <Property Id="NETFRAMEWORK35_SP_LEVEL" Secure="yes"> |
72 | | - <RegistrySearch Id="RegistrySearch_NETFRAMEWORK35_SP_LEVEL" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5" Name="SP" Win64="$(var.IsWin64)"/> |
| 70 | + <RegistrySearch Id="RegistrySearch_NETFRAMEWORK35_SP_LEVEL" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5" Name="SP" Bitness="$(var.Bitness)" /> |
73 | 71 | </Property> |
74 | 72 |
|
75 | 73 | <!-- search for powershell v1 --> |
76 | 74 | <Property Id="POWERSHELLINSTALLED" Secure="yes"> |
77 | | - <RegistrySearch Id="RegistrySearch_POWERSHELLINSTALLED" Type="raw" Root="HKLM" Key="Software\Microsoft\PowerShell\1" Name="Install" Win64="$(var.IsWin64)"/> |
| 75 | + <RegistrySearch Id="RegistrySearch_POWERSHELLINSTALLED" Type="raw" Root="HKLM" Key="Software\Microsoft\PowerShell\1" Name="Install" Bitness="$(var.Bitness)" /> |
78 | 76 | </Property> |
79 | 77 |
|
80 | 78 | <!-- Read the start type for the Windows Update service --> |
81 | 79 | <Property Id="WINDOWSUPDATE_START_TYPE" Secure="yes"> |
82 | | - <RegistrySearch Id="RegistrySearch_WINDOWSUPDATE_START_TYPE" Type="raw" Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\wuauserv" Name="Start" Win64="$(var.IsWin64)"/> |
| 80 | + <RegistrySearch Id="RegistrySearch_WINDOWSUPDATE_START_TYPE" Type="raw" Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\wuauserv" Name="Start" Bitness="$(var.Bitness)" /> |
83 | 81 | </Property> |
84 | 82 |
|
85 | 83 | <!-- Figure out the windows sku --> |
86 | 84 | <Property Id="WINDOWSEDITION" Secure="yes"> |
87 | | - <RegistrySearch Id="RegistrySearch_WINDOWSEDITION" Type="raw" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion" Name="EditionID" Win64="$(var.IsWin64)"/> |
| 85 | + <RegistrySearch Id="RegistrySearch_WINDOWSEDITION" Type="raw" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion" Name="EditionID" Bitness="$(var.Bitness)" /> |
88 | 86 | </Property> |
89 | 87 |
|
90 | 88 | <!-- search for web pi --> |
91 | 89 | <Property Id="WEBPI3INSTALLED" Secure="yes"> |
92 | | - <RegistrySearch Id="RegistrySearch_WEBPI3INSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\WebPlatformInstaller\3" Name="Install" Win64="$(var.IsWin64)"/> |
| 90 | + <RegistrySearch Id="RegistrySearch_WEBPI3INSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\WebPlatformInstaller\3" Name="Install" Bitness="$(var.Bitness)" /> |
93 | 91 | </Property> |
94 | 92 |
|
95 | 93 | <Property Id="WEBPI4INSTALLED" Secure="yes"> |
96 | | - <RegistrySearch Id="RegistrySearch_WEBPI4INSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\WebPlatformInstaller\4" Name="Install" Win64="$(var.IsWin64)"/> |
| 94 | + <RegistrySearch Id="RegistrySearch_WEBPI4INSTALLED" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\WebPlatformInstaller\4" Name="Install" Bitness="$(var.Bitness)" /> |
97 | 95 | </Property> |
98 | 96 | </Include> |
0 commit comments