Ordres per instal·lar Rabbit Remote Control 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 KangLin.RabbitRemoteControl -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KangLin.RabbitRemoteControl -e --silentwinget uninstall --id KangLin.RabbitRemoteControl -e --silentPer instal·lador
64 bits · EXE (NSIS)
Instal·lació silenciosa
RabbitRemoteControl_v0.0.37_win64_msvc2022_64_qt6.8.1_Setup.exe /SUna altra carpeta
RabbitRemoteControl_v0.0.37_win64_msvc2022_64_qt6.8.1_Setup.exe /S /D=C:\Apps\rabbit-remote-control- Carpeta d’instal·lació
- %LocalAppData%\RabbitRemoteControl
32 bits · EXE (NSIS)
Instal·lació silenciosa
RabbitRemoteControl_v0.0.37_win32_msvc2017_qt5.12.12_Setup.exe /SUna altra carpeta
RabbitRemoteControl_v0.0.37_win32_msvc2017_qt5.12.12_Setup.exe /S /D=C:\Apps\rabbit-remote-control- Carpeta d’instal·lació
- %LocalAppData%\RabbitRemoteControl
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-rabbit-remote-control.ps1
$url = 'https://github.com/KangLin/RabbitRemoteControl/releases/download/v0.0.37/RabbitRemoteControl_v0.0.37_win64_msvc2022_64_qt6.8.1_Setup.exe'
$sha256 = '148046D5B9BB047BAA8FD74AC41D91CB8AF8C1B092F17B907B115B7C434DAACE'
$file = Join-Path $env:TEMP 'RabbitRemoteControl_v0.0.37_win64_msvc2022_64_qt6.8.1_Setup.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-rabbit-remote-control.ps1
$url = 'https://github.com/KangLin/RabbitRemoteControl/releases/download/v0.0.37/RabbitRemoteControl_v0.0.37_win32_msvc2017_qt5.12.12_Setup.exe'
$sha256 = 'A88EF0F198DD7A70EE950FAC947E1719C3102CC4C8B965DEBD7394950A50F990'
$file = Join-Path $env:TEMP 'RabbitRemoteControl_v0.0.37_win32_msvc2017_qt5.12.12_Setup.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