-
Notifications
You must be signed in to change notification settings - Fork 6
/
Autoruns.yml
51 lines (51 loc) · 1.53 KB
/
Autoruns.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "14.11"
description: Autoruns. Autostart program viewer
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/Autoruns.zip
hash: b04d2ac6dcc287a4b01a9cdc5bd9580a38df8a3379e03698cf7b888cdab7ea0f
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\AutoRuns"
New-Item $sysint, $fin -ErrorAction 'SilentlyContinue' | Out-Null
Set-ItemProperty -Path $fin -Name 'EulaAccepted' -Value 1 -Type 'DWord' -Force | Out-Null
pre_uninstall: |
if ($purge) {
$sysInt = 'HKCU:\SOFTWARE\Sysinternals'
Remove-Item "$sysInt\AutoRuns" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
bin:
- autorunsc64.exe
- - autorunsc64.exe
- autoruns64
- - autorunsc64.exe
- autoruns
shortcuts:
- - Autoruns64.exe
- SysInternals\Autoruns
32bit:
bin:
- autorunsc.exe
- - autorunsc.exe
- autoruns
shortcuts:
- - Autoruns.exe
- SysInternals\Autoruns
arm64:
bin:
- autorunsc64a.exe
- - autorunsc64a.exe
- autoruns64
- - autorunsc64a.exe
- autoruns
shortcuts:
- - Autoruns64a.exe
- SysInternals\Autoruns
checkver: Autoruns for Windows\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/Autoruns.zip