Files - Preview कोणत्याही प्रॉम्प्टशिवाय इन्स्टॉल करणे, पुन्हा काढणे आणि डिप्लॉयमेंट टूलमधून ओळखणे यासाठीच्या कमांड. एखादी कमांड तेव्हाच दाखवली जाते जेव्हा ती निश्चित असते: मॅनिफेस्टमधून, किंवा इन्स्टॉलर तंत्रज्ञानाच्या दस्तऐवजीकृत डिफॉल्टमधून.
संबंधित मार्गदर्शक: सायलेंट इन्स्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री किंवा PowerShell ने प्रोग्राम अनइन्स्टॉल करा
winget ने
PowerShell
winget install --id FilesCommunity.FilesPreview -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FilesCommunity.FilesPreview -e --silentwinget uninstall --id FilesCommunity.FilesPreview -e --silentइन्स्टॉलरनुसार
64-बिट · MSIX
सायलेंट इन्स्टॉल
Add-AppxPackage -Path Files.Package_4.3.0.0_x64_arm64.msixbundleअनइन्स्टॉल
Get-AppxPackage -Name FilesPreview | Remove-AppxPackageARM64 · MSIX
सायलेंट इन्स्टॉल
Add-AppxPackage -Path Files.Package_4.3.0.0_x64_arm64.msixbundleअनइन्स्टॉल
Get-AppxPackage -Name FilesPreview | Remove-AppxPackagePowerShell: डाउनलोड, तपासणी, इन्स्टॉल
अधिकृत फाइल डाउनलोड करते, तिचा SHA256 तपासते आणि ती सायलेंट मोडमध्ये इन्स्टॉल करते.
install-files-preview.ps1
$url = 'https://cdn.files.community/files/preview/Files.Package_4.3.0.0_Test/Files.Package_4.3.0.0_x64_arm64.msixbundle'
$sha256 = 'DFA5343F22E4717CD2EAE360EDCDF4ABC25899E57DEA8F9FD1D7702C61A0E461'
$file = Join-Path $env:TEMP 'Files.Package_4.3.0.0_x64_arm64.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-files-preview.ps1
$url = 'https://cdn.files.community/files/preview/Files.Package_4.3.0.0_Test/Files.Package_4.3.0.0_x64_arm64.msixbundle'
$sha256 = 'DFA5343F22E4717CD2EAE360EDCDF4ABC25899E57DEA8F9FD1D7702C61A0E461'
$file = Join-Path $env:TEMP 'Files.Package_4.3.0.0_x64_arm64.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file