Kommandon för att installera Bubble 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 RedCactus.Bubble -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RedCactus.Bubble -e --silentwinget uninstall --id RedCactus.Bubble -e --silentPer installationsfil
64-bitars · MSI · en-US
Tyst installation
msiexec /i windows_x64 /qn /norestartSkriv en logg
msiexec /i windows_x64 /qn /norestart /l*v "%TEMP%\bubble-install.log"Avinstallation
msiexec /x {20062895-E4DA-435F-9F25-3CBC4615ED97} /qn /norestart- MSI-produktkod
- {20062895-E4DA-435F-9F25-3CBC4615ED97}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{20062895-E4DA-435F-9F25-3CBC4615ED97}
- UpgradeCode
- {56FC8793-125F-40DC-8864-EC6FCADC95D4}
- Installationsmapp
- APPDIR:.
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-bubble.ps1
$url = 'https://api.eu.redcactus.cloud/v1/public/software/download/latest/ff582a83-5f70-4629-aec8-4ed498dcc1b8/bubble/windows_x64'
$sha256 = 'EDC9D0A7D853E6163CD91B0722C6F235118A5785117F60A45B3EC69D3D7DA357'
$file = Join-Path $env:TEMP 'windows_x64'
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