diff --git a/assets/files.wxs b/assets/files.wxs
index 46242d171ea..cd4b607982f 100644
--- a/assets/files.wxs
+++ b/assets/files.wxs
@@ -1944,6 +1944,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4086,6 +4098,11 @@
+
+
+
+
+
diff --git a/tools/packaging/packaging.psm1 b/tools/packaging/packaging.psm1
index a9c56d19534..d3b5d8b5590 100644
--- a/tools/packaging/packaging.psm1
+++ b/tools/packaging/packaging.psm1
@@ -2973,13 +2973,13 @@ function New-MSIPackage
$simpleProductVersion += '-preview'
}
- $assetsInSourcePath = Join-Path $ProductSourcePath 'assets'
-
$staging = "$PSScriptRoot/staging"
New-StagingFolder -StagingPath $staging -PackageSourcePath $ProductSourcePath
Get-ChildItem $staging -Filter *.pdb -Recurse | Remove-Item -Force
+ $assetsInSourcePath = Join-Path $staging 'assets'
+
New-Item $assetsInSourcePath -type directory -Force | Write-Verbose
Write-Verbose "Place dependencies such as icons to $assetsInSourcePath"