Kommandoer til at installere Visual Subst uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id ntwind.VisualSubst -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ntwind.VisualSubst -e --silentwinget uninstall --id ntwind.VisualSubst -e --silentPr. installationsfil
64-bit · EXE (NSIS) · Alle brugere
Lydløs installation
VSubst_6.2-setup.exe /SEgen mappe
VSubst_6.2-setup.exe /S /D=C:\Apps\visual-subst32-bit · EXE (NSIS) · Alle brugere
Lydløs installation
VSubst_6.2-setup.exe /SEgen mappe
VSubst_6.2-setup.exe /S /D=C:\Apps\visual-substPowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-visual-subst.ps1
$url = 'https://www.ntwind.com/files/VSubst_6.2-setup.exe'
$sha256 = '23A5BFC2BEA7ADE14227F13DA7C03A6CE2FAFD542080D78387C51B535DA85E8D'
$file = Join-Path $env:TEMP 'VSubst_6.2-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-visual-subst.ps1
$url = 'https://www.ntwind.com/files/VSubst_6.2-setup.exe'
$sha256 = '23A5BFC2BEA7ADE14227F13DA7C03A6CE2FAFD542080D78387C51B535DA85E8D'
$file = Join-Path $env:TEMP 'VSubst_6.2-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