File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -444,9 +444,9 @@ function Fetch-Dependencies {
444
444
# The new runtime MSI is built to expand files into the immediate directory. So, setup the installation location.
445
445
New-Item - ItemType Directory - ErrorAction Ignore $BinaryCache \toolchains\$PinnedToolchain \LocalApp\Programs\Swift\Runtimes\0.0 .0 \usr\bin | Out-Null
446
446
Invoke-Program $BinaryCache \WiX- $WiXVersion \tools\net6.0 \any\wix.exe -- burn extract $BinaryCache \$PinnedToolchain.exe - out $BinaryCache \toolchains\ - outba $BinaryCache \toolchains\
447
- Get-ChildItem " $BinaryCache \toolchains\WixAttachedContainer" | % {
447
+ Get-ChildItem " $BinaryCache \toolchains\WixAttachedContainer" - Filter " *.msi " | % {
448
448
$LogFile = [System.IO.Path ]::ChangeExtension($_.Name , " log" )
449
- $TARGETDIR = if ($_.Name -eq " rti .msi" ) { " $BinaryCache \toolchains\$PinnedToolchain \LocalApp\Programs\Swift\Runtimes\0.0.0\usr\bin" } else { " $BinaryCache \toolchains\$PinnedToolchain " }
449
+ $TARGETDIR = if ($_.Name -eq " rtl .msi" ) { " $BinaryCache \toolchains\$PinnedToolchain \LocalApp\Programs\Swift\Runtimes\0.0.0\usr\bin" } else { " $BinaryCache \toolchains\$PinnedToolchain " }
450
450
Invoke-Program - OutNull msiexec.exe / lvx! $LogFile / qn / a $BinaryCache \toolchains\WixAttachedContainer\$_ ALLUSERS= 0 TARGETDIR= $TARGETDIR
451
451
}
452
452
You can’t perform that action at this time.
0 commit comments