Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5609 from piotrpMSFT/piotrpmsft/infra/msiincremen…
Browse files Browse the repository at this point in the history
…taltiy

Add incrementality check for MSI generation
  • Loading branch information
Piotr Puszkiewicz authored Feb 7, 2017
2 parents 5612b8b + 0a634d5 commit d881d45
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build/package/Microsoft.DotNet.Cli.Installer.MSI.targets
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
<SdkInstallerNupkgFile>$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).$(NugetVersion).nupkg</SdkInstallerNupkgFile>
</PropertyGroup>

<!-- Generate SDK MSI Inputs -->
<ItemGroup>
<GenerateSdkMsiInputs Include="$(SdkLayoutOutputDirectory)/**/*;
$(SdkGenerateMsiPowershellScript)" />
</ItemGroup>

<!-- Consumed By Publish -->
<ItemGroup>
<GeneratedInstallers Include="$(SdkInstallerFile);$(CombinedFrameworkSdkHostInstallerFile)" />
Expand Down Expand Up @@ -74,7 +80,9 @@

<Target Name="GenerateSdkMsi"
DependsOnTargets="Init;Layout;AcquireWix;MsiTargetsSetupInputOutputs"
Condition=" '$(OS)' == 'Windows_NT'">
Condition=" '$(OS)' == 'Windows_NT'"
Inputs="@(GenerateSdkMsiInputs)"
Outputs="$(SdkInstallerFile)">

<Exec Command="powershell -NoProfile -NoLogo $(SdkGenerateMsiPowershellScript)
'$(SdkLayoutOutputDirectory)'
Expand Down

0 comments on commit d881d45

Please sign in to comment.