-
Notifications
You must be signed in to change notification settings - Fork 6
/
DiskView.yml
35 lines (35 loc) · 1.33 KB
/
DiskView.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: "2.41"
description: DiskView. Shows a graphical map of disk, allowing to determine where a file is located or, by clicking on a cluster, seeing which file occupies it.
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/diskview
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/DiskView.zip
hash: 0ceac1623419ce74cfd079823130a76e23d1932ba6cc396157a299e9f23ebe2d
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\DiskView"
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\DiskView" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
shortcuts:
- - DiskView64.exe
- SysInternals\DiskView
32bit:
shortcuts:
- - DiskView.exe
- SysInternals\DiskView
arm64:
shortcuts:
- - DiskView64a.exe
- SysInternals\DiskView
checkver: DiskView\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/DiskView.zip