|
|
@@ -1,15 +1,28 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<?include ..\AspNetCoreModule-Setup\IIS-Setup\include.wxi ?>
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
|
|
<Fragment>
|
|
|
<PackageGroup Id="PG_SHAREDFX_REDIST_BUNDLE">
|
|
|
<RollbackBoundary Id="RB_SHAREDFX_REDIST_BUNDLE" />
|
|
|
|
|
|
+ <!-- OPT_NO_SHAREDFX could be unset at this point, which we explicitly treat as 'false' -->
|
|
|
+ <ExePackage Id="SharedFxRedist_arm64" SourceFile="$(var.InstallersOutputPath)\$(var.SharedFxRedistInstallerarm64)"
|
|
|
+ Name="$(var.SharedFxRedistInstallerarm64)"
|
|
|
+ Compressed="yes"
|
|
|
+ Vital="yes"
|
|
|
+ InstallCondition="(NativeMachine="$(var.NativeMachine_arm64)") AND (NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX="0")"
|
|
|
+ InstallCommand="/quiet /norestart"
|
|
|
+ RepairCommand="/quiet /repair"
|
|
|
+ Permanent="yes"
|
|
|
+ DetectCondition="SharedFxRedistProductVersion_arm64 = v$(var.SharedFxInstallerProductVersionarm64)">
|
|
|
+ </ExePackage>
|
|
|
+
|
|
|
<!-- OPT_NO_SHAREDFX could be unset at this point, which we explicitly treat as 'false' -->
|
|
|
<ExePackage Id="SharedFxRedist_x64" SourceFile="$(var.InstallersOutputPath)\$(var.SharedFxRedistInstallerx64)"
|
|
|
Name="$(var.SharedFxRedistInstallerx64)"
|
|
|
Compressed="yes"
|
|
|
Vital="yes"
|
|
|
- InstallCondition="VersionNT64 AND (NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX="0")"
|
|
|
+ InstallCondition="(NativeMachine="$(var.NativeMachine_x64)") AND (NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX="0")"
|
|
|
InstallCommand="/quiet /norestart"
|
|
|
RepairCommand="/quiet /repair"
|
|
|
Permanent="yes"
|
|
|
@@ -27,20 +40,27 @@
|
|
|
Permanent="yes"
|
|
|
DetectCondition="SharedFxRedistProductVersion_x86 = v$(var.SharedFxInstallerProductVersionx86)">
|
|
|
</ExePackage>
|
|
|
+
|
|
|
</PackageGroup>
|
|
|
</Fragment>
|
|
|
|
|
|
<Fragment>
|
|
|
<util:ProductSearch Id="SharedFxRedistProductSearch_x86"
|
|
|
- Condition="NOT VersionNT64"
|
|
|
+ Condition="(NativeMachine="$(var.NativeMachine_x86)")"
|
|
|
ProductCode="$(var.SharedFxInstallerProductCodex86)"
|
|
|
Result="version"
|
|
|
Variable="SharedFxRedistProductVersion_x86" />
|
|
|
|
|
|
<util:ProductSearch Id="SharedFxRedistProductSearch_x64"
|
|
|
- Condition="VersionNT64"
|
|
|
+ Condition="(NativeMachine="$(var.NativeMachine_x64)")"
|
|
|
ProductCode="$(var.SharedFxInstallerProductCodex64)"
|
|
|
Result="version"
|
|
|
Variable="SharedFxRedistProductVersion_x64" />
|
|
|
+
|
|
|
+ <util:ProductSearch Id="SharedFxRedistProductSearch_arm64"
|
|
|
+ Condition="(NativeMachine="$(var.NativeMachine_arm64)")"
|
|
|
+ ProductCode="$(var.SharedFxInstallerProductCodearm64)"
|
|
|
+ Result="version"
|
|
|
+ Variable="SharedFxRedistProductVersion_arm64" />
|
|
|
</Fragment>
|
|
|
</Wix>
|