The activate-windows/office wrappers set $env:KMS_AUTO to pre-select the product, but Approve() treated any KMS_AUTO as "non-interactive" and skipped the consequences prompt -- so on a machine needing the ODT/edition install it printed the consequences then exited without asking. Gate the prompt on a real console ([Environment]::UserInteractive + not IsInputRedirected, guarded) instead of KMS_AUTO. KMS_AUTO now only selects WHICH products to activate. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| scripts | ||