From e1f84fcee750e4b273425d504c502f978aaea66f Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Mon, 25 Jan 2021 12:48:27 -0800 Subject: [PATCH] Build break: Shorten Windows targeting pack CAB name - use `` and auto-generated name when embedding - otherwise, stick with `` but remove `_win` from the CAB name --- eng/targets/Wix.Common.targets | 9 +++++++-- src/Installers/Windows/TargetingPack/Product.wxs | 8 +++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/eng/targets/Wix.Common.targets b/eng/targets/Wix.Common.targets index 5206b96c0876..72cec114582b 100644 --- a/eng/targets/Wix.Common.targets +++ b/eng/targets/Wix.Common.targets @@ -27,12 +27,15 @@ $(OutputNamePrefix)$(_GeneratedPackageVersion)$(OutputNameSuffix) yes - $(OutputName.Replace('-', '_')).cab $(ProductName) $(DefineConstants);Debug $(DefineConstants);EmbedCab=$(EmbedCab) - $(DefineConstants);Cabinet=$(Cabinet) + + + + $(OutputName.Replace('-', '_')).cab + $(OutputName.Replace('_win', '')).cab @@ -40,6 +43,8 @@ $(Culture) $(Platform) $(OutputPath) + + $(DefineConstants);Cabinet=$(Cabinet) $(DefineConstants);BinPath=$(OutputPath)$(Culture)\ $(WixVariables);$(DefineConstants) diff --git a/src/Installers/Windows/TargetingPack/Product.wxs b/src/Installers/Windows/TargetingPack/Product.wxs index a43f6ab4e172..33b6173a7a5b 100644 --- a/src/Installers/Windows/TargetingPack/Product.wxs +++ b/src/Installers/Windows/TargetingPack/Product.wxs @@ -5,7 +5,13 @@ - + + + + + + +