Difference between revisions of "SaneTwain"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
 
Line 33: Line 33:
 
* accept the settings, try if scanning works - if everything is OK, exit the program
 
* accept the settings, try if scanning works - if everything is OK, exit the program
 
* copy sanetwain.ini from %SYSTEMROOT%\
 
* copy sanetwain.ini from %SYSTEMROOT%\
* create a shortcut to ScanImage.exe network location
+
* create a shortcut (ScanImage.lnk) to ScanImage.exe network location
 +
* copy ScanImage.lnk and sanetwain.ini to %SOFTWARE%\scanimage\
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Latest revision as of 16:42, 28 October 2008

This is a silent installer for SaneTwain.

SaneTwain is a SANE to TWAIN bridge.


It can be installed locally on the workstation or it can be started directly from the server. If you want to start directly from the server, you only need to copy two files to your workstations: icon (ScanImage.lnk, pointing to ScanImage.exe network location) and sanetwain.ini, containing the settings:

 
<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
     id="scanimage"
     name="scanimage settings"
     revision="1"
     execute="once">

 <install cmd='cmd /C copy "%SOFTWARE%\scanimage\sanetwain.ini" "%SYSTEMROOT%\" /Y' />
 <install cmd='cmd /C copy "%SOFTWARE%\scanimage\ScanImage.lnk" "%ALLUSERSPROFILE%\Desktop\" /Y' />

 <upgrade cmd='cmd /C copy "%SOFTWARE%\scanimage\sanetwain.ini" "%SYSTEMROOT%\" /Y' />
 <upgrade cmd='cmd /C copy "%SOFTWARE%\scanimage\ScanImage.lnk" "%ALLUSERSPROFILE%\Desktop\" /Y' />

</package>

</packages>

Preparation:

  • download ZIP package from SaneTwain website and unpack it to a network location
  • start ScanImage.exe on one machine and prepare the settings accordingly (hostname, language settings, DPI etc.)
  • accept the settings, try if scanning works - if everything is OK, exit the program
  • copy sanetwain.ini from %SYSTEMROOT%\
  • create a shortcut (ScanImage.lnk) to ScanImage.exe network location
  • copy ScanImage.lnk and sanetwain.ini to %SOFTWARE%\scanimage\