Ordres per instal·lar XRECODE 3 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 XRECODE.XRECODE3 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id XRECODE.XRECODE3 -e --silentwinget uninstall --id XRECODE.XRECODE3 -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
setup_xrecode3_win_64bit_1.192.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
setup_xrecode3_win_64bit_1.192.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\xrecode-3"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0870F25F-0A0A-4614-A1AD-7477C248502E}_is1
- Carpeta d’instal·lació
- %ProgramFiles%\xrecode3
32 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
setup_xrecode3_win_32bit_1.192.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
setup_xrecode3_win_32bit_1.192.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\xrecode-3"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9E725299-47B7-4B43-8233-37DD430932E4}_is1
- Carpeta d’instal·lació
- %ProgramFiles%\xrecode3
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-xrecode-3.ps1
$url = 'https://xrecode.com/download/setup_xrecode3_win_64bit_1.192.exe'
$sha256 = '8B3DB4CA8B51F9B3F92524209D31FA60F7BB2D96A14AF9180E563DAE0B62606A'
$file = Join-Path $env:TEMP 'setup_xrecode3_win_64bit_1.192.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-xrecode-3.ps1
$url = 'https://xrecode.com/download/setup_xrecode3_win_32bit_1.192.exe'
$sha256 = '755F9BE4D0F1D44AE5954EBB0CCBD2588E5ADD8EC5145D003764D905F5974B90'
$file = Join-Path $env:TEMP 'setup_xrecode3_win_32bit_1.192.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait