Příkazy pro instalaci programu Compose Generator 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 ChilliBits.ComposeGenerator -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ChilliBits.ComposeGenerator -e --silentwinget uninstall --id ChilliBits.ComposeGenerator -e --silentPodle instalátoru
64bit · MSI · Všichni uživatelé · en-US
Tichá instalace
msiexec /i compose-generator_x64_setup.msi /qn /norestartZapsat protokol
msiexec /i compose-generator_x64_setup.msi /qn /norestart /l*v "%TEMP%\compose-generator-install.log"Odinstalace
msiexec /x {E26E05D2-7DE0-47FA-B85E-418D286B9B59} /qn /norestart- Kód produktu MSI
- {E26E05D2-7DE0-47FA-B85E-418D286B9B59}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E26E05D2-7DE0-47FA-B85E-418D286B9B59}
32bit · MSI · Všichni uživatelé · en-US
Tichá instalace
msiexec /i compose-generator_x86_setup.msi /qn /norestartZapsat protokol
msiexec /i compose-generator_x86_setup.msi /qn /norestart /l*v "%TEMP%\compose-generator-install.log"Odinstalace
msiexec /x {E4416087-C821-4267-ADC8-63D4758BAF6A} /qn /norestart- Kód produktu MSI
- {E4416087-C821-4267-ADC8-63D4758BAF6A}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{E4416087-C821-4267-ADC8-63D4758BAF6A}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-compose-generator.ps1
$url = 'https://github.com/compose-generator/compose-generator/releases/download/1.9.0/compose-generator_x64_setup.msi'
$sha256 = '54D2450399CCA2525DC4FF67CF90AB6C89970DF39B37331C9833166A69DC2341'
$file = Join-Path $env:TEMP 'compose-generator_x64_setup.msi'
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-compose-generator.ps1
$url = 'https://github.com/compose-generator/compose-generator/releases/download/1.9.0/compose-generator_x86_setup.msi'
$sha256 = '9ECD27213CE409A077189E1BB6BAA4B414DE59A092D025D50DD73D332C37B6BE'
$file = Join-Path $env:TEMP 'compose-generator_x86_setup.msi'
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