Use correct path to x86 installers to ANCM (#9646)
This commit is contained in:
parent
87229e315e
commit
cc2005c7d0
|
|
@ -34,8 +34,12 @@
|
|||
<?if $(var.Platform) = "x64" ?>
|
||||
<?define SchemaGuid = "ab582af2-d6c0-43f7-8412-76a19c65d7f2" ?>
|
||||
<?define SchemaGuid32 = "e629b31a-3d56-4b5c-959c-586fc1c55599" ?>
|
||||
<?define AspNetCoreV2ProgramFilesTargetPath = "$(var.AspNetCoreV2.TargetPath)" ?>
|
||||
<?define AspNetCoreV2HandlerProgramFilesTargetPath = "$(var.AspNetCoreV2Handler.TargetPath)" ?>
|
||||
<?else ?>
|
||||
<?define SchemaGuid = "e629b31a-3d56-4b5c-959c-586fc1c55599" ?>
|
||||
<?define AspNetCoreV2ProgramFilesTargetPath = "$(var.AspNetCoreV2WoW64.TargetPath)" ?>
|
||||
<?define AspNetCoreV2HandlerProgramFilesTargetPath = "$(var.AspNetCoreV2HandlerWoW64.TargetPath)" ?>
|
||||
<?endif ?>
|
||||
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:dep="http://schemas.microsoft.com/wix/DependencyExtension">
|
||||
|
|
@ -162,12 +166,12 @@
|
|||
<Directory Id="INSTALLLOCATION" ShortName="ANCM" Name="$(var.ProductName)">
|
||||
<Directory Id="VersionDir" Name="$(var.ProductVersionString)">
|
||||
<Component Id="AspNetCoreModule" Guid="84ed6ce6-c8a3-4fa8-a872-c98a1d15dd4f" Win64="$(var.IsWin64)">
|
||||
<File Id="AspNetCoreModuleDll"
|
||||
<File Id="AspNetCoreModuleDll"
|
||||
Name="aspnetcorev2.dll"
|
||||
Source="$(var.AspNetCoreV2.TargetPath)"
|
||||
Source="$(var.AspNetCoreV2ProgramFilesTargetPath)"
|
||||
DiskId="1"
|
||||
Vital="yes">
|
||||
</File>
|
||||
</File>
|
||||
<RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\Application\$(var.ProductShortName)">
|
||||
<RegistryValue Name="EventMessageFile" Type="expandable" Value="[#AspNetCoreModuleDll]"/>
|
||||
<RegistryValue Name="TypesSupported" Type="integer" Value="7"/>
|
||||
|
|
@ -175,12 +179,12 @@
|
|||
</Component>
|
||||
<Directory Id="HandlerVersionDir" Name="$(var.ANCMFolderVersion)" >
|
||||
<Component Id="AspNetCoreModuleHandler" Guid="559EF726-B25C-480F-AFA4-32D0BA8B2376" Win64="$(var.IsWin64)">
|
||||
<File Id="AspNetCoreModuleHandlerDll"
|
||||
Name="aspnetcorev2_outofprocess.dll"
|
||||
Source="$(var.AspNetCoreV2Handler.TargetPath)"
|
||||
DiskId="1"
|
||||
Vital="yes">
|
||||
</File>
|
||||
<File Id="AspNetCoreModuleHandlerDll"
|
||||
Name="aspnetcorev2_outofprocess.dll"
|
||||
Source="$(var.AspNetCoreV2HandlerProgramFilesTargetPath)"
|
||||
DiskId="1"
|
||||
Vital="yes">
|
||||
</File>
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,14 @@
|
|||
<?define PlatformValue = "x86" ?>
|
||||
<?endif?>
|
||||
|
||||
<?if $(var.Platform) = "x64" ?>
|
||||
<?define AspNetCoreV2ProgramFilesTargetPath = "$(var.AspNetCoreV2.TargetPath)" ?>
|
||||
<?define AspNetCoreV2HandlerProgramFilesTargetPath = "$(var.AspNetCoreV2Handler.TargetPath)" ?>
|
||||
<?else ?>
|
||||
<?define AspNetCoreV2ProgramFilesTargetPath = "$(var.AspNetCoreV2WoW64.TargetPath)" ?>
|
||||
<?define AspNetCoreV2HandlerProgramFilesTargetPath = "$(var.AspNetCoreV2HandlerWoW64.TargetPath)" ?>
|
||||
<?endif ?>
|
||||
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:dep="http://schemas.microsoft.com/wix/DependencyExtension">
|
||||
<Product Id="$(var.ProductCode)"
|
||||
Name="!(loc.AspNetCoreModuleProductNameV2)"
|
||||
|
|
@ -137,12 +145,12 @@
|
|||
<Directory Id="INSTALLLOCATION" ShortName="ANCM" Name="Asp.Net Core Module">
|
||||
<Directory Id="VersionDir" Name="$(var.ProductVersionString)">
|
||||
<Component Id="AspNetCoreModuleV2" Guid="3a692941-59be-43cf-98a8-6ed01b12a519" Win64="$(var.IsWin64)">
|
||||
<File Id="AspNetCoreModuleV2Dll"
|
||||
Name="aspnetcorev2.dll"
|
||||
Source="$(var.AspNetCoreV2.TargetPath)"
|
||||
DiskId="1"
|
||||
Vital="yes">
|
||||
</File>
|
||||
<File Id="AspNetCoreModuleV2Dll"
|
||||
Name="aspnetcorev2.dll"
|
||||
Source="$(var.AspNetCoreV2ProgramFilesTargetPath)"
|
||||
DiskId="1"
|
||||
Vital="yes">
|
||||
</File>
|
||||
<RemoveFile Id="AspNetCoreModuleV2Dll_Remove" Name="aspnetcorev2.dll" On="install" />
|
||||
<RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\Application\$(var.ProductShortName)">
|
||||
<RegistryValue Name="EventMessageFile" Type="expandable" Value="[#AspNetCoreModuleV2Dll]"/>
|
||||
|
|
@ -151,12 +159,12 @@
|
|||
</Component>
|
||||
<Directory Id="HandlerVersionDir" Name="$(var.ANCMFolderVersion)" >
|
||||
<Component Id="AspNetCoreModuleHandler" Guid="4b62060a-deb8-4de3-9557-9c0be21dc844" Win64="$(var.IsWin64)">
|
||||
<File Id="AspNetCoreModuleHandlerDll"
|
||||
Name="aspnetcorev2_outofprocess.dll"
|
||||
Source="$(var.AspNetCoreV2Handler.TargetPath)"
|
||||
DiskId="1"
|
||||
Vital="yes">
|
||||
</File>
|
||||
<File Id="AspNetCoreModuleHandlerDll"
|
||||
Name="aspnetcorev2_outofprocess.dll"
|
||||
Source="$(var.AspNetCoreV2HandlerProgramFilesTargetPath)"
|
||||
DiskId="1"
|
||||
Vital="yes">
|
||||
</File>
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
|
|
|||
Loading…
Reference in New Issue