免互動安裝Notebook、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Zoho.Notebook -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Zoho.Notebook -e --silentwinget uninstall --id Zoho.Notebook -e --silent依安裝檔
64位元 · EXE(NSIS) · 僅目前使用者
靜默安裝
Notebook-4.0.4.exe /S自訂安裝資料夾
Notebook-4.0.4.exe /S /D=C:\Apps\notebook- 解除安裝登錄機碼
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\07e74316-82bc-58bb-a564-e9fc8e1a4b1c
64位元 · EXE(NSIS) · 所有使用者
靜默安裝
Notebook-4.0.4.exe /S自訂安裝資料夾
Notebook-4.0.4.exe /S /D=C:\Apps\notebook- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\07e74316-82bc-58bb-a564-e9fc8e1a4b1c
32位元 · EXE(NSIS) · 僅目前使用者
靜默安裝
Notebook-4.0.4.exe /S自訂安裝資料夾
Notebook-4.0.4.exe /S /D=C:\Apps\notebook- 解除安裝登錄機碼
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\07e74316-82bc-58bb-a564-e9fc8e1a4b1c
32位元 · EXE(NSIS) · 所有使用者
靜默安裝
Notebook-4.0.4.exe /S自訂安裝資料夾
Notebook-4.0.4.exe /S /D=C:\Apps\notebook- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\07e74316-82bc-58bb-a564-e9fc8e1a4b1c
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-notebook.ps1
$url = 'https://downloads.zohocdn.com/notebook-desktop/Notebook-4.0.4.exe'
$sha256 = 'CF9CA6B35B3928932B9E596D75622035345FAA88348A7771FDED3D0D0BE8536C'
$file = Join-Path $env:TEMP 'Notebook-4.0.4.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-notebook.ps1
$url = 'https://downloads.zohocdn.com/notebook-desktop/Notebook-4.0.4.exe'
$sha256 = 'CF9CA6B35B3928932B9E596D75622035345FAA88348A7771FDED3D0D0BE8536C'
$file = Join-Path $env:TEMP 'Notebook-4.0.4.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-notebook.ps1
$url = 'https://downloads.zohocdn.com/notebook32-desktop/Notebook-4.0.4.exe'
$sha256 = '50E1DD5C26B29ADC4E399E54274D00533B833A617E9AFAB241E51E659DCF7F32'
$file = Join-Path $env:TEMP 'Notebook-4.0.4.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-notebook.ps1
$url = 'https://downloads.zohocdn.com/notebook32-desktop/Notebook-4.0.4.exe'
$sha256 = '50E1DD5C26B29ADC4E399E54274D00533B833A617E9AFAB241E51E659DCF7F32'
$file = Join-Path $env:TEMP 'Notebook-4.0.4.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