Fix
This commit is contained in:
@@ -55,10 +55,9 @@ function InstallZipMsi {
|
|||||||
)
|
)
|
||||||
$zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip)
|
$zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip)
|
||||||
Write-Host "Installing $zipName..."
|
Write-Host "Installing $zipName..."
|
||||||
$expPath = Join-Path $tmpPath
|
$msiFilePath = Join-Path $tmpPath $(Join-Path $zipName $msi)
|
||||||
$msiFilePath = Join-Path $expPath $(Join-Path $zipName $msi)
|
|
||||||
Write-Host "SetupPath: $msiFilePath"
|
Write-Host "SetupPath: $msiFilePath"
|
||||||
Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $expPath -Force
|
Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $tmpPath -Force
|
||||||
InstallMsi -app $msiFilePath
|
InstallMsi -app $msiFilePath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user