免互動安裝Typora、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id appmakes.Typora -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id appmakes.Typora -e --silentwinget uninstall --id appmakes.Typora -e --silent依安裝檔
64位元 · EXE(Inno Setup) · 僅目前使用者
靜默安裝
typora-setup-x64-1.14.17.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
typora-setup-x64-1.14.17.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\typora"- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{37771A20-7167-44C0-B322-FD3E54C56156}_is1
64位元 · EXE(Inno Setup) · 所有使用者
靜默安裝
typora-setup-x64-1.14.17.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
typora-setup-x64-1.14.17.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\typora"- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{37771A20-7167-44C0-B322-FD3E54C56156}_is1
- 安裝資料夾
- %ProgramFiles%\Typora
ARM64 · EXE(Inno Setup) · 僅目前使用者
靜默安裝
typora-setup-arm64-1.14.9.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
typora-setup-arm64-1.14.9.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\typora"- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{37771A20-7167-44C0-B322-FD3E54C56156}_is1
ARM64 · EXE(Inno Setup) · 所有使用者
靜默安裝
typora-setup-arm64-1.14.9.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
typora-setup-arm64-1.14.9.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\typora"- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{37771A20-7167-44C0-B322-FD3E54C56156}_is1
- 安裝資料夾
- %ProgramFiles%\Typora
32位元 · EXE(Inno Setup) · 僅目前使用者
靜默安裝
typora-setup-ia32-1.14.17.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
typora-setup-ia32-1.14.17.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\typora"- 解除安裝登錄機碼
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{37771A20-7167-44C0-B322-FD3E54C56156}_is1
32位元 · EXE(Inno Setup) · 所有使用者
靜默安裝
typora-setup-ia32-1.14.17.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
typora-setup-ia32-1.14.17.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\typora"- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{37771A20-7167-44C0-B322-FD3E54C56156}_is1
- 安裝資料夾
- %ProgramFiles(x86)%\Typora
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-typora.ps1
$url = 'https://downloads.typora.io/windows/typora-setup-x64-1.14.17.exe'
$sha256 = '44D0A858B0F9CA2656EE0F75061657636B44A58841941CBB6D37A01E7F956D72'
$file = Join-Path $env:TEMP 'typora-setup-x64-1.14.17.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 /SP-' -Wait install-typora.ps1
$url = 'https://downloads.typora.io/windows/typora-setup-x64-1.14.17.exe'
$sha256 = '44D0A858B0F9CA2656EE0F75061657636B44A58841941CBB6D37A01E7F956D72'
$file = Join-Path $env:TEMP 'typora-setup-x64-1.14.17.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 /SP-' -Wait install-typora.ps1
$url = 'https://downloads.typora.io/windows/typora-setup-arm64-1.14.9.exe'
$sha256 = 'EF72BA3C23430259587600D5EB711A0DF7E4DB788A22BE7B7C7E97A9F4AFD2F7'
$file = Join-Path $env:TEMP 'typora-setup-arm64-1.14.9.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 /SP-' -Wait install-typora.ps1
$url = 'https://downloads.typora.io/windows/typora-setup-arm64-1.14.9.exe'
$sha256 = 'EF72BA3C23430259587600D5EB711A0DF7E4DB788A22BE7B7C7E97A9F4AFD2F7'
$file = Join-Path $env:TEMP 'typora-setup-arm64-1.14.9.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 /SP-' -Wait install-typora.ps1
$url = 'https://downloads.typora.io/windows/typora-setup-ia32-1.14.17.exe'
$sha256 = '0EF0C6901159A61E276429668454426F59E5CDE4C1BEF2FCE422951D9238942A'
$file = Join-Path $env:TEMP 'typora-setup-ia32-1.14.17.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 /SP-' -Wait install-typora.ps1
$url = 'https://downloads.typora.io/windows/typora-setup-ia32-1.14.17.exe'
$sha256 = '0EF0C6901159A61E276429668454426F59E5CDE4C1BEF2FCE422951D9238942A'
$file = Join-Path $env:TEMP 'typora-setup-ia32-1.14.17.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 /SP-' -Wait