Difference between revisions of "Naps2"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Minor update)
 
Line 31: Line 31:
 
<upgrade include="install" />
 
<upgrade include="install" />
  
<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\PuTTY\unins000.exe" "%PROGRAMFILES%\Naps2\unins000.exe" /sp- /verysilent /norestart' architecture="x86"/>
+
<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\Naps2\unins000.exe" "%PROGRAMFILES%\Naps2\unins000.exe" /sp- /verysilent /norestart' architecture="x86"/>
<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES(X86)%\PuTTY\unins000.exe" "%PROGRAMFILES(X86)%\Naps2\unins000.exe" /sp- /verysilent /norestart' architecture="x64" />
+
<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES(X86)%\Naps2\unins000.exe" "%PROGRAMFILES(X86)%\Naps2\unins000.exe" /sp- /verysilent /norestart' architecture="x64" />
 
   
 
   
 
   </package>
 
   </package>

Latest revision as of 17:10, 25 September 2014

NAPS2 is a document scanning application with a focus on simplicity and ease of use. Scan your documents from WIA- and TWAIN-compatible scanners, organize the pages as you like, and save them as PDF, TIFF, JPEG, PNG, and other file formats. Requires .NET Framework 4.0 or higher. You may consider including a dependency check.

<?xml version="1.0" encoding="utf-8" ?>
 
<!--                     
###############################################################################
# SCRIPT       = Naps2                                                        #
# REVISION     = 18/05/2014                                                   #
# MAINTAINER   = Vince                                                        #
# UNINSTALL    = Via uninstaller                                              #
# COMMENT      = Just modify variables                                        #
###############################################################################
-->

<packages>

  <package id="Naps2" name="Naps2" revision="%version%" reboot="false" priority="40"> 

	<variable name="version" value="2.6.3" />	
	

        <check type="uninstall" condition="exists" path="NAPS2 %version%"  />
	
  	<install cmd='%SOFTWARE%\Naps2\naps2-%version%-setup.exe /sp- /verysilent' />


	<upgrade include="install" />

	<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\Naps2\unins000.exe" "%PROGRAMFILES%\Naps2\unins000.exe" /sp- /verysilent /norestart' architecture="x86"/>
	<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES(X86)%\Naps2\unins000.exe" "%PROGRAMFILES(X86)%\Naps2\unins000.exe" /sp- /verysilent /norestart' architecture="x64" />
 
  </package>

</packages>