Ordres per instal·lar Free Code Signer 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 REDZION.FreeCodeSigner -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id REDZION.FreeCodeSigner -e --silentwinget uninstall --id REDZION.FreeCodeSigner -e --silentPer instal·lador
64 bits · EXE · Tots els usuaris
Instal·lació silenciosa
FreeCodeSigner-Setup-1.7.1-x64.exe /exenoui /qn /norestartPowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-free-code-signer.ps1
$url = 'https://github.com/varnaPot/FreeCodeSigner/releases/download/v1.7.1/FreeCodeSigner-Setup-1.7.1-x64.exe'
$sha256 = 'E9A7BF7B0F38C5627934336F5176E27ABF92E1CB7C496FD0095A0232E510A668'
$file = Join-Path $env:TEMP 'FreeCodeSigner-Setup-1.7.1-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 '/exenoui /qn /norestart' -Wait