Příkazy pro instalaci programu CubeICE bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id CubeSoft.CubeICE -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CubeSoft.CubeICE -e --silentwinget uninstall --id CubeSoft.CubeICE -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Všichni uživatelé · en-US
Tichá instalace
cubeice-3.5.1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
cubeice-3.5.1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cubeice"- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C765184D-FE36-4C2C-95CE-9F0C05D61988}_is1
- Instalační složka
- %ProgramFiles%\CubeICE
32bit · EXE (Inno Setup) · Všichni uživatelé · en-US
Tichá instalace
cubeice-3.5.1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
cubeice-3.5.1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cubeice"- Klíč odinstalace v registru
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{C765184D-FE36-4C2C-95CE-9F0C05D61988}_is1
- Instalační složka
- %ProgramFiles%\CubeICE
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-cubeice.ps1
$url = 'https://dl.cube-soft.jp/archive/cubeice-3.5.1-x64.exe'
$sha256 = '554F995AF03680661C910C22BECB15CC7BE21773F8D9EE127BD3CE16ADF1A085'
$file = Join-Path $env:TEMP 'cubeice-3.5.1-x64.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-cubeice.ps1
$url = 'https://dl.cube-soft.jp/archive/cubeice-3.5.1-x86.exe'
$sha256 = 'E0AF892E6DEB44BFC2DC7F687A138A2F13C85D7A7F8730F1490DDAB86EF934C2'
$file = Join-Path $env:TEMP 'cubeice-3.5.1-x86.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