|
164 | 164 | <DirectoryRef Id="INSTALLDIR"> |
165 | 165 | <Directory Id="INSTALLLOCATION" ShortName="ANCM" Name="$(var.ProductName)"> |
166 | 166 | <Directory Id="VersionDir" Name="$(var.ProductVersionString)"> |
167 | | - <?if $(var.Platform) = "arm64" ?> |
168 | | - <Component Id="AspNetCoreModuleV2.forwarder" |
169 | | - Guid="08968573-05c1-4bf1-8879-7b818ac9525b" |
170 | | - Win64="$(var.IsWin64)"> |
171 | | - <File Id="AspNetCoreModuleV2Dll.forwarder" |
| 167 | + <Component Id="AspNetCoreModule" Guid="84ed6ce6-c8a3-4fa8-a872-c98a1d15dd4f" Win64="$(var.IsWin64)"> |
| 168 | + <?if $(var.Platform) = "arm64" ?> |
| 169 | + <File Id="AspNetCoreModuleDll" |
172 | 170 | Name="aspnetcorev2.dll" |
173 | 171 | Source="$(var.ArtifactsDir)\bin\AspNetCoreModuleForwarders\aspnetcorev2.dll" |
174 | 172 | DiskId="1" |
175 | 173 | Vital="yes"/> |
176 | | - <RegistryKey Root="HKLM" |
177 | | - Key="SYSTEM\CurrentControlSet\Services\EventLog\Application\$(var.ProductShortName)"> |
178 | | - <RegistryValue Name="EventMessageFile" Type="expandable" |
179 | | - Value="[#AspNetCoreModuleV2Dll.forwarder]" /> |
180 | | - <RegistryValue Name="TypesSupported" Type="integer" Value="7" /> |
181 | | - </RegistryKey> |
| 174 | + <?else ?> |
| 175 | + <File Id="AspNetCoreModuleDll" |
| 176 | + Name="aspnetcorev2.dll" |
| 177 | + Source="$(var.AspNetCoreV2ProgramFilesTargetPath)" |
| 178 | + DiskId="1" |
| 179 | + Vital="yes"/> |
| 180 | + <?endif ?> |
| 181 | + <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\Application\$(var.ProductShortName)"> |
| 182 | + <RegistryValue Name="EventMessageFile" Type="expandable" Value="[#AspNetCoreModuleDll]"/> |
| 183 | + <RegistryValue Name="TypesSupported" Type="integer" Value="7"/> |
| 184 | + </RegistryKey> |
182 | 185 | </Component> |
| 186 | + <Directory Id="HandlerVersionDir" Name="$(var.ANCMFolderVersion)" > |
| 187 | + <Component Id="AspNetCoreModuleHandler" Guid="559EF726-B25C-480F-AFA4-32D0BA8B2376" Win64="$(var.IsWin64)"> |
| 188 | + <?if $(var.Platform) = "arm64" ?> |
| 189 | + <File Id="AspNetCoreModuleHandlerDll" |
| 190 | + Name="aspnetcorev2_outofprocess.dll" |
| 191 | + Source="$(var.ArtifactsDir)\bin\AspNetCoreModuleForwarders\aspnetcorev2_outofprocess.dll" |
| 192 | + DiskId="1" |
| 193 | + Vital="yes"/> |
| 194 | + <?else ?> |
| 195 | + <File Id="AspNetCoreModuleHandlerDll" |
| 196 | + Name="aspnetcorev2_outofprocess.dll" |
| 197 | + Source="$(var.AspNetCoreV2HandlerProgramFilesTargetPath)" |
| 198 | + DiskId="1" |
| 199 | + Vital="yes"> |
| 200 | + </File> |
| 201 | + <?endif ?> |
| 202 | + </Component> |
| 203 | + <?if $(var.Platform) = "arm64" ?> |
| 204 | + <Component Id="AspNetCoreModuleHandler.x64" |
| 205 | + Guid="0b192457-9c6a-4703-ba6a-0c5a58b7c9cb" |
| 206 | + Win64="$(var.IsWin64)"> |
| 207 | + <File Id="AspNetCoreModuleHandlerDll.x64" |
| 208 | + Name="aspnetcorev2_outofprocess_x64.dll" |
| 209 | + Source="$(var.ArtifactsDir)\bin\OutOfProcessRequestHandler\x64\$(var.Configuration)\aspnetcorev2_outofprocess.dll" |
| 210 | + DiskId="1" |
| 211 | + Vital="yes"/> |
| 212 | + </Component> |
| 213 | + <Component Id="AspNetCoreModuleHandler.arm64" |
| 214 | + Guid="21cc9da0-ab0a-4717-90df-dbaaa3f68510" Win64="$(var.IsWin64)"> |
| 215 | + <File Id="AspNetCoreModuleHandlerDll.arm64" |
| 216 | + Name="aspnetcorev2_outofprocess_arm64.dll" |
| 217 | + Source="$(var.AspNetCoreV2HandlerProgramFilesTargetPath)" |
| 218 | + DiskId="1" |
| 219 | + Vital="yes"/> |
| 220 | + </Component> |
| 221 | + <?endif ?> |
| 222 | + </Directory> |
| 223 | + <?if $(var.Platform) = "arm64" ?> |
183 | 224 | <Component Id="AspNetCoreModuleV2.x64" |
184 | 225 | Guid="1962b1b0-6345-4b37-97b3-a8f2c9e82bee" |
185 | 226 | Win64="$(var.IsWin64)"> |
|
210 | 251 | <RegistryValue Name="TypesSupported" Type="integer" Value="7" /> |
211 | 252 | </RegistryKey> |
212 | 253 | </Component> |
213 | | - <Directory Id="HandlerVersionDir" Name="$(var.ANCMFolderVersion)"> |
214 | | - <Component Id="AspNetCoreModuleHandler.forwarder" |
215 | | - Guid="51045d90-7231-480c-bac7-2969a2861ece" Win64="$(var.IsWin64)"> |
216 | | - <File Id="AspNetCoreModuleHandlerDll.forwarder" |
217 | | - Name="aspnetcorev2_outofprocess.dll" |
218 | | - Source="$(var.ArtifactsDir)\bin\AspNetCoreModuleForwarders\aspnetcorev2_outofprocess.dll" |
219 | | - DiskId="1" |
220 | | - Vital="yes"/> |
221 | | - </Component> |
222 | | - <Component Id="AspNetCoreModuleHandler.x64" |
223 | | - Guid="0b192457-9c6a-4703-ba6a-0c5a58b7c9cb" |
224 | | - Win64="$(var.IsWin64)"> |
225 | | - <File Id="AspNetCoreModuleHandlerDll.x64" |
226 | | - Name="aspnetcorev2_outofprocess_x64.dll" |
227 | | - Source="$(var.ArtifactsDir)\bin\OutOfProcessRequestHandler\x64\$(var.Configuration)\aspnetcorev2_outofprocess.dll" |
228 | | - DiskId="1" |
229 | | - Vital="yes"/> |
230 | | - </Component> |
231 | | - <Component Id="AspNetCoreModuleHandler.arm64" |
232 | | - Guid="21cc9da0-ab0a-4717-90df-dbaaa3f68510" Win64="$(var.IsWin64)"> |
233 | | - <File Id="AspNetCoreModuleHandlerDll.arm64" |
234 | | - Name="aspnetcorev2_outofprocess_arm64.dll" |
235 | | - Source="$(var.AspNetCoreV2HandlerProgramFilesTargetPath)" |
236 | | - DiskId="1" |
237 | | - Vital="yes"/> |
238 | | - </Component> |
239 | | - </Directory> |
240 | | - <?else ?> |
241 | | - <Component Id="AspNetCoreModule" Guid="84ed6ce6-c8a3-4fa8-a872-c98a1d15dd4f" Win64="$(var.IsWin64)"> |
242 | | - <File Id="AspNetCoreModuleDll" |
243 | | - Name="aspnetcorev2.dll" |
244 | | - Source="$(var.AspNetCoreV2ProgramFilesTargetPath)" |
245 | | - DiskId="1" |
246 | | - Vital="yes"> |
247 | | - </File> |
248 | | - <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\Application\$(var.ProductShortName)"> |
249 | | - <RegistryValue Name="EventMessageFile" Type="expandable" Value="[#AspNetCoreModuleDll]"/> |
250 | | - <RegistryValue Name="TypesSupported" Type="integer" Value="7"/> |
251 | | - </RegistryKey> |
252 | | - </Component> |
253 | | - <Directory Id="HandlerVersionDir" Name="$(var.ANCMFolderVersion)" > |
254 | | - <Component Id="AspNetCoreModuleHandler" Guid="559EF726-B25C-480F-AFA4-32D0BA8B2376" Win64="$(var.IsWin64)"> |
255 | | - <File Id="AspNetCoreModuleHandlerDll" |
256 | | - Name="aspnetcorev2_outofprocess.dll" |
257 | | - Source="$(var.AspNetCoreV2HandlerProgramFilesTargetPath)" |
258 | | - DiskId="1" |
259 | | - Vital="yes"> |
260 | | - </File> |
261 | | - </Component> |
262 | | - </Directory> |
263 | 254 | <?endif ?> |
264 | 255 | </Directory> |
265 | 256 | </Directory> |
|
324 | 315 |
|
325 | 316 | <!-- Feature Definition --> |
326 | 317 | <Feature Id="AspNetCoreModuleFeature" Title="!(loc.AspNetCoreModuleProductTitle)" Description="!(loc.AspNetCoreModuleProductDescription)" Level="1"> |
| 318 | + <ComponentRef Id="AspNetCoreModule"/> |
| 319 | + <ComponentRef Id="AspNetCoreModuleHandler"/> |
327 | 320 | <?if $(var.Platform) = "arm64" ?> |
328 | | - <ComponentRef Id="AspNetCoreModuleV2.forwarder" /> |
329 | | - <ComponentRef Id="AspNetCoreModuleHandler.forwarder" /> |
330 | 321 | <ComponentRef Id="AspNetCoreModuleV2.x64" /> |
331 | 322 | <ComponentRef Id="AspNetCoreModuleHandler.x64" /> |
332 | 323 | <ComponentRef Id="AspNetCoreModuleV2.arm64" /> |
333 | 324 | <ComponentRef Id="AspNetCoreModuleHandler.arm64" /> |
334 | | - <?else ?> |
335 | | - <ComponentRef Id="AspNetCoreModule"/> |
336 | | - <ComponentRef Id="AspNetCoreModuleHandler"/> |
337 | 325 | <?endif ?> |
338 | 326 | <ComponentRef Id="AspNetCoreSchema"/> |
339 | 327 | <?if $(var.Platform) != "x86" ?> |
|
0 commit comments