FileCloud Driveを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id FileCloud.FileCloudDrive -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FileCloud.FileCloudDrive -e --silentwinget uninstall --id FileCloud.FileCloudDrive -e --silentインストーラー別
64ビット · EXE(Inno Setup) · すべてのユーザー · en-US
サイレントインストール
FileCloudDrive2eSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
FileCloudDrive2eSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\filecloud-drive"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EC50370E-83B4-40AA-818A-9B723D915D99}_is1
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-filecloud-drive.ps1
$url = 'https://downloads.filecloud.com/tonido/live/installer/x86-win32/FileCloudDrive2eSetup.exe'
$sha256 = '1880540F2EE93C8886DCD534A422B57FA47652CC8DC9EECCDEA55B285DB51866'
$file = Join-Path $env:TEMP 'FileCloudDrive2eSetup.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