Python 3.7 को बिना किसी प्रॉम्प्ट के इंस्टॉल करने, फिर से हटाने और डिप्लॉयमेंट टूल से पहचानने के कमांड। कोई कमांड तभी दिखाया जाता है जब वह पक्का हो: मैनिफ़ेस्ट से, या इंस्टॉलर टेक्नोलॉजी के डॉक्यूमेंटेड डिफ़ॉल्ट से।
संबंधित गाइड: साइलेंट इंस्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री या PowerShell से प्रोग्राम अनइंस्टॉल करें
winget से
PowerShell
winget install --id Python.Python.3.7 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.7 -e --silentwinget uninstall --id Python.Python.3.7 -e --silentइंस्टॉलर के हिसाब से
64-बिट · EXE (WiX Burn) · सिर्फ़ मौजूदा यूज़र
साइलेंट इंस्टॉल
python-3.7.9-amd64.exe /quiet /norestartअनइंस्टॉल
msiexec /x {9DF6F8E6-72F4-474F-A929-37485BB7537E} /qn /norestart- MSI प्रोडक्ट कोड
- {9df6f8e6-72f4-474f-a929-37485bb7537e}
- अनइंस्टॉल रजिस्ट्री की
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9df6f8e6-72f4-474f-a929-37485bb7537e}
- UpgradeCode
- {71010FC2-A70A-5D7A-AA83-DC4282DCFE02}
- DisplayVersion
- 3.7.9150.0
64-बिट · EXE (WiX Burn) · सभी यूज़र
साइलेंट इंस्टॉल
python-3.7.9-amd64.exe /quiet /norestartअनइंस्टॉल
msiexec /x {9DF6F8E6-72F4-474F-A929-37485BB7537E} /qn /norestart- MSI प्रोडक्ट कोड
- {9df6f8e6-72f4-474f-a929-37485bb7537e}
- अनइंस्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9df6f8e6-72f4-474f-a929-37485bb7537e}
- UpgradeCode
- {71010FC2-A70A-5D7A-AA83-DC4282DCFE02}
- DisplayVersion
- 3.7.9150.0
32-बिट · EXE (WiX Burn) · सिर्फ़ मौजूदा यूज़र
साइलेंट इंस्टॉल
python-3.7.9.exe /quiet /norestartअनइंस्टॉल
msiexec /x {D0F4B802-4C35-43A7-B0B9-F1CBDB3675EC} /qn /norestart- MSI प्रोडक्ट कोड
- {d0f4b802-4c35-43a7-b0b9-f1cbdb3675ec}
- अनइंस्टॉल रजिस्ट्री की
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{d0f4b802-4c35-43a7-b0b9-f1cbdb3675ec}
- UpgradeCode
- {5C464E87-58D7-5592-B004-12ED93D23716}
- DisplayVersion
- 3.7.9150.0
32-बिट · EXE (WiX Burn) · सभी यूज़र
साइलेंट इंस्टॉल
python-3.7.9.exe /quiet /norestartअनइंस्टॉल
msiexec /x {D0F4B802-4C35-43A7-B0B9-F1CBDB3675EC} /qn /norestart- MSI प्रोडक्ट कोड
- {d0f4b802-4c35-43a7-b0b9-f1cbdb3675ec}
- अनइंस्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{d0f4b802-4c35-43a7-b0b9-f1cbdb3675ec}
- UpgradeCode
- {5C464E87-58D7-5592-B004-12ED93D23716}
- DisplayVersion
- 3.7.9150.0
PowerShell: डाउनलोड, जाँच, इंस्टॉल
आधिकारिक फ़ाइल डाउनलोड करता है, उसका SHA256 जाँचता है और उसे साइलेंट मोड में इंस्टॉल करता है।
install-python-3-7.ps1
$url = 'https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe'
$sha256 = 'E69ED52AFB5A722E5C56F6C21D594E85C17CB29F12F18BB69751CF1714E0F987'
$file = Join-Path $env:TEMP 'python-3.7.9-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-7.ps1
$url = 'https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe'
$sha256 = 'E69ED52AFB5A722E5C56F6C21D594E85C17CB29F12F18BB69751CF1714E0F987'
$file = Join-Path $env:TEMP 'python-3.7.9-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-7.ps1
$url = 'https://www.python.org/ftp/python/3.7.9/python-3.7.9.exe'
$sha256 = '769BB7C74AD1DF6D7D74071CC16A984FF6182E4016E11B8949B93DB487977220'
$file = Join-Path $env:TEMP 'python-3.7.9.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-7.ps1
$url = 'https://www.python.org/ftp/python/3.7.9/python-3.7.9.exe'
$sha256 = '769BB7C74AD1DF6D7D74071CC16A984FF6182E4016E11B8949B93DB487977220'
$file = Join-Path $env:TEMP 'python-3.7.9.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