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 += `
|
||||
'--productId', $productId, `
|
||||
'--installPath', "`"$InstallPath`"", `
|
||||
'--in', "`"$responseFile`"", `
|
||||
'--norestart'
|
||||
'--in', "`"$responseFile`""
|
||||
|
||||
if ($Passive) {
|
||||
$arguments += '--passive'
|
||||
$arguments += '--passive', '--norestart'
|
||||
}
|
||||
if ($Quiet) {
|
||||
$arguments += '--quiet', '--wait'
|
||||
$arguments += '--quiet', '--wait', '--norestart'
|
||||
}
|
||||
|
||||
Write-Host
|
||||
|
|
|
|||
Loading…
Reference in New Issue