Ordres per instal·lar Stretchly sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Stretchly.Stretchly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Stretchly.Stretchly -e --silentwinget uninstall --id Stretchly.Stretchly -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
Stretchly-Setup-1.22.1.exe /SUna altra carpeta
Stretchly-Setup-1.22.1.exe /S /D=C:\Apps\stretchly- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\4f357cc2-fcfb-5fb1-89af-67446d29eff0
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
Stretchly-Setup-1.22.1.exe /SUna altra carpeta
Stretchly-Setup-1.22.1.exe /S /D=C:\Apps\stretchly- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\4f357cc2-fcfb-5fb1-89af-67446d29eff0
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-stretchly.ps1
$url = 'https://github.com/hovancik/stretchly/releases/download/v1.22.1/Stretchly-Setup-1.22.1.exe'
$sha256 = '1AAE9D7E65DF1E3D46DF8CE05018544A43F41F996094A64C201A80D0BE621D05'
$file = Join-Path $env:TEMP 'Stretchly-Setup-1.22.1.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 '/S' -Wait install-stretchly.ps1
$url = 'https://github.com/hovancik/stretchly/releases/download/v1.22.1/Stretchly-Setup-1.22.1.exe'
$sha256 = '1AAE9D7E65DF1E3D46DF8CE05018544A43F41F996094A64C201A80D0BE621D05'
$file = Join-Path $env:TEMP 'Stretchly-Setup-1.22.1.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 '/S' -Wait