Kommandon för att installera FlexHEX utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Heaventools.FlexHex -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Heaventools.FlexHex -e --silentwinget uninstall --id Heaventools.FlexHex -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
FlexHex_editor_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
FlexHex_editor_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\flexhex"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FlexHEX_is1
- Installationsmapp
- %ProgramFiles%\FlexHEX
- DisplayVersion
- 2.7
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-flexhex.ps1
$url = 'https://www.heaventools.com/files/iM6JweUe7IBKC/FlexHex_editor_setup.exe'
$sha256 = 'A9BC04A7DB4126C3063A29C45E79BFD180D3FF8BFA61154CF04A594898D9E086'
$file = Join-Path $env:TEMP 'FlexHex_editor_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