פקודות להתקנה של Copilot modernization agent בלי חלונות ושאלות, להסרה ולזיהוי בכלי הפצה. פקודה מוצגת רק כשהיא ודאית: מתוך המניפסט או מברירת המחדל המתועדת של טכנולוגיית ההתקנה.
מדריך קשור: פרמטרים להתקנה שקטה: MSI, NSIS, Inno Setup · הסרת תוכנה דרך הרישום או PowerShell
באמצעות winget
PowerShell
winget install --id GitHub.Copilot.modernization.agent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitHub.Copilot.modernization.agent -e --silentwinget uninstall --id GitHub.Copilot.modernization.agent -e --silentלפי קובץ התקנה
64 ביט · MSI · en-US
התקנה שקטה
msiexec /i modernize_1.0.95_windows_x64.msi /qn /norestartכתיבת קובץ יומן
msiexec /i modernize_1.0.95_windows_x64.msi /qn /norestart /l*v "%TEMP%\copilot-modernization-agent-install.log"הסרת התקנה
msiexec /x {66F937DF-3767-433A-AC05-1446E853B750} /qn /norestart- קוד מוצר MSI
- {66F937DF-3767-433A-AC05-1446E853B750}
- מפתח הסרה ברישום
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{66F937DF-3767-433A-AC05-1446E853B750}
ARM64 · MSI · en-US
התקנה שקטה
msiexec /i modernize_1.0.95_windows_arm64.msi /qn /norestartכתיבת קובץ יומן
msiexec /i modernize_1.0.95_windows_arm64.msi /qn /norestart /l*v "%TEMP%\copilot-modernization-agent-install.log"הסרת התקנה
msiexec /x {2F43A103-766E-4238-A0BF-F1B2989954D6} /qn /norestart- קוד מוצר MSI
- {2F43A103-766E-4238-A0BF-F1B2989954D6}
- מפתח הסרה ברישום
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2F43A103-766E-4238-A0BF-F1B2989954D6}
PowerShell: הורדה, אימות והתקנה
הסקריפט מוריד את הקובץ הרשמי, בודק את ערך ה־SHA256 ומתקין אותו בהתקנה שקטה.
install-copilot-modernization-agent.ps1
$url = 'https://github.com/microsoft/modernize-cli/releases/download/v1.0.95/modernize_1.0.95_windows_x64.msi'
$sha256 = '1D4DC4E8D120AD8C569BA52BFBB83BD5B888E18EE04565EE1A11225199CA3CA0'
$file = Join-Path $env:TEMP 'modernize_1.0.95_windows_x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-copilot-modernization-agent.ps1
$url = 'https://github.com/microsoft/modernize-cli/releases/download/v1.0.95/modernize_1.0.95_windows_arm64.msi'
$sha256 = 'D8DC9F2557664010A393EA08ECE3FF0C06318945E67173C7A87B2D38DE173157'
$file = Join-Path $env:TEMP 'modernize_1.0.95_windows_arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait