From 65c10598b7e88ef6fc1bf95e7bc4c19be743a0f9 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Tue, 23 Jun 2020 14:38:14 -0700 Subject: [PATCH] Remove component ref when regerenating the wix file --- tools/packaging/packaging.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packaging/packaging.psm1 b/tools/packaging/packaging.psm1 index d3b5d8b5590..3151290fd94 100644 --- a/tools/packaging/packaging.psm1 +++ b/tools/packaging/packaging.psm1 @@ -3336,7 +3336,7 @@ function Test-FileWxs Write-Verbose "Rebuilding componentRefs" -Verbose # add all the file components to the patch - foreach($component in $components) + foreach($component in $componentRefs) { $componentId = $component.Id Write-Verbose "Removing $componentId" -Verbose