免互動安裝Python 3.14、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Python.Python.3.14 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.14 -e --silentwinget uninstall --id Python.Python.3.14 -e --silent依安裝檔
64位元 · EXE(WiX Burn) · 僅目前使用者
靜默安裝
python-3.14.7-amd64.exe /quiet /norestart解除安裝
msiexec /x {97B6DE30-6082-48D1-9BB4-9F43296531A4} /qn /norestart- MSI產品代碼
- {97b6de30-6082-48d1-9bb4-9f43296531a4}
- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{97b6de30-6082-48d1-9bb4-9f43296531a4}
- UpgradeCode
- {AF37ADBF-A448-569B-983A-EE8E6DEC0484}
- DisplayVersion
- 3.14.7150.0
64位元 · EXE(WiX Burn) · 所有使用者
靜默安裝
python-3.14.7-amd64.exe /quiet /norestart解除安裝
msiexec /x {97B6DE30-6082-48D1-9BB4-9F43296531A4} /qn /norestart- MSI產品代碼
- {97b6de30-6082-48d1-9bb4-9f43296531a4}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{97b6de30-6082-48d1-9bb4-9f43296531a4}
- UpgradeCode
- {AF37ADBF-A448-569B-983A-EE8E6DEC0484}
- DisplayVersion
- 3.14.7150.0
64位元 · ZIP
免安裝(可攜版)
ARM64 · EXE(WiX Burn) · 僅目前使用者
靜默安裝
python-3.14.7-arm64.exe /quiet /norestart解除安裝
msiexec /x {5EEF6162-BA43-4E97-B14D-D7353E2E16E2} /qn /norestart- MSI產品代碼
- {5eef6162-ba43-4e97-b14d-d7353e2e16e2}
- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5eef6162-ba43-4e97-b14d-d7353e2e16e2}
- UpgradeCode
- {2F1F7880-E1EB-54EA-B512-067E199D4E88}
- DisplayVersion
- 3.14.7150.0
ARM64 · EXE(WiX Burn) · 所有使用者
靜默安裝
python-3.14.7-arm64.exe /quiet /norestart解除安裝
msiexec /x {5EEF6162-BA43-4E97-B14D-D7353E2E16E2} /qn /norestart- MSI產品代碼
- {5eef6162-ba43-4e97-b14d-d7353e2e16e2}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5eef6162-ba43-4e97-b14d-d7353e2e16e2}
- UpgradeCode
- {2F1F7880-E1EB-54EA-B512-067E199D4E88}
- DisplayVersion
- 3.14.7150.0
ARM64 · ZIP
免安裝(可攜版)
32位元 · EXE(WiX Burn) · 僅目前使用者
靜默安裝
python-3.14.7.exe /quiet /norestart解除安裝
msiexec /x {F7919868-552E-45F9-9CB3-237DFD58C2D4} /qn /norestart- MSI產品代碼
- {f7919868-552e-45f9-9cb3-237dfd58c2d4}
- 解除安裝登錄機碼
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{f7919868-552e-45f9-9cb3-237dfd58c2d4}
- UpgradeCode
- {872DB5D2-A16E-5A3C-B222-176907A65867}
- DisplayVersion
- 3.14.7150.0
32位元 · EXE(WiX Burn) · 所有使用者
靜默安裝
python-3.14.7.exe /quiet /norestart解除安裝
msiexec /x {F7919868-552E-45F9-9CB3-237DFD58C2D4} /qn /norestart- MSI產品代碼
- {f7919868-552e-45f9-9cb3-237dfd58c2d4}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{f7919868-552e-45f9-9cb3-237dfd58c2d4}
- UpgradeCode
- {872DB5D2-A16E-5A3C-B222-176907A65867}
- DisplayVersion
- 3.14.7150.0
32位元 · ZIP
免安裝(可攜版)
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-python-3-14.ps1
$url = 'https://www.python.org/ftp/python/3.14.7/python-3.14.7-amd64.exe'
$sha256 = '9D9EB2709EF81BF5CD30DB3C2096BDBC4EA10087C22E62F27D356B36F6AE9649'
$file = Join-Path $env:TEMP 'python-3.14.7-amd64.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 install-python-3-14.ps1
$url = 'https://www.python.org/ftp/python/3.14.7/python-3.14.7-amd64.exe'
$sha256 = '9D9EB2709EF81BF5CD30DB3C2096BDBC4EA10087C22E62F27D356B36F6AE9649'
$file = Join-Path $env:TEMP 'python-3.14.7-amd64.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 install-python-3-14.ps1
$url = 'https://www.python.org/ftp/python/3.14.7/python-3.14.7-arm64.exe'
$sha256 = '9A3FE120CC81BC2CB099550F794D8356811F96A86C7F438519243C3485DB928D'
$file = Join-Path $env:TEMP 'python-3.14.7-arm64.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 install-python-3-14.ps1
$url = 'https://www.python.org/ftp/python/3.14.7/python-3.14.7-arm64.exe'
$sha256 = '9A3FE120CC81BC2CB099550F794D8356811F96A86C7F438519243C3485DB928D'
$file = Join-Path $env:TEMP 'python-3.14.7-arm64.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 install-python-3-14.ps1
$url = 'https://www.python.org/ftp/python/3.14.7/python-3.14.7.exe'
$sha256 = '097FC03D4AC2DE66EE1D73A0C5D2D323B5C0F14923F7207686CE93149A80F0A6'
$file = Join-Path $env:TEMP 'python-3.14.7.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 install-python-3-14.ps1
$url = 'https://www.python.org/ftp/python/3.14.7/python-3.14.7.exe'
$sha256 = '097FC03D4AC2DE66EE1D73A0C5D2D323B5C0F14923F7207686CE93149A80F0A6'
$file = Join-Path $env:TEMP 'python-3.14.7.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