K-Lite Codec Pack Basic कोणत्याही प्रॉम्प्टशिवाय इन्स्टॉल करणे, पुन्हा काढणे आणि डिप्लॉयमेंट टूलमधून ओळखणे यासाठीच्या कमांड. एखादी कमांड तेव्हाच दाखवली जाते जेव्हा ती निश्चित असते: मॅनिफेस्टमधून, किंवा इन्स्टॉलर तंत्रज्ञानाच्या दस्तऐवजीकृत डिफॉल्टमधून.
संबंधित मार्गदर्शक: सायलेंट इन्स्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री किंवा PowerShell ने प्रोग्राम अनइन्स्टॉल करा
winget ने
PowerShell
winget install --id CodecGuide.K-LiteCodecPack.Basic -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CodecGuide.K-LiteCodecPack.Basic -e --silentwinget uninstall --id CodecGuide.K-LiteCodecPack.Basic -e --silentइन्स्टॉलरनुसार
64-बिट · EXE (Inno Setup) · सर्व युजर
सायलेंट इन्स्टॉल
K-Lite_Codec_Pack_2010_Basic.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-आपला फोल्डर
K-Lite_Codec_Pack_2010_Basic.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\k-lite-codec-pack-basic"32-बिट · EXE (Inno Setup) · सर्व युजर
सायलेंट इन्स्टॉल
K-Lite_Codec_Pack_2010_Basic.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-आपला फोल्डर
K-Lite_Codec_Pack_2010_Basic.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\k-lite-codec-pack-basic"PowerShell: डाउनलोड, तपासणी, इन्स्टॉल
अधिकृत फाइल डाउनलोड करते, तिचा SHA256 तपासते आणि ती सायलेंट मोडमध्ये इन्स्टॉल करते.
install-k-lite-codec-pack-basic.ps1
$url = 'https://files2.codecguide.com/K-Lite_Codec_Pack_2010_Basic.exe'
$sha256 = '9DF9F48A175EDE3D8EDF069CEFB1E53462A92C1E0BEC786C3649B119E928A9FC'
$file = Join-Path $env:TEMP 'K-Lite_Codec_Pack_2010_Basic.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 install-k-lite-codec-pack-basic.ps1
$url = 'https://files2.codecguide.com/K-Lite_Codec_Pack_2010_Basic.exe'
$sha256 = '9DF9F48A175EDE3D8EDF069CEFB1E53462A92C1E0BEC786C3649B119E928A9FC'
$file = Join-Path $env:TEMP 'K-Lite_Codec_Pack_2010_Basic.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