Use PSScriptRoot to find path to Wix module (#21611)

This commit is contained in:
Aditya Patwardhan
2024-05-06 23:23:08 +00:00
committed by GitHub
parent 467538ff9b
commit df56ce2404
+1 -1
View File
@@ -2296,7 +2296,7 @@ function Start-PSBootstrap {
& $psInstallFile -AddToPath
}
if ($Package) {
Import-Module '$(PowerShellRoot)\tools\wix\wix.psm1'
Import-Module "$PSScriptRoot\tools\wix\wix.psm1"
$isArm64 = '$(Runtime)' -eq 'arm64'
Install-Wix -arm64:$isArm64
}