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:
@@ -2146,6 +2146,11 @@ function Start-PSBootstrap {
|
||||
$psInstallFile = [System.IO.Path]::Combine($PSScriptRoot, "tools", "install-powershell.ps1")
|
||||
& $psInstallFile -AddToPath
|
||||
}
|
||||
if ($Package) {
|
||||
Import-Module "$PSScriptRoot\tools\wix\wix.psm1"
|
||||
$isArm64 = '$(Runtime)' -eq 'arm64'
|
||||
Install-Wix -arm64:$isArm64
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
Pop-Location
|
||||
|
||||
Reference in New Issue
Block a user