Python 3.8 को बिना किसी प्रॉम्प्ट के इंस्टॉल करने, फिर से हटाने और डिप्लॉयमेंट टूल से पहचानने के कमांड। कोई कमांड तभी दिखाया जाता है जब वह पक्का हो: मैनिफ़ेस्ट से, या इंस्टॉलर टेक्नोलॉजी के डॉक्यूमेंटेड डिफ़ॉल्ट से।
संबंधित गाइड: साइलेंट इंस्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री या PowerShell से प्रोग्राम अनइंस्टॉल करें
winget से
PowerShell
winget install --id Python.Python.3.8 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.8 -e --silentwinget uninstall --id Python.Python.3.8 -e --silentइंस्टॉलर के हिसाब से
64-बिट · EXE (WiX Burn) · सिर्फ़ मौजूदा यूज़र
साइलेंट इंस्टॉल
python-3.8.10-amd64.exe /quiet /norestartअनइंस्टॉल
msiexec /x {E9CD241B-9125-4624-9625-FF42D2F3647F} /qn /norestart- MSI प्रोडक्ट कोड
- {e9cd241b-9125-4624-9625-ff42d2f3647f}
- अनइंस्टॉल रजिस्ट्री की
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e9cd241b-9125-4624-9625-ff42d2f3647f}
- UpgradeCode
- {6D2E28EF-5AEA-5A3E-B7B4-7E3B246D9DA8}
- DisplayVersion
- 3.8.10150.0
64-बिट · EXE (WiX Burn) · सभी यूज़र
साइलेंट इंस्टॉल
python-3.8.10-amd64.exe /quiet /norestartअनइंस्टॉल
msiexec /x {E9CD241B-9125-4624-9625-FF42D2F3647F} /qn /norestart- MSI प्रोडक्ट कोड
- {e9cd241b-9125-4624-9625-ff42d2f3647f}
- अनइंस्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e9cd241b-9125-4624-9625-ff42d2f3647f}
- UpgradeCode
- {6D2E28EF-5AEA-5A3E-B7B4-7E3B246D9DA8}
- DisplayVersion
- 3.8.10150.0
32-बिट · EXE (WiX Burn) · सिर्फ़ मौजूदा यूज़र
साइलेंट इंस्टॉल
python-3.8.10.exe /quiet /norestartअनइंस्टॉल
msiexec /x {85379532-0003-4517-8FC4-6227B410C30C} /qn /norestart- MSI प्रोडक्ट कोड
- {85379532-0003-4517-8fc4-6227b410c30c}
- अनइंस्टॉल रजिस्ट्री की
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{85379532-0003-4517-8fc4-6227b410c30c}
- UpgradeCode
- {7F7CEC53-74A3-5306-8929-AAEFBED71FF3}
- DisplayVersion
- 3.8.10150.0
32-बिट · EXE (WiX Burn) · सभी यूज़र
साइलेंट इंस्टॉल
python-3.8.10.exe /quiet /norestartअनइंस्टॉल
msiexec /x {85379532-0003-4517-8FC4-6227B410C30C} /qn /norestart- MSI प्रोडक्ट कोड
- {85379532-0003-4517-8fc4-6227b410c30c}
- अनइंस्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{85379532-0003-4517-8fc4-6227b410c30c}
- UpgradeCode
- {7F7CEC53-74A3-5306-8929-AAEFBED71FF3}
- DisplayVersion
- 3.8.10150.0
PowerShell: डाउनलोड, जाँच, इंस्टॉल
आधिकारिक फ़ाइल डाउनलोड करता है, उसका SHA256 जाँचता है और उसे साइलेंट मोड में इंस्टॉल करता है।
install-python-3-8.ps1
$url = 'https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe'
$sha256 = '7628244CB53408B50639D2C1287C659F4E29D3DFDB9084B11AED5870C0C6A48A'
$file = Join-Path $env:TEMP 'python-3.8.10-amd64.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 '/quiet /norestart' -Wait install-python-3-8.ps1
$url = 'https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe'
$sha256 = '7628244CB53408B50639D2C1287C659F4E29D3DFDB9084B11AED5870C0C6A48A'
$file = Join-Path $env:TEMP 'python-3.8.10-amd64.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 '/quiet /norestart' -Wait install-python-3-8.ps1
$url = 'https://www.python.org/ftp/python/3.8.10/python-3.8.10.exe'
$sha256 = 'AD07633A1F0CD795F3BF9DA33729F662281DF196B4567FA795829F3BB38A30AC'
$file = Join-Path $env:TEMP 'python-3.8.10.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 '/quiet /norestart' -Wait install-python-3-8.ps1
$url = 'https://www.python.org/ftp/python/3.8.10/python-3.8.10.exe'
$sha256 = 'AD07633A1F0CD795F3BF9DA33729F662281DF196B4567FA795829F3BB38A30AC'
$file = Join-Path $env:TEMP 'python-3.8.10.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 '/quiet /norestart' -Wait