Embed CAB files #13875

This commit is contained in:
Jacques Eloff 2019-09-10 15:42:19 -07:00
parent 6594d8bb7c
commit 262f29b0ec
2 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<Name>AspNetCoreSharedFramework</Name>
<OutputName>$(Name)-$(Platform)</OutputName>
<OutputType>Package</OutputType>
<EmbedCab>no</EmbedCab>
<EmbedCab>yes</EmbedCab>
<Cabinet>sfx_$(Platform).cab</Cabinet>
<ProjectGuid>C681D730-4505-42C6-9E6C-87F757C4FB32</ProjectGuid>
<HarvestDirectoryAutoGenerateGuids>true</HarvestDirectoryAutoGenerateGuids>
@ -84,7 +84,6 @@
<Target Name="CreateSharedFrameworkNugetPackage" AfterTargets="CopyToArtifactsDirectory;Build">
<PropertyGroup>
<MsiFullPath>$(InstallersOutputPath)$(PackageFileName)</MsiFullPath>
<CabFullPath>$(InstallersOutputPath)$(Cabinet)</CabFullPath>
</PropertyGroup>
<Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
'$(ProductNameShort)' ^

View File

@ -25,7 +25,6 @@
Vital="yes"
InstallCondition="$(var.SharedFrameworkInstallCondition)">
<MsiProperty Name="DOTNETHOME" Value="[$(var.DotNetHome)]" />
<Payload Name="sfx_$(var.Platform).cab" SourceFile="$(var.SharedFramework.TargetDir)sfx_$(var.Platform).cab"/>
</MsiPackage>
</PackageGroup>
</Fragment>