mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use PSScriptRoot to find path to Wix module (#21611)
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user