Nwscangear

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

These are silent installer entries for Canon Network Scangear, a Twain scaner driver. More infos from here.

First you need to create a couple of answer files, one each for install and uninstall.

Run "Setup.exe /r" to create Setup.iss (created in windows directory). Copy this to %SOFTWARE%\nwsg\setup.iss

Next run "C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe /M{BBE3E502-F1D6-4FC9-9844-CC0850B7C516} /r UNINSTALL"

This time copy setup.iss to %SOFTWARE%\nwsg\unsetup.iss

<package
  id="nwscangear"
  name="Canon Network Scangear"
  revision="1"
  reboot="false"
  priority="5">
  <check type="uninstall" condition="exists" path="Network ScanGear Ver.2.21" />
  <install cmd='%SOFTWARE%\nwsg\setup.exe /S /v/qn' />
  <upgrade cmd='' />
  <remove cmd='C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe /M{BBE3E502-F1D6-4FC9-9844-CC0850B7C516} /s
 /f1"%SOFTWARE%"\nwsg\unsetup.iss UNINSTALL' />
</package>