Polecenia do instalacji programu PingoMeter bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id JustinGrote.PingoMeter -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JustinGrote.PingoMeter -e --silentwinget uninstall --id JustinGrote.PingoMeter -e --silentWedług instalatora
ARM64 · MSI
Cicha instalacja
msiexec /i PingoMeter-1.1.0-arm64.msi /qn /norestartZapis dziennika
msiexec /i PingoMeter-1.1.0-arm64.msi /qn /norestart /l*v "%TEMP%\pingometer-install.log"Odinstalowanie
msiexec /x {80E7A100-50B0-46B1-839B-9DF4842EFF9A} /qn /norestart- Kod produktu MSI
- {80E7A100-50B0-46B1-839B-9DF4842EFF9A}
- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{80E7A100-50B0-46B1-839B-9DF4842EFF9A}
- UpgradeCode
- {50751FB3-C380-5518-9AE3-935183B7DE85}
- DisplayVersion
- 1.1.0
32-bit · MSI
Cicha instalacja
msiexec /i PingoMeter-1.1.0-x86.msi /qn /norestartZapis dziennika
msiexec /i PingoMeter-1.1.0-x86.msi /qn /norestart /l*v "%TEMP%\pingometer-install.log"Odinstalowanie
msiexec /x {0AAC0A96-2E9D-49BA-99C9-C09A26076201} /qn /norestart- Kod produktu MSI
- {0AAC0A96-2E9D-49BA-99C9-C09A26076201}
- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{0AAC0A96-2E9D-49BA-99C9-C09A26076201}
- UpgradeCode
- {50751FB3-C380-5518-9AE3-935183B7DE85}
- DisplayVersion
- 1.1.0
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-pingometer.ps1
$url = 'https://github.com/JustinGrote/PingoMeter/releases/download/v1.1.0/PingoMeter-1.1.0-arm64.msi'
$sha256 = '8F9FD271D521DED2553C2FFC2E34930C8F8321B243A9CE5210CC41120789B30A'
$file = Join-Path $env:TEMP 'PingoMeter-1.1.0-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 install-pingometer.ps1
$url = 'https://github.com/JustinGrote/PingoMeter/releases/download/v1.1.0/PingoMeter-1.1.0-x86.msi'
$sha256 = '55A26C540215BC8251686486BA6166A30302E17BC6C946DA3245B6653E993A12'
$file = Join-Path $env:TEMP 'PingoMeter-1.1.0-x86.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