Use `--norestart` VS installer argument conditionally (#25425)
- aspnet/AspNetCore-ManualTests#175 - now compatible only with `--passive` and `--quiet`
This commit is contained in:
parent
c2f97933fe
commit
21668d2c16
|
|
@ -111,14 +111,13 @@ if (Test-path $InstallPath) {
|
||||||
$arguments += `
|
$arguments += `
|
||||||
'--productId', $productId, `
|
'--productId', $productId, `
|
||||||
'--installPath', "`"$InstallPath`"", `
|
'--installPath', "`"$InstallPath`"", `
|
||||||
'--in', "`"$responseFile`"", `
|
'--in', "`"$responseFile`""
|
||||||
'--norestart'
|
|
||||||
|
|
||||||
if ($Passive) {
|
if ($Passive) {
|
||||||
$arguments += '--passive'
|
$arguments += '--passive', '--norestart'
|
||||||
}
|
}
|
||||||
if ($Quiet) {
|
if ($Quiet) {
|
||||||
$arguments += '--quiet', '--wait'
|
$arguments += '--quiet', '--wait', '--norestart'
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host
|
Write-Host
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue