Skip to content

Commit

Permalink
Use PSScriptRoot to find path to Wix module (#21611)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapatwardhan committed May 6, 2024
1 parent 467538f commit df56ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.psm1
Expand Up @@ -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
}
Expand Down

0 comments on commit df56ce2

Please sign in to comment.