PingYi कोणत्याही प्रॉम्प्टशिवाय इन्स्टॉल करणे, पुन्हा काढणे आणि डिप्लॉयमेंट टूलमधून ओळखणे यासाठीच्या कमांड. एखादी कमांड तेव्हाच दाखवली जाते जेव्हा ती निश्चित असते: मॅनिफेस्टमधून, किंवा इन्स्टॉलर तंत्रज्ञानाच्या दस्तऐवजीकृत डिफॉल्टमधून.
संबंधित मार्गदर्शक: सायलेंट इन्स्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री किंवा PowerShell ने प्रोग्राम अनइन्स्टॉल करा
winget ने
PowerShell
winget install --id Qingshihuan.PingYi -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Qingshihuan.PingYi -e --silentwinget uninstall --id Qingshihuan.PingYi -e --silentइन्स्टॉलरनुसार
64-बिट · EXE (Inno Setup) · सर्व युजर
सायलेंट इन्स्टॉल
PingYi-0.3.0-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-आपला फोल्डर
PingYi-0.3.0-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pingyi"- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CB72A4A2-277B-4763-9AC2-DF0B17107579}_is1
PowerShell: डाउनलोड, तपासणी, इन्स्टॉल
अधिकृत फाइल डाउनलोड करते, तिचा SHA256 तपासते आणि ती सायलेंट मोडमध्ये इन्स्टॉल करते.
install-pingyi.ps1
$url = 'https://github.com/qingshihuan/pingyi/releases/download/v0.3.0/PingYi-0.3.0-win-x64-setup.exe'
$sha256 = '5266DB16C9C502278C58959B7F4C314873BCF10153ED3A6A4AA27D378036289C'
$file = Join-Path $env:TEMP 'PingYi-0.3.0-win-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait