From 2be172345a420387413bab7ce9053a52624c4461 Mon Sep 17 00:00:00 2001 From: Davis Goodin Date: Fri, 23 Aug 2019 13:54:54 -0500 Subject: [PATCH] [release/3.0-preview9] Fix bundle installer signing (#7822) * Fix bundle installer signing * Remove SignMsiFiles.proj MSBuild cycle This OrderProjectReference is unnecessary: ensuring the MSI files are signed before bundling them is already handled by the infrastructure in the GetBundledMsiFiles target. --- signing/SignBurnBundleFiles.proj | 2 +- signing/SignMsiFiles.proj | 2 +- src/pkg/packaging-tools/packaging-tools.targets | 1 + src/pkg/packaging-tools/windows/wix.targets | 12 ++++++++---- .../sfx/Microsoft.NETCore.App.SharedFx.sfxproj | 2 -- .../Microsoft.WindowsDesktop.App.SharedFx.sfxproj | 2 -- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/signing/SignBurnBundleFiles.proj b/signing/SignBurnBundleFiles.proj index 28eb9f24b3..55c7a8c581 100644 --- a/signing/SignBurnBundleFiles.proj +++ b/signing/SignBurnBundleFiles.proj @@ -4,7 +4,7 @@ diff --git a/signing/SignMsiFiles.proj b/signing/SignMsiFiles.proj index 7fd756ddce..55dd18dca6 100644 --- a/signing/SignMsiFiles.proj +++ b/signing/SignMsiFiles.proj @@ -12,7 +12,7 @@ DependsOnTargets="GetSharedFrameworkProjects" BeforeTargets="EnsureProjectsBuilt"> - + diff --git a/src/pkg/packaging-tools/packaging-tools.targets b/src/pkg/packaging-tools/packaging-tools.targets index 82bff56ecd..0a25e48298 100644 --- a/src/pkg/packaging-tools/packaging-tools.targets +++ b/src/pkg/packaging-tools/packaging-tools.targets @@ -80,6 +80,7 @@ $(InstallerName)-$(InstallerBuildPart) $(AssetOutputPath)$(InstallerFileNameWithoutExtension)$(InstallerExtension) $(AssetOutputPath)$(InstallerFileNameWithoutExtension).exe + $(AssetOutputPath)$(InstallerFileNameWithoutExtension)-engine.exe $(AssetOutputPath)$(InstallerFileNameWithoutExtension)$(CompressedFileExtension) diff --git a/src/pkg/packaging-tools/windows/wix.targets b/src/pkg/packaging-tools/windows/wix.targets index 1d082736ce..53b761c542 100644 --- a/src/pkg/packaging-tools/windows/wix.targets +++ b/src/pkg/packaging-tools/windows/wix.targets @@ -346,18 +346,22 @@ + DependsOnTargets=" + GetInstallerGenerationFlags; + GetWixBuildConfiguration"> + DependsOnTargets=" + GetInstallerGenerationFlags; + GetWixBuildConfiguration"> diff --git a/src/pkg/projects/netcoreapp/sfx/Microsoft.NETCore.App.SharedFx.sfxproj b/src/pkg/projects/netcoreapp/sfx/Microsoft.NETCore.App.SharedFx.sfxproj index cba841ca2e..c24c1a8db2 100644 --- a/src/pkg/projects/netcoreapp/sfx/Microsoft.NETCore.App.SharedFx.sfxproj +++ b/src/pkg/projects/netcoreapp/sfx/Microsoft.NETCore.App.SharedFx.sfxproj @@ -27,8 +27,6 @@ - -