Kommandon för att installera CubeICE utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
cubeice-3.5.1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
cubeice-3.5.1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cubeice"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C765184D-FE36-4C2C-95CE-9F0C05D61988}_is1
- Installationsmapp
- %ProgramFiles%\CubeICE
32-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
cubeice-3.5.1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
cubeice-3.5.1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cubeice"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{C765184D-FE36-4C2C-95CE-9F0C05D61988}_is1
- Installationsmapp
- %ProgramFiles%\CubeICE
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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