免互動安裝Process Lasso、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id BitSum.ProcessLasso -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BitSum.ProcessLasso -e --silentwinget uninstall --id BitSum.ProcessLasso -e --silent依安裝檔
64位元 · EXE(NSIS) · 所有使用者
靜默安裝
processlassosetup64.exe /S自訂安裝資料夾
processlassosetup64.exe /S /D=C:\Apps\process-lasso- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ProcessLasso
- 安裝資料夾
- %ProgramFiles%\Process Lasso
32位元 · EXE(NSIS) · 所有使用者
靜默安裝
processlassosetup32.exe /S自訂安裝資料夾
processlassosetup32.exe /S /D=C:\Apps\process-lasso- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ProcessLasso
- 安裝資料夾
- %ProgramFiles(x86)%\Process Lasso
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-process-lasso.ps1
$url = 'https://dl.bitsum.com/files/processlassosetup64.exe'
$sha256 = '0AF9D4727E151BA3AC0CEFEAF2CDEFE498907EABC1B9623DBA0F5DC1F254750A'
$file = Join-Path $env:TEMP 'processlassosetup64.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 '/S' -Wait install-process-lasso.ps1
$url = 'https://dl.bitsum.com/files/processlassosetup32.exe'
$sha256 = 'FB1178665C7BBC76FDAAEE6F93A9E18F51D88E5CA2D83B5C512DDAA3C92BAF55'
$file = Join-Path $env:TEMP 'processlassosetup32.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 '/S' -Wait