NAPS2 को बिना किसी प्रॉम्प्ट के इंस्टॉल करने, फिर से हटाने और डिप्लॉयमेंट टूल से पहचानने के कमांड। कोई कमांड तभी दिखाया जाता है जब वह पक्का हो: मैनिफ़ेस्ट से, या इंस्टॉलर टेक्नोलॉजी के डॉक्यूमेंटेड डिफ़ॉल्ट से।
संबंधित गाइड: साइलेंट इंस्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री या PowerShell से प्रोग्राम अनइंस्टॉल करें
winget से
PowerShell
winget install --id Cyanfish.NAPS2 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Cyanfish.NAPS2 -e --silentwinget uninstall --id Cyanfish.NAPS2 -e --silentइंस्टॉलर के हिसाब से
64-बिट · EXE (Inno Setup) · सभी यूज़र
साइलेंट इंस्टॉल
naps2-8.6.1-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-अपना फ़ोल्डर
naps2-8.6.1-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\naps2"- अनइंस्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NAPS2 - Not Another PDF Scanner_is1
- इंस्टॉल फ़ोल्डर
- %ProgramFiles%\NAPS2
64-बिट · MSIX
साइलेंट इंस्टॉल
Add-AppxPackage -Path naps2-8.6.1-win-x64.msixअनइंस्टॉल
Get-AppxPackage -Name NAPS2Software.NAPS2-NotAnotherPDFScanner | Remove-AppxPackage64-बिट · MSI · सभी यूज़र
साइलेंट इंस्टॉल
msiexec /i naps2-8.6.1-win-x64.msi /qn /norestartलॉग फ़ाइल लिखें
msiexec /i naps2-8.6.1-win-x64.msi /qn /norestart /l*v "%TEMP%\naps2-install.log"अनइंस्टॉल
msiexec /x {30145F95-2A07-4839-9996-0D20799E2F15} /qn /norestart- MSI प्रोडक्ट कोड
- {30145F95-2A07-4839-9996-0D20799E2F15}
- अनइंस्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{30145F95-2A07-4839-9996-0D20799E2F15}
- UpgradeCode
- {FEB82971-B3E6-4F19-9684-1D543E644D73}
- इंस्टॉल फ़ोल्डर
- %ProgramFiles%\NAPS2
ARM64 · EXE (Inno Setup) · सभी यूज़र
साइलेंट इंस्टॉल
naps2-8.6.1-win-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-अपना फ़ोल्डर
naps2-8.6.1-win-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\naps2"- अनइंस्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NAPS2 - Not Another PDF Scanner_is1
- इंस्टॉल फ़ोल्डर
- %ProgramFiles%\NAPS2
PowerShell: डाउनलोड, जाँच, इंस्टॉल
आधिकारिक फ़ाइल डाउनलोड करता है, उसका SHA256 जाँचता है और उसे साइलेंट मोड में इंस्टॉल करता है।
install-naps2.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.6.1/naps2-8.6.1-win-x64.exe'
$sha256 = '0AA5AB6797367A10E01063DEFF0E4E34C2163480038EC6570742E5CD213EE57D'
$file = Join-Path $env:TEMP 'naps2-8.6.1-win-x64.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-naps2.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.6.1/naps2-8.6.1-win-x64.msix'
$sha256 = '286C9139559CB4A7EFC3E2567C1777030E961D941569BBCF025DBA5DF7A24844'
$file = Join-Path $env:TEMP 'naps2-8.6.1-win-x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-naps2.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.6.1/naps2-8.6.1-win-x64.msi'
$sha256 = 'DB9768A748CC3DE5B21A4FBAB468DECA900EEC9ACF7B2B52A8D257DA996E9AA2'
$file = Join-Path $env:TEMP 'naps2-8.6.1-win-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-naps2.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.6.1/naps2-8.6.1-win-arm64.exe'
$sha256 = '39AFF569DBD42D23A9833A023846F060EDEC0B1CAD6639DC5B26E5B796C45A8A'
$file = Join-Path $env:TEMP 'naps2-8.6.1-win-arm64.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