Kommandon för att installera Deskflow 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 Deskflow.Deskflow -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Deskflow.Deskflow -e --silentwinget uninstall --id Deskflow.Deskflow -e --silentPer installationsfil
64-bitars · MSI · Alla användare · en-US
Tyst installation
msiexec /i deskflow-1.27.0-win-x64.msi /qn /norestartSkriv en logg
msiexec /i deskflow-1.27.0-win-x64.msi /qn /norestart /l*v "%TEMP%\deskflow-install.log"Avinstallation
msiexec /x {9E3B2247-66B4-47B2-8C65-986CC86ADEA6} /qn /norestart- MSI-produktkod
- {9E3B2247-66B4-47B2-8C65-986CC86ADEA6}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9E3B2247-66B4-47B2-8C65-986CC86ADEA6}
- UpgradeCode
- {027D1C8A-E7A5-4754-BB93-B2D45BFDBDC8}
- Installationsmapp
- %ProgramFiles%/./Deskflow
ARM64 · MSI · Alla användare · en-US
Tyst installation
msiexec /i deskflow-1.27.0-win-arm64.msi /qn /norestartSkriv en logg
msiexec /i deskflow-1.27.0-win-arm64.msi /qn /norestart /l*v "%TEMP%\deskflow-install.log"Avinstallation
msiexec /x {C281A69C-6199-4478-B22A-F3A2EE6796D2} /qn /norestart- MSI-produktkod
- {C281A69C-6199-4478-B22A-F3A2EE6796D2}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C281A69C-6199-4478-B22A-F3A2EE6796D2}
- UpgradeCode
- {027D1C8A-E7A5-4754-BB93-B2D45BFDBDC8}
- Installationsmapp
- %ProgramFiles%/./Deskflow
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-deskflow.ps1
$url = 'https://github.com/deskflow/deskflow/releases/download/v1.27.0/deskflow-1.27.0-win-x64.msi'
$sha256 = '0CA5668C4731F5477D0B189BDB11196A2CA51281985D9D8C0757BF7F3B782D64'
$file = Join-Path $env:TEMP 'deskflow-1.27.0-win-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-deskflow.ps1
$url = 'https://github.com/deskflow/deskflow/releases/download/v1.27.0/deskflow-1.27.0-win-arm64.msi'
$sha256 = '7A8632193D8FB4814BD93526995B209AFBBB9F293468CFC50CA1BDDAA3CB752B'
$file = Join-Path $env:TEMP 'deskflow-1.27.0-win-arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait