คำสั่งสำหรับติดตั้ง TreeSize Free โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id JAMSoftware.TreeSize.Free -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JAMSoftware.TreeSize.Free -e --silentwinget uninstall --id JAMSoftware.TreeSize.Free -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (Inno Setup) · ผู้ใช้ปัจจุบัน · en-US
ติดตั้งแบบเงียบ
TreeSizeFreeSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CurrentUserกำหนดโฟลเดอร์เอง
TreeSizeFreeSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CurrentUser /DIR="C:\Apps\treesize-free"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TreeSize Free_is1
- DisplayVersion
- 4.8.1
64 บิต · EXE (Inno Setup) · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
TreeSizeFreeSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /AllUsersกำหนดโฟลเดอร์เอง
TreeSizeFreeSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /AllUsers /DIR="C:\Apps\treesize-free"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TreeSize Free_is1
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%\JAM Software\TreeSize Free
- DisplayVersion
- 4.8.1
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-treesize-free.ps1
$url = 'https://downloads.jam-software.de/treesize_free/archive/v4.8.1.610/TreeSizeFreeSetup.exe'
$sha256 = 'D800F1765539194A088CD06B2B8A73C40C4A1001425F2A892F495A53DB9DA2DE'
$file = Join-Path $env:TEMP 'TreeSizeFreeSetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CurrentUser' -Wait install-treesize-free.ps1
$url = 'https://downloads.jam-software.de/treesize_free/archive/v4.8.1.610/TreeSizeFreeSetup.exe'
$sha256 = 'D800F1765539194A088CD06B2B8A73C40C4A1001425F2A892F495A53DB9DA2DE'
$file = Join-Path $env:TEMP 'TreeSizeFreeSetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /AllUsers' -Wait