Ordres per instal·lar TagScanner 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 SergeySerkov.TagScanner -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SergeySerkov.TagScanner -e --silentwinget uninstall --id SergeySerkov.TagScanner -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
tagscan-6.1.20_x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
tagscan-6.1.20_x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\tagscanner"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TagScanner_is1
- Carpeta d’instal·lació
- %ProgramFiles%\TagScanner
32 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
tagscan-6.1.20-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
tagscan-6.1.20-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\tagscanner"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\TagScanner_is1
- Carpeta d’instal·lació
- %ProgramFiles%\TagScanner
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-tagscanner.ps1
$url = 'https://www.xdlab.ru/files/tagscan-6.1.20_x64-setup.exe'
$sha256 = '1B0F928A6EEA7E1F3233BBE35D1B80E3B82B326A806E757D46F8C4F971FEFB24'
$file = Join-Path $env:TEMP 'tagscan-6.1.20_x64-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-tagscanner.ps1
$url = 'https://www.xdlab.ru/files/tagscan-6.1.20-setup.exe'
$sha256 = '009862AEC27F150A3D4F9377935EA48BA14D7EEAECC391BDE625AE484B6BFD90'
$file = Join-Path $env:TEMP 'tagscan-6.1.20-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait