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.0-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-आपला फोल्डर
naps2-8.6.0-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.0-win-x64.msixअनइन्स्टॉल
Get-AppxPackage -Name NAPS2Software.NAPS2-NotAnotherPDFScanner | Remove-AppxPackage64-बिट · MSI · सर्व युजर
सायलेंट इन्स्टॉल
msiexec /i naps2-8.6.0-win-x64.msi /qn /norestartलॉग फाइल लिहा
msiexec /i naps2-8.6.0-win-x64.msi /qn /norestart /l*v "%TEMP%\naps2-install.log"अनइन्स्टॉल
msiexec /x {507191D7-79F9-4754-93B6-754ECC2BB6CA} /qn /norestart- MSI प्रॉडक्ट कोड
- {507191D7-79F9-4754-93B6-754ECC2BB6CA}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{507191D7-79F9-4754-93B6-754ECC2BB6CA}
- UpgradeCode
- {FEB82971-B3E6-4F19-9684-1D543E644D73}
- इन्स्टॉल फोल्डर
- %ProgramFiles%\NAPS2
ARM64 · EXE (Inno Setup) · सर्व युजर
सायलेंट इन्स्टॉल
naps2-8.6.0-win-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-आपला फोल्डर
naps2-8.6.0-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.0/naps2-8.6.0-win-x64.exe'
$sha256 = '684E26D2145BCEAB5199971B8620DD715CBEB824ECDC080FE122912B1486DA22'
$file = Join-Path $env:TEMP 'naps2-8.6.0-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.0/naps2-8.6.0-win-x64.msix'
$sha256 = 'BD0275244BFBC6D16144F9EA5916E41BA050C5EC6027E1E093C2210D544282A1'
$file = Join-Path $env:TEMP 'naps2-8.6.0-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.0/naps2-8.6.0-win-x64.msi'
$sha256 = '37CA3798BFD414AA2D101D64F1F249A05CC6A1710A7F5B90BFE7303EF3537F26'
$file = Join-Path $env:TEMP 'naps2-8.6.0-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.0/naps2-8.6.0-win-arm64.exe'
$sha256 = 'B646A4D85A4D59208F21466A0CED4DE29663F852F87462921265C67813F98A5B'
$file = Join-Path $env:TEMP 'naps2-8.6.0-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