Kommandon för att installera MaxGoWindows 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 HandheldGroup.MaxGoWindows -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HandheldGroup.MaxGoWindows -e --silentwinget uninstall --id HandheldGroup.MaxGoWindows -e --silentPer installationsfil
64-bitars · MSI · en-US
Tyst installation
msiexec /i MaxGoWindowsSetupv0.0.0.5.msi /qn /norestartSkriv en logg
msiexec /i MaxGoWindowsSetupv0.0.0.5.msi /qn /norestart /l*v "%TEMP%\maxgowindows-install.log"Avinstallation
msiexec /x {BAEE7468-37F1-4913-A04B-E52C01B6EBBA} /qn /norestart- MSI-produktkod
- {BAEE7468-37F1-4913-A04B-E52C01B6EBBA}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BAEE7468-37F1-4913-A04B-E52C01B6EBBA}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-maxgowindows.ps1
$url = 'https://download.handheldgroup.com/apps/MaxGoWindows/MaxGoWindowsSetupv0.0.0.5.msi'
$sha256 = '65B1ED1F479170C1154448E0914007634E3A25A84D7A06885813E009159A48FF'
$file = Join-Path $env:TEMP 'MaxGoWindowsSetupv0.0.0.5.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