Ordres per instal·lar Rebased 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 detachhead.rebased -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id detachhead.rebased -e --silentwinget uninstall --id detachhead.rebased -e --silentPer instal·lador
64 bits · EXE (NSIS) · Tots els usuaris · en-US
Instal·lació silenciosa
rebased.exe /SUna altra carpeta
rebased.exe /S /D=C:\Apps\rebased- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Rebased 1.1.22
- Carpeta d’instal·lació
- %ProgramFiles%\detachhead\Rebased
- DisplayVersion
- 1.1.22
ARM64 · EXE (NSIS) · Tots els usuaris · en-US
Instal·lació silenciosa
rebased-aarch64.exe /SUna altra carpeta
rebased-aarch64.exe /S /D=C:\Apps\rebased- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Rebased 1.1.22
- Carpeta d’instal·lació
- %ProgramFiles%\detachhead\Rebased
- DisplayVersion
- 1.1.22
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-rebased.ps1
$url = 'https://github.com/DetachHead/rebased/releases/download/1.1.22/rebased.exe'
$sha256 = '05B9F87F577F313B58BD663A709BA4AAA179F8947648936513FF17B8B02FFE31'
$file = Join-Path $env:TEMP 'rebased.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-rebased.ps1
$url = 'https://github.com/DetachHead/rebased/releases/download/1.1.22/rebased-aarch64.exe'
$sha256 = '22BBA20833AE48570CDF8197C24B9293ACA95933EB8FD300C867B3A9A85FEF26'
$file = Join-Path $env:TEMP 'rebased-aarch64.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