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