Ordres per instal·lar Gallery Remote 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 ntwind.GalleryRemote -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ntwind.GalleryRemote -e --silentwinget uninstall --id ntwind.GalleryRemote -e --silentPer instal·lador
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
GalleryRemote_1.0.3-win-x64.exe /SUna altra carpeta
GalleryRemote_1.0.3-win-x64.exe /S /D=C:\Apps\gallery-remotePowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-gallery-remote.ps1
$url = 'https://www.ntwind.com/files/GalleryRemote_1.0.3-win-x64.exe'
$sha256 = 'E285A915E171AF454BBEA23DF12613B96FD3E27AB534324729E5048DC6B2B552'
$file = Join-Path $env:TEMP 'GalleryRemote_1.0.3-win-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 '/S' -Wait