Prometheus ਨੂੰ ਬਿਨਾਂ ਕਿਸੇ ਸਵਾਲ ਦੇ ਇੰਸਟਾਲ ਕਰਨ, ਦੁਬਾਰਾ ਹਟਾਉਣ ਅਤੇ ਡਿਪਲੌਇਮੈਂਟ ਟੂਲਾਂ ਨਾਲ ਪਛਾਣਨ ਦੀਆਂ ਕਮਾਂਡਾਂ। ਕੋਈ ਕਮਾਂਡ ਤਾਂ ਹੀ ਦਿਖਾਈ ਜਾਂਦੀ ਹੈ ਜੇ ਉਹ ਪੱਕੀ ਹੋਵੇ: ਮੈਨੀਫ਼ੈਸਟ ਤੋਂ, ਜਾਂ ਇੰਸਟਾਲਰ ਤਕਨੀਕ ਦੇ ਦਰਜ ਡਿਫ਼ੌਲਟ ਤੋਂ।
ਸੰਬੰਧਿਤ ਗਾਈਡ: ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ ਸਵਿੱਚ: MSI, NSIS, Inno Setup · ਰਜਿਸਟਰੀ ਜਾਂ PowerShell ਨਾਲ ਪ੍ਰੋਗਰਾਮ ਅਣਇੰਸਟਾਲ ਕਰੋ
winget ਨਾਲ
PowerShell
winget install --id Mouseww.Prometheus -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mouseww.Prometheus -e --silentwinget uninstall --id Mouseww.Prometheus -e --silentਹਰ ਇੰਸਟਾਲਰ ਮੁਤਾਬਕ
64-ਬਿੱਟ · EXE (NSIS) · ਸਿਰਫ਼ ਮੌਜੂਦਾ ਯੂਜ਼ਰ
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
Prometheus_0.31.0_x64-setup.exe /Sਆਪਣਾ ਫ਼ੋਲਡਰ
Prometheus_0.31.0_x64-setup.exe /S /D=C:\Apps\prometheus- ਅਣਇੰਸਟਾਲ ਰਜਿਸਟਰੀ ਕੀ
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Prometheus
- ਇੰਸਟਾਲ ਫ਼ੋਲਡਰ
- %LocalAppData%\Prometheus
64-ਬਿੱਟ · MSI · ਸਾਰੇ ਯੂਜ਼ਰ
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
msiexec /i Prometheus_0.31.0_x64_en-US.msi /qn /norestartਲੌਗ ਫ਼ਾਈਲ ਲਿਖੋ
msiexec /i Prometheus_0.31.0_x64_en-US.msi /qn /norestart /l*v "%TEMP%\prometheus-install.log"ਅਣਇੰਸਟਾਲ
msiexec /x {22C0F3B7-EB01-4FBA-8C83-52ED828515B4} /qn /norestart- MSI ਪ੍ਰੋਡਕਟ ਕੋਡ
- {22C0F3B7-EB01-4FBA-8C83-52ED828515B4}
- ਅਣਇੰਸਟਾਲ ਰਜਿਸਟਰੀ ਕੀ
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22C0F3B7-EB01-4FBA-8C83-52ED828515B4}
- UpgradeCode
- {585FD20A-B31F-5AE5-AA54-FF9804385120}
- ਇੰਸਟਾਲ ਫ਼ੋਲਡਰ
- %ProgramFiles%\Prometheus
PowerShell: ਡਾਊਨਲੋਡ, ਜਾਂਚ, ਇੰਸਟਾਲ
ਅਧਿਕਾਰਤ ਫ਼ਾਈਲ ਡਾਊਨਲੋਡ ਕਰਦੀ ਹੈ, ਉਸ ਦਾ SHA256 ਜਾਂਚਦੀ ਹੈ ਅਤੇ ਉਸ ਨੂੰ ਸਾਈਲੈਂਟ ਮੋਡ ਵਿੱਚ ਇੰਸਟਾਲ ਕਰਦੀ ਹੈ।
install-prometheus.ps1
$url = 'https://github.com/Mouseww/Prometheus/releases/download/v0.31.0/Prometheus_0.31.0_x64-setup.exe'
$sha256 = 'D6C9A29A787EE82B105E65B7881E05CF51F3DB28073744887D2BFEBDE8A086A2'
$file = Join-Path $env:TEMP 'Prometheus_0.31.0_x64-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-prometheus.ps1
$url = 'https://github.com/Mouseww/Prometheus/releases/download/v0.31.0/Prometheus_0.31.0_x64_en-US.msi'
$sha256 = 'BE39203D100928D0D35947AC6F60B0DAF1C826B562D87B6A9BB330472189D1EF'
$file = Join-Path $env:TEMP 'Prometheus_0.31.0_x64_en-US.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