CryptoCard Graphite Suiteを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリと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