-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/5.0] Include SharedFx bundle in Hosting Bundle, instead of S…
…haredFx .msi (#36868) * Chain SharedFx Bundle into Hosting Bundle instead of .msi * Fixup * Move stuff around * Try something * Try something else * AfterTargets * Fix version * Fixup * Feedback Co-authored-by: Will Godbe <wigodbe@microsoft.com>
- Loading branch information
1 parent
d5ae64d
commit 60819f7
Showing
5 changed files
with
103 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
src/Installers/Windows/WindowsHostingBundle/SharedFramework.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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" /> | ||
|
||
<ExePackage Id="SharedFxRedist_x64" SourceFile="$(var.InstallersOutputPath)\$(var.SharedFxRedistInstallerx64)" | ||
Name="$(var.SharedFxRedistInstallerx64)" | ||
Compressed="yes" | ||
Vital="yes" | ||
InstallCondition="VersionNT64 AND (NOT OPT_NO_SHAREDFX)" | ||
InstallCommand="/quiet /norestart" | ||
RepairCommand="/quiet /repair" | ||
Permanent="yes" | ||
DetectCondition="SharedFxRedistProductVersion_x64 = v$(var.SharedFxInstallerProductVersionx64)"> | ||
</ExePackage> | ||
|
||
<ExePackage Id="SharedFxRedist_x86" SourceFile="$(var.InstallersOutputPath)\$(var.SharedFxRedistInstallerx86)" | ||
Name="$(var.SharedFxRedistInstallerx86)" | ||
Compressed="yes" | ||
Vital="yes" | ||
InstallCondition="(NOT OPT_NO_SHAREDFX) AND (NOT OPT_NO_X86)" | ||
InstallCommand="/quiet /norestart" | ||
RepairCommand="/quiet /repair" | ||
Permanent="yes" | ||
DetectCondition="SharedFxRedistProductVersion_x86 = v$(var.SharedFxInstallerProductVersionx86)"> | ||
</ExePackage> | ||
</PackageGroup> | ||
</Fragment> | ||
|
||
<Fragment> | ||
<util:ProductSearch Id="SharedFxRedistProductSearch_x86" | ||
Condition="NOT VersionNT64" | ||
ProductCode="$(var.SharedFxInstallerProductCodex86)" | ||
Result="version" | ||
Variable="SharedFxRedistProductVersion_x86" /> | ||
|
||
<util:ProductSearch Id="SharedFxRedistProductSearch_x64" | ||
Condition="VersionNT64" | ||
ProductCode="$(var.SharedFxInstallerProductCodex64)" | ||
Result="version" | ||
Variable="SharedFxRedistProductVersion_x64" /> | ||
</Fragment> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters