Fix2
This commit is contained in:
@@ -58,7 +58,7 @@ function InstallZipMsi {
|
|||||||
$msiFilePath = Join-Path $tmpPath $(Join-Path $zipName $msi)
|
$msiFilePath = Join-Path $tmpPath $(Join-Path $zipName $msi)
|
||||||
Write-Host "SetupPath: $msiFilePath"
|
Write-Host "SetupPath: $msiFilePath"
|
||||||
Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $tmpPath -Force
|
Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $tmpPath -Force
|
||||||
InstallMsi -app $msiFilePath
|
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$msiFilePath`" /qn" -Wait
|
||||||
}
|
}
|
||||||
|
|
||||||
function InstallZip {
|
function InstallZip {
|
||||||
|
|||||||
Reference in New Issue
Block a user