免互動安裝CryptoCard Graphite Suite、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id CryptoTech.CryptoCardSuite -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CryptoTech.CryptoCardSuite -e --silentwinget uninstall --id CryptoTech.CryptoCardSuite -e --silent依安裝檔
64位元 · MSI · 所有使用者
靜默安裝
msiexec /i setup.exe /qn /norestart寫入記錄檔
msiexec /i setup.exe /qn /norestart /l*v "%TEMP%\cryptocard-graphite-suite-install.log"解除安裝
msiexec /x {1FF75D04-6AB3-4939-A2A4-26FA679A9B60} /qn /norestart- MSI產品代碼
- {1FF75D04-6AB3-4939-A2A4-26FA679A9B60}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1FF75D04-6AB3-4939-A2A4-26FA679A9B60}
- UpgradeCode
- {FC622BA1-AF22-45CE-BFB8-02D904933BF8}
32位元 · MSI · 所有使用者
靜默安裝
msiexec /i setup.exe /qn /norestart寫入記錄檔
msiexec /i setup.exe /qn /norestart /l*v "%TEMP%\cryptocard-graphite-suite-install.log"解除安裝
msiexec /x {1FF75D04-6AB3-4939-A2A4-26FA679A9B60} /qn /norestart- MSI產品代碼
- {1FF75D04-6AB3-4939-A2A4-26FA679A9B60}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1FF75D04-6AB3-4939-A2A4-26FA679A9B60}
- UpgradeCode
- {FC622BA1-AF22-45CE-BFB8-02D904933BF8}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-cryptocard-graphite-suite.ps1
$url = 'https://www.cryptotech.com.pl/?wpdmdl=9794'
$sha256 = '86396481458FA4517CE62B9770E64F246DE6501A4A7B8998257E74E244346972'
$file = Join-Path $env:TEMP 'setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-cryptocard-graphite-suite.ps1
$url = 'https://www.cryptotech.com.pl/?wpdmdl=9798'
$sha256 = 'F231EF7C6823E5C724D68293DA5FB7FEE1190A9CDE59C70B214F99552875CA7A'
$file = Join-Path $env:TEMP 'setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait