熱門: 資料更新於2026年10月27日

軟體分類

網路軟體1,356
通訊社群321
影音軟體898
繪圖與影像539
辦公軟體1,124
開發工具3,134
AI工具529
安全與隱私385
系統工具3,114
遊戲523
教育與科學239
網路與IT284

Hatch靜默安裝與解除安裝參數

A modern, extensible Python project manager.

免互動安裝Hatch、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

PowerShell
winget install --id PyPA.Hatch -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id PyPA.Hatch -e --silent
winget uninstall --id PyPA.Hatch -e --silent

依安裝檔

64位元 · EXE(WiX Burn) · 所有使用者

靜默安裝hatch-universal.exe /quiet /norestart
解除安裝msiexec /x {502D5045-6D40-43D7-BD16-802BF5AE5125} /qn /norestart
MSI產品代碼
{502d5045-6d40-43d7-bd16-802bf5ae5125}
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{502d5045-6d40-43d7-bd16-802bf5ae5125}
UpgradeCode
{B37530C5-BA4B-5B74-8FD2-11B3C6FEC322}

64位元 · MSI · 所有使用者

靜默安裝msiexec /i hatch-x64.msi /qn /norestart
寫入記錄檔msiexec /i hatch-x64.msi /qn /norestart /l*v "%TEMP%\hatch-install.log"
解除安裝msiexec /x {5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB} /qn /norestart
MSI產品代碼
{5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB}
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB}
UpgradeCode
{FD7A2091-85DB-5381-9D0B-A70CCB1780AB}

32位元 · EXE(WiX Burn) · 所有使用者

靜默安裝hatch-universal.exe /quiet /norestart
解除安裝msiexec /x {502D5045-6D40-43D7-BD16-802BF5AE5125} /qn /norestart
MSI產品代碼
{502d5045-6d40-43d7-bd16-802bf5ae5125}
解除安裝登錄機碼
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{502d5045-6d40-43d7-bd16-802bf5ae5125}
UpgradeCode
{B37530C5-BA4B-5B74-8FD2-11B3C6FEC322}

32位元 · MSI · 所有使用者

靜默安裝msiexec /i hatch-x86.msi /qn /norestart
寫入記錄檔msiexec /i hatch-x86.msi /qn /norestart /l*v "%TEMP%\hatch-install.log"
解除安裝msiexec /x {618BD727-0E10-4F39-87D5-9F3E377752F6} /qn /norestart
MSI產品代碼
{618BD727-0E10-4F39-87D5-9F3E377752F6}
解除安裝登錄機碼
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{618BD727-0E10-4F39-87D5-9F3E377752F6}
UpgradeCode
{FD7A2091-85DB-5381-9D0B-A70CCB1780AB}

PowerShell:下載、驗證、安裝

下載官方檔案,驗證SHA256後靜默安裝。

install-hatch.ps1
$url = 'https://github.com/pypa/hatch/releases/download/hatch-v1.18.1/hatch-universal.exe'
$sha256 = '04C5D9D466CECA1566A7E3E9F61919BB83B79D6A66D0D80256FF18871D8B5980'
$file = Join-Path $env:TEMP 'hatch-universal.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 '/quiet /norestart' -Wait

程式語言與SDK熱門排行

查看全部
  1. Go Programming Language程式語言與SDK
  2. LLVM程式語言與SDK · LLVM
  3. Deno程式語言與SDK · Deno Land Inc.
  4. CMake程式語言與SDK · Kitware
  5. Yarn程式語言與SDK · Yarn Contributors
  6. Ccache程式語言與SDK · Joel Rosdahl
  7. sbt程式語言與SDK · Lightbend, Inc.
  8. BOINC程式語言與SDK · Space Sciences Laboratory, U.C. Berkeley
  9. Dart SDK程式語言與SDK · Google
  10. NVM for Windows程式語言與SDK · Ecor Ventures LLC

標籤

分享