-
Notifications
You must be signed in to change notification settings - Fork 26
/
Windows10UpdateAssistant.yml
21 lines (21 loc) · 1.02 KB
/
Windows10UpdateAssistant.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: 22H2
description: Windows 10 Update Assistant. Force update to latest version of Windows 10.
homepage: https://www.microsoft.com/en-GB/software-download/windows10
license: Freeware
url: https://download.microsoft.com/download/4/8/3/483976ae-b4b1-490d-bd5f-74fdc44bb84e/Windows10Upgrade9252.exe#/UpdateAssistant.exe
hash: c0424d0ae06ca1e6e0249b40d33ac40d74075856d543ec0924884664fba52b79
uninstaller:
script: |
if ((is_admin)) {
Remove-Item 'C:\Windows10Upgrade' -ErrorAction 'SilentlyContinue' -Force -Recurse
$name = 'Windows 10 Update Assistant*'
(shortcut_folder $true | Split-Path), "$env:USERPROFILE\Desktop" | ForEach-Object {
Join-Path $_ $name | Remove-Item -ErrorAction 'SilentlyContinue' -Force
}
} else {
Write-UserMessage 'To fully uninstall Update Assistant you need to run ''Remove-Item "C:\Windows10Upgrade" -Force -Recurse'' within elevated prompt.' -Warning
}
shortcuts:
- - UpdateAssistant.exe
- Windows 10 Update Assistant
checkver: Version ([\dH]+)</h2