-
Notifications
You must be signed in to change notification settings - Fork 6
/
WinObj.yml
35 lines (35 loc) · 1.26 KB
/
WinObj.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
version: "3.14"
description: WinObj. Access and display information on the NT Object Manager's name space using native API.
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/winobj
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/WinObj.zip
hash: 585c75e0c2fb82fc43d8b986deac305fa3711db8d5f369dd874b66e721e6f5b3
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\Winobj"
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\Winobj" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
shortcuts:
- - WinObj64.exe
- SysInternals\WinObj
32bit:
shortcuts:
- - WinObj.exe
- SysInternals\WinObj
arm64:
shortcuts:
- - WinObj64a.exe
- SysInternals\WinObj
checkver: WinObj\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/WinObj.zip