diff --git a/assets/Product.wxs b/assets/Product.wxs index 86e0851754a..2354fa80186 100644 --- a/assets/Product.wxs +++ b/assets/Product.wxs @@ -6,6 +6,11 @@ + + + + + @@ -191,7 +196,7 @@ ADD_PATH=1 - + diff --git a/test/packaging/windows/msi.tests.ps1 b/test/packaging/windows/msi.tests.ps1 index 3189f13079b..d9541b74f06 100644 --- a/test/packaging/windows/msi.tests.ps1 +++ b/test/packaging/windows/msi.tests.ps1 @@ -138,7 +138,7 @@ Describe -Name "Windows MSI" -Fixture { It "MSI should have updated path" -Skip:(!(Test-Elevated)) { $psPath = ([System.Environment]::GetEnvironmentVariable('PATH', 'MACHINE')) -split ';' | - Where-Object {$_ -like '*files\powershell*' -and $_ -notin $beforePath} + Where-Object {$_ -like '*files\powershell*\preview*' -and $_ -notin $beforePath} $psPath | Should -Not -BeNullOrEmpty }